How does kubernetes set the default namespace

2/27/2020

Every time I execute a command, I take a parameter -n XXX. If I don't use the -n parameter, it use the default namespace "default". Is there any way to specify the default namespace I need without adding -n XXX when i execute the command?

-- Esc
kubernetes

0 Answers