This is a request for opinion.
Instead of invoking kubectl commands inside the shell script, can we do an exec so that the process is replaced with the kubectl command that is being run at the end. This means in ps only the kubectl command is listed and the shell command is not.