Document minikube kubectl autocompletion
Fixes https://github.com/kubernetes/minikube/issues/9603pull/9657/head
parent
16f9b261da
commit
538170ab0b
|
@ -10,8 +10,7 @@ aliases:
|
|||
By default, [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/) gets configured to access the kubernetes cluster control plane
|
||||
inside minikube when the `minikube start` command is executed.
|
||||
|
||||
However if `kubectl` is not installed locally, kubectl can be used inside the minikube
|
||||
as well.
|
||||
However if `kubectl` is not installed locally, minikube already includes kubectl which can be used like this:
|
||||
|
||||
`minikube kubectl -- <kubectl commands>`
|
||||
|
||||
|
@ -36,3 +35,8 @@ Exposing the deployment with a NodePort service
|
|||
For more help
|
||||
|
||||
`minikube kubectl -- --help`
|
||||
|
||||
### Shell autocompletion
|
||||
|
||||
After applying the alias or the symbolic link you can follow https://kubernetes.io/docs/tasks/tools/install-kubectl/#enabling-shell-autocompletion to enable shell-autocompletion.
|
||||
When using zsh and the alias approach you also have to execute `setopt complete_aliases`.
|
||||
|
|
Loading…
Reference in New Issue