mirror of
https://github.com/yeasy/docker_practice.git
synced 2026-03-28 04:35:27 +00:00
Remove blank lines after code block markers
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
```bash
|
||||
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.7.0/aio/deploy/recommended.yaml
|
||||
```
|
||||
|
||||
### 14.7.2 访问
|
||||
|
||||
通过命令行代理访问,执行以下命令:
|
||||
@@ -19,7 +18,6 @@ kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.7.0/a
|
||||
```bash
|
||||
$ kubectl proxy
|
||||
```
|
||||
|
||||
到 http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/ 即可访问。
|
||||
|
||||
### 14.7.3 登录
|
||||
@@ -37,7 +35,6 @@ $ DASHBOARD_LOGIN_TOKEN=$(kubectl describe secret -n kube-system ${ADMIN_SECRET}
|
||||
|
||||
echo ${DASHBOARD_LOGIN_TOKEN}
|
||||
```
|
||||
|
||||
将结果粘贴到登录页面,即可登录。
|
||||
|
||||
### 14.7.4 参考文档
|
||||
|
||||
Reference in New Issue
Block a user