nmnellis / k8s-misc

Notes from miscellaneous K8s learning experiences

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

K8s miscellaneous

Notes from miscellaneous Kubernetes learning experiences.

NOTE: This is strictly WIP documentation from my personal experience, if you are following this, creating resources on public cloud, please be mindful of resource utilization and please clean up after testing to avoid unnecessary bills.

Useful shortcuts & tools

# setup autocomplete in bash into the current shell, bash-completion package should be installed first.
source <(kubectl completion bash)
# add autocomplete permanently to your bash shell.
echo "source <(kubectl completion bash)" >> ~/.bashrc
alias k=kubectl
complete -F __start_kubectl k
# for Mac -
brew install derailed/k9s/k9s

# For Ubuntu, other Linux distros - 
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
brew doctor
brew install derailed/k9s/k9s

# For Windows
choco install k9s

Navigation links

About

Notes from miscellaneous K8s learning experiences

License:MIT License