Fix mermaid syntax and update K8s taint labels

This commit is contained in:
yeasy
2026-04-18 15:17:56 -07:00
parent da5867c921
commit 1bed644e5e
3 changed files with 12 additions and 12 deletions
+4 -4
View File
@@ -8,10 +8,10 @@ Docker 采用了 **C/S (客户端/服务端)** 架构。Client 向 Daemon 发送
```mermaid ```mermaid
graph LR graph LR
C1["客户端"] -->|docker run| D["dockerd\n守护进程"] C1["客户端"] -->|docker run| D["dockerd<br/>守护进程"]
C1 -->|docker pull| D C1 -->|docker pull| D
D -->|管理| C2["Containers\n容器"] D -->|管理| C2["Containers<br/>容器"]
D -->|管理| C3["Images\n镜像"] D -->|管理| C3["Images<br/>镜像"]
``` ```
--- ---
@@ -71,7 +71,7 @@ flowchart TD
B["OCI Bundle"] B["OCI Bundle"]
S["Containerd-shim"] S["Containerd-shim"]
R["Runc"] R["Runc"]
P["容器进程\nnginx"] P["容器进程<br/>nginx"]
E["退出"] E["退出"]
U -->|1. REST API| D U -->|1. REST API| D
+4 -4
View File
@@ -261,15 +261,15 @@ $ kubectl apply -f https://raw.githubusercontent.com/flannel-io/flannel/v0.28.2/
如果用 `kubeadm` 部署一个单节点集群默认情况下无法使用请执行以下命令解除限制 如果用 `kubeadm` 部署一个单节点集群默认情况下无法使用请执行以下命令解除限制
```bash ```bash
$ kubectl taint nodes --all node-role.kubernetes.io/master- $ kubectl taint nodes --all node-role.kubernetes.io/control-plane-
# 部分较新版本使用 control-plane taint # 较旧版本使用 master taint
# $ kubectl taint nodes --all node-role.kubernetes.io/control-plane- # $ kubectl taint nodes --all node-role.kubernetes.io/master-
# 恢复默认值 # 恢复默认值
# $ kubectl taint nodes NODE_NAME node-role.kubernetes.io/master=true:NoSchedule # $ kubectl taint nodes NODE_NAME node-role.kubernetes.io/control-plane=true:NoSchedule
... ...
``` ```
+4 -4
View File
@@ -278,15 +278,15 @@ $ kubectl apply -f https://raw.githubusercontent.com/flannel-io/flannel/v0.28.2/
如果用 `kubeadm` 部署一个单节点集群默认情况下无法使用请执行以下命令解除限制 如果用 `kubeadm` 部署一个单节点集群默认情况下无法使用请执行以下命令解除限制
```bash ```bash
$ kubectl taint nodes --all node-role.kubernetes.io/master- $ kubectl taint nodes --all node-role.kubernetes.io/control-plane-
# 部分较新版本使用 control-plane taint # 较旧版本使用 master taint
# $ kubectl taint nodes --all node-role.kubernetes.io/control-plane- # $ kubectl taint nodes --all node-role.kubernetes.io/master-
# 恢复默认值 # 恢复默认值
# $ kubectl taint nodes NODE_NAME node-role.kubernetes.io/master=true:NoSchedule # $ kubectl taint nodes NODE_NAME node-role.kubernetes.io/control-plane=true:NoSchedule
... ...
``` ```