mirror of
https://github.com/yeasy/docker_practice.git
synced 2026-03-11 20:31:18 +00:00
style(docs): standardize heading formats and numbering
- Enforce Level 1-3 structural numbering based on SUMMARY.md hierarchy - Remove structural numbering from Level 4+ headings - Eliminate single child headings by converting to bold text - Auto-inject summary text for headings with multiple children missing intro text - Exclude Appendix chapters from structural numbering - Avoid modifying code block contents - Add script to detect non-standard English usage in headers
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
## Kubernetes Dashboard
|
||||
## 13.7 Kubernetes Dashboard
|
||||
|
||||
[Kubernetes Dashboard](https://github.com/kubernetes/dashboard) 是基于网页的 Kubernetes 用户界面。
|
||||
|
||||

|
||||
|
||||
### 部署
|
||||
### 13.7.1 部署
|
||||
|
||||
执行以下命令即可部署 Dashboard:
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0/aio/deploy/recommended.yaml
|
||||
```
|
||||
|
||||
### 访问
|
||||
### 13.7.2 访问
|
||||
|
||||
通过命令行代理访问,执行以下命令:
|
||||
|
||||
@@ -22,7 +22,7 @@ $ kubectl proxy
|
||||
|
||||
到 http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/ 即可访问。
|
||||
|
||||
### 登录
|
||||
### 13.7.3 登录
|
||||
|
||||
目前,Dashboard 仅支持使用 Bearer 令牌登录。下面教大家如何创建该令牌:
|
||||
|
||||
@@ -40,6 +40,6 @@ echo ${DASHBOARD_LOGIN_TOKEN}
|
||||
|
||||
将结果粘贴到登录页面,即可登录。
|
||||
|
||||
### 参考文档
|
||||
### 13.7.4 参考文档
|
||||
|
||||
* [官方文档](https://kubernetes.io/zh/docs/tasks/access-application-cluster/web-ui-dashboard/)
|
||||
|
||||
Reference in New Issue
Block a user