Over the past year, I’ve leveraged quite a bevy of Kubernetes-related technologies, and provided quick links and descriptions below. These are more for my own use than anyone, however maybe they will help other DevOps Engineers find resources to help them learn this amazing new technology.
Kubespray configures and privisions Kubernetes nodes in a master/worker array, using Ansible.
Bare metal LoadBalancer service, used in the homelab 4-node RPi (ARM) cluster.
Easily switch between contexts (kubectx) and namespaces (kubens) when using kubectl.
One of the best bash PS1s (user prompts) that I’ve seen yet, displaying the context and namespace, right there in front of you in a nice easy-to-read format. I combined this with git-prompt, so that I can quickly see the Kubernetes context/namespace along with the current git branch:
source ~/bin/.git-prompt.sh source ~/bin/.kube-ps1.sh PS1='\[\033[32m\]\u \[\033[00m\]$(kube_ps1)$(__git_ps1)\[\033[00m\] \[\033[34m\]\w\[\033[31m\] \[\033[00m\]\$ '