Keep a container running on Kubernetes
This is just an example about how to keep running a pod without exit, this helps to do troubleshooting or test, this approach is not good to use in other cases.
Kubectl autocompletion in MacOS
MacOS comes with a really old bash version. Check the version from the environment variable..
$ echo $BASH_VERSION 3.2.57(1)-release
We can install a newer version of bash via Homebrew package manager, get Homebrew from here https://brew.sh.