diff --git a/site/content/en/docs/handbook/kubectl.md b/site/content/en/docs/handbook/kubectl.md index 21532287d3..24cab2ff66 100644 --- a/site/content/en/docs/handbook/kubectl.md +++ b/site/content/en/docs/handbook/kubectl.md @@ -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 -- ` @@ -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`.