Install kubectl
> brew install kubectl
Enabling shell autocompletion
> brew install bash-completion
> kubectl completion bash > $(brew --prefix)/etc/bash_completion.d/kubectl
Minikube
Install Minikube
Excerpt Include
Install minikube
> curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.26.1/minikube-darwin-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/
Start minikube
> minikube start
Other commands:
Command (minikube <command> | Description |
---|---|
start | Start minikube cluster |
stop | Stop minikube cluster |
status | Get status of minikube |
dashboard | Opens/displays the kubernetes dashboard URL for your local cluster |
ssh | Log into or run a command on a machine with SSH; similar to 'docker-machine ssh' |
help | Display help |
References
Reference | URL |
---|---|
Installing Kubernetes | https://kubernetes.io/docs/tasks/tools/install-kubectl/ |
minikube | https://github.com/kubernetes/minikube/releases |
Getting started with Minikube | https://kubernetes.io/docs/getting-started-guides/minikube/#installation |