如何共享.kube/config? [英] How to share .kube/config?
本文介绍了如何共享.kube/config?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有多个管理员访问k8s集群. 建议共享配置文件的方式是什么?
There are multiple admins who accesses k8s clusters. What is the recommended way to share the config file?
我知道,
kubectl config view --minify
但是此命令删除了认证部分.
but certification part is REDACTED by this command.
推荐答案
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)"
这篇关于如何共享.kube/config?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文