Skip to content

Commit

Permalink
GITBOOK-204: No subject
Browse files Browse the repository at this point in the history
  • Loading branch information
mouuii authored and gitbook-bot committed Dec 26, 2024
1 parent 9502d79 commit 7ed24e9
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ kubectl -n kubernetes-dashboard port-forward svc/kubernetes-dashboard-kong-proxy

我们首先新建一个 sc.yaml ,将下面内容复制进去

````yaml
```yaml
apiVersion: v1
kind: ServiceAccount
Expand All @@ -67,7 +66,6 @@ subjects:
name: admin-user
namespace: kubernetes-dashboard
```
````
执行以下命令,控制台会输出 token ,这里我添加了 duration 参数,作用是将 token 过期时间设置长一点,你可以根据自身情况设置,如果是自己玩,那就设置长一点 。
Expand Down

0 comments on commit 7ed24e9

Please sign in to comment.