How to share .kube/config?

12/14/2015

There are multiple admins who accesses k8s clusters. What is the recommended way to share the config file?

I know,

kubectl config view --minify

but certification part is REDACTED by this command.

-- Naoyoshi Aikawa
kubernetes

1 Answer

12/14/2015

You can add the --flatten flag, which is described in the document to "flatten the resulting kubeconfig file into self contained output (useful for creating portable kubeconfig files)"

-- Yu-Ju Hong
Source: StackOverflow