kube-fzf
kube-fzf copied to clipboard
Replace the kube-fzf process with kubectl process using 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 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.
Can you provide an example of where to use exec
?