Open aswinkarthik opened 4 years ago
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.
exec
kubectl
Can you provide an example of where to use exec?
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 thekubectl
command that is being run at the end. This means in ps only the kubectl command is listed and the shell command is not.