You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Install kubectl

> brew install kubectl


Enabling shell autocompletion

> brew install bash-completion

> kubectl completion bash > $(brew --prefix)/etc/bash_completion.d/kubectl


Install Minikube

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.


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
startStart minikube cluster
stopStop minikube cluster
statusGet 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'

helpDisplay help


References

  • No labels