Skip to content

taekou/CKA-Practice

 
 

Repository files navigation

CKA-Practice

Prepare for the Certified Kubernetes Administrators Certification

Kubectl Autocomplete

BASH
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.

You can also use a shorthand alias for kubectl that also works with completion:

alias k=kubectl
complete -F __start_kubectl k

Contents

About

Prepare for the Certified Kubernetes Administrators Certification

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published