kuberneteskubectl

How can I view the config details of the current context in kubectl?


I'd like to see the 'config' details as shown by the command of:

kubectl config view

However this shows the entire config details of all contexts, how can I filter it (or perhaps there is another command), to view the config details of the CURRENT context?


Solution

  • kubectl config view --minify displays only the current context