Minikube, kubectl 설치

2139 단어 kubernetes
Minikube is a tool that makes it easy to run Kubernetes locally. Minikube runs a single-node Kubernetes cluster inside a VM on your laptop for users looking to try out Kubernetes or develop with it day-to-day.
minikube 설치curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/
kubectl 설치
curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
chmod +x ./kubectl
sudo mv ./kubectl /usr/local/bin/kubectl

가상 머신을 설치합니다. 여기에 설치된 것은virtualbox입니다. 참고:http://blog.csdn.net/guizaijianchic/article/details/77841535
> sudo minikube start --vm-driver=virtualbox       
Starting local Kubernetes v1.7.0 cluster...  
Starting VM...  
Getting VM IP address...  
Moving files into cluster...  
Setting up certs...  
Starting cluster components...  
Connecting to cluster...  
Setting up kubeconfig...  
Kubectl is now configured to use the cluster.  

from: https://kubernetes.io/docs/tasks/tools/install-kubectl/ https://github.com/kubernetes/minikube

좋은 웹페이지 즐겨찾기