Learning kubernetes - 1
kdeng opened this issue · comments
Kefeng Deng commented
About Minikube
All details about minikube is here.
# start a minikube cluster without proxy
minikube start --vm-driver=hyperkit
--vm-driver=hyperkit
means that you are using docker for Mac. The default VM driver is VirtualBox.
If there is an installed VirtualBox, you could ignore --vm-driver flag.
# start a minikube cluster with proxy
minikube start --vm-driver=hyperkit --docker-env HTTP_PROXY=http://your-http-proxy-host:your-http-proxy-port
You can use --docker-env HTTPS_PROXY=https://your-http-proxy-host:your-http-proxy-port
if necessary.
minikube dashboard
To use the docker host as the Minikube VM, you can run:
# enable minikube docker daemon
eval $(minikube docker-env)
# disable minikube docker daemon
eval $(minikube docker-env -u)
Refer to here