查询dashboard的token

#查询dashboard的token

kubectl describe secrets -n kube-system `kubectl get secret -n kube-system | awk '/dashboard-admin/{print $1}'` | grep token: | awk '{print $2}'

posted @ 2021-01-13 23:27  海尚书  阅读(509)  评论(0编辑  收藏  举报