Fix v2.6 level-1 headings

This commit is contained in:
vickyhella
2022-11-23 15:14:28 +08:00
parent 6782aeaaa4
commit 3a397c2a87
72 changed files with 279 additions and 254 deletions
@@ -4,7 +4,7 @@ title: Controlplane 节点故障排除
本文适用于具有 `controlplane` 角色的节点。
# 检查 controlplane 容器是否正在运行
## 检查 controlplane 容器是否正在运行
具有 `controlplane` 角色的节点上启动了三个容器:
@@ -26,7 +26,7 @@ f3d287ca4549 rancher/hyperkube:v1.11.5-rancher1 "/opt/rke-tools/en..."
bdf3898b8063 rancher/hyperkube:v1.11.5-rancher1 "/opt/rke-tools/en..." 3 hours ago Up 3 hours kube-controller-manager
```
# controlplane 容器日志记录
## controlplane 容器日志记录
:::note
@@ -42,7 +42,7 @@ docker logs kube-controller-manager
docker logs kube-scheduler
```
# RKE2 Server 日志
## RKE2 Server 日志
如果 Rancher 配置的 RKE2 集群无法与 Rancher 通信,你可以在下游集群中的 Server 节点上运行此命令,从而获取 RKE2 Server 日志:
@@ -4,7 +4,7 @@ title: nginx-proxy 故障排除
每个没有 `controlplane` 角色的节点上都部署了 `nginx-proxy` 容器。`nginx-proxy` 基于具有 `controlplane` 角色的可用节点来动态生成 NGINX 配置,从而提供对这些 `controlplane` 角色节点的访问。
# 检查容器是否正在运行
## 检查容器是否正在运行
该容器称为 `nginx-proxy`,它的状态应该是 `Up``Up` 后面显示的时间指的是容器运行的时间。
@@ -20,7 +20,7 @@ CONTAINER ID IMAGE COMMAND CREATED
c3e933687c0e rancher/rke-tools:v0.1.15 "nginx-proxy CP_HO..." 3 hours ago Up 3 hours nginx-proxy
```
# 检查生成的 NGINX 配置
## 检查生成的 NGINX 配置
生成的配置包括了具有 `controlplane` 角色的节点的 IP 地址。你可以使用以下命令来检查配置:
@@ -59,7 +59,7 @@ stream {
}
```
# nginx-proxy 容器日志记录
## nginx-proxy 容器日志记录
容器的日志记录可能包含问题的信息。
@@ -4,7 +4,7 @@ title: Worker 节点和通用组件故障排除
本文包括了运行在所有角色节点上的组件,因此适用于每个节点。
# 检查容器是否正在运行
## 检查容器是否正在运行
具有 `worker` 角色的节点上启动了两个容器:
@@ -24,7 +24,7 @@ CONTAINER ID IMAGE COMMAND
a30717ecfb55 rancher/hyperkube:v1.11.5-rancher1 "/opt/rke-tools/en..." 3 hours ago Up 3 hours kubelet
```
# 容器日志记录
## 容器日志记录
容器的日志记录可能包含问题的信息。