标签:esc das describe clu Kubernete service admin get desc
# 创建一个超级管理员
adm_account="k8s-dash-admin"
kubectl create serviceaccount ${adm_account} -n kube-system
kubectl create clusterrolebinding ${adm_account} --clusterrole=cluster-admin --serviceaccount=kube-system:${adm_account}
kubectl -n kube-system describe secrets $(kubectl -n kube-system get secret | grep ${adm_account} | awk ‘{print $1}‘)
标签:esc das describe clu Kubernete service admin get desc
原文地址:https://www.cnblogs.com/kofsony/p/11731384.html