Anish Nagaraj:
Hi. In my last exam I used the following command to install kubectl autocomplete. Even then it did not work. Has anybody experienced the same.?
source <(kubectl completion bash) # setup autocomplete in bash into the current shell, bash-completion package should be installed first.
echo "source <(kubectl completion bash)" >> ~/.bashrc # add autocomplete permanently to your bash shell.