How to share .kube/config?

后端 未结 1 1334
后悔当初
后悔当初 2021-02-07 13:14

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

I know,

kubectl config view --minify
         


        
1条回答
  •  醉梦人生
    2021-02-07 14:03

    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)"

    0 讨论(0)
提交回复
热议问题