Refactor /etc/bashrc commands into /etc/profile.d/k8s.sh