Saturday, 29 January 2022

KUBERNETES - How to enable autocompletion Kubernetes commands

In order to perform autocompletion of Kubernetes commands




  • First check the shell - echo $SHELL




  • Install the package:-  apt-get install bash-completion 

Now try typing the command kubectl and press tab, it will auto-complete.


Recommended Books:-


Mastering Kubernetes: Level up your container orchestration skills with Kubernetes to build, run, secure, and observe large-scale distributed apps, 3rd Edition Paperback







 

No comments:

Post a Comment