This bash function provides an extra failsafe that may help prevent you from accidentally running kubectl
commands in the wrong context (or in
contexts which could cause issues, such as shared or even production clusters).
Running kubectl
in prod
on accident: