This can be used if you want to make the apiserver available from outside the machine apiserver-name='minikubeCA': The apiserver name which is used in the generated certificate for kubernetes. apiserver-ips=: A set of apiserver IP Addresses which are used in the generated certificate for kubernetes. go files are named the same as the configuration parameter which makes it easier for identifying the relevant code.
#Golang docker hyperkit code#
The source code for the configurations outlined above can be found inside cmd/minikube/cmd directory. Update-check Print current and latest version numberĬompletion Outputs minikube shell completion for the given shell (bash or zsh) Logs Gets the logs of the running instance, used for debugging minikube, not user code. Ip Retrieves the IP address of the running cluster Ssh-key Retrieve the ssh identity key path of the specified cluster Ssh Log into or run a command on a machine with SSH similar to 'docker-machine ssh' Mount Mounts the specified directory into minikube Tunnel tunnel makes services of type LoadBalancer accessible on localhost Service Gets the kubernetes URL(s) for the specified service in your local cluster Update-context Verify the IP address of the running cluster in kubeconfig.
![golang docker hyperkit golang docker hyperkit](https://miro.medium.com/max/1838/1*zSsUMwbs0LavEWnU9Fw9fA.png)
![golang docker hyperkit golang docker hyperkit](https://res.cloudinary.com/practicaldev/image/fetch/s--LaVwo30P--/c_imagga_scale,f_auto,fl_progressive,h_420,q_auto,w_1000/https://dev-to-uploads.s3.amazonaws.com/i/21eqhaityfx4lop5vof2.png)
Profile Profile gets or sets the current minikube profile Stop Stops a running local kubernetes clusterĭelete Deletes a local kubernetes clusterĭashboard Access the kubernetes dashboard running within the minikube clusterĭocker-env Sets up docker env variables similar to '$(docker-machine env)'Ĭache Add or delete an image from the local cache.Īddons Modify minikube's kubernetes addons Status Gets the status of a local kubernetes cluster