Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

K8S Auto complate

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.
Source by kubernetes.io #
 
PREVIOUS NEXT
Tagged: #Auto #complate
ADD COMMENT
Topic
Name
9+1 =