I often need useful Kubernetes utilties and aliases installed into a node. The install.sh
script will setup some commands, scripts, and a PS1 via ~/.k8s-dotfiles/
. Sourcing the rc file will be added to ~/.bashrc
. Note that this will reset your shell prompt.
Run these commands.
git clone https://github.com/ccollicutt/k8s-dotfiles
cd k8s-dotfiles
./install.sh
source ~/.bashrc
At this point your shell should be configured by k8s-dotfiles
and you can remove the repository.
rm -rf k8s-dotfiles
Build the image:
./build-docker-images.sh
It will output a docker run command to use the docker image just built to mount ~/.kube into the container and have the utilities available without having to install it locally. Or you could use this to test it out.
- Edit ~/.bashrc and remove the source line
rm -rf ~/.k8s-dotfiles
See testing readme.
- Self updating
- version script
- version ps1 download
- don't use raw github for deploying (300 second update)