If you want kubectl to behave like a base shell - tab completion of the command (press the tab twice), add following lines on user's .profile/.bash_profile
$ echo "source <(kubectl completion bash)" >> ~/.bashrc
$ echo "source <(kubectl completion bash)" >> ~/.bashrc
No comments:
Post a Comment