Enable "Kubectl" auto-completion in the Shell (Linux)

When you’ve done the SDK installation in your Linux workstation. list the components you have installed, then you will see the full list additional components from gcp SDK: gcloud components list gcloud components install <COMPONENT_ID> gcloud components install kubectl Then follow the instruction from the kubernetes official documentation, check the “bash-completion” and finally issue the command below: echo "source <(kubectl completion bash)" >> ~/.bashrc Even you can go directly through your ....

2018-11-25