Skip to content

Commit

Permalink
[doc] update kubernetes.md (#715)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaohe428 authored Mar 10, 2023
1 parent b031e33 commit 87c933f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions home/docs/help/kubernetes.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,15 @@ kubectl create clusterrolebinding dashboard-admin --clusterrole=cluster-admin --
kubectl -n kube-system get secret | grep dashboard-admin | awk '{print $1}'
kubectl describe secret {secret} -n kube-system
```
#### 方式二:
```
kubectl create serviceaccount cluster-admin
kubectl create clusterrolebinding cluster-admin-manual --clusterrole=cluster-admin --serviceaccount=default:cluster-admin
kubectl create token --duration=1000h cluster-admin
```
### 配置参数

| 参数名称 | 参数帮助描述 |
Expand Down

0 comments on commit 87c933f

Please sign in to comment.