查看k8s 的 dashboard 的token

kubectl -n kube-system describe $(kubectl -n kube-system get secret -n kube-system -o name | grep namespace) | grep token

posted @ 2020-05-20 18:37  ma_fighting  阅读(9490)  评论(0编辑  收藏  举报
历史天气查