If in k8s setup you are seeing ‘completion: function `__start_kubectl’ not found’

Then follow this instruction, which essentially as a new version of bash and enable it in /etc/shells and uses chsh to change the user’s shell