diff --git a/content/en/docs/tasks/tools/install-kubectl.md b/content/en/docs/tasks/tools/install-kubectl.md index bb5ad89868..c0e5eb3704 100644 --- a/content/en/docs/tasks/tools/install-kubectl.md +++ b/content/en/docs/tasks/tools/install-kubectl.md @@ -217,6 +217,11 @@ The completion script itself is generated by kubectl, so you typically just need Common examples are provided here. For more details, consult `kubectl completion -h`. ### On Linux, using bash +On CentOS Linux, you may need to install the bash-completion package which is not installed by default. + +```shell +yum install bash-completion -y +``` To add kubectl autocompletion to your current shell, run `source <(kubectl completion bash)`.