KEMBAR78
GitHub - Sharmio/kubectl-aliases-list: Kubectl aliases list for daily use!
Skip to content

Sharmio/kubectl-aliases-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

kubectl-aliases-list [Under Development]

This repository contains a complete list of commonly used kubectl commands and flags.

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

ZSH

source <(kubectl completion zsh)  # setup autocomplete in zsh into the current shell
echo "[[ $commands[kubectl] ]] && source <(kubectl completion zsh)" >> ~/.zshrc # add autocomplete permanently to your zsh shell

Creating Objects

Create a resource from a file or from stdin. (JSON and YAML formats are accepted.)

About

Kubectl aliases list for daily use!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published