Merge pull request #20839 from abowloflrf/fix-zh-typo

fix typo in static-pod.md
This commit is contained in:
Kubernetes Prow Robot 2020-05-08 18:39:52 -07:00 committed by GitHub
commit 085090824d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -163,7 +163,7 @@ For example, this is how to start a simple web server as a static Pod:
<!--
1. Restart the kubelet. On Fedora, you would run:
```shell
# Run this command on the node where the kubelet is running
systemctl restart kubelet
@ -185,7 +185,7 @@ Similar to how [filesystem-hosted manifests](#configuration-files) work, the kub
refetches the manifest on a schedule. If there are changes to the list of static
Pods, the kubelet applies them.
To use this approach:
To use this approach:
-->
### Web 网上的静态 Pod 声明文件 {#pods-created-via-http}
@ -262,7 +262,7 @@ The output might be something like:
当 kubelet 启动时,会自动启动所有定义的静态 Pod。当定义了一个静态 Pod 并重新启动 kubelet 时,新的静态 Pod 就应该已经在运行了。
可以在节点上云心下面的命令来看运行的容器(包括静态 Pod
可以在节点上运行下面的命令来查看正在运行的容器(包括静态 Pod
```shell
# 在 kubelet 运行的节点上执行以下命令
docker ps
@ -378,7 +378,7 @@ docker ps
-->
## 动态增加和删除静态 pod
运行的 kubelet 定期扫描配置的目录(比如例子中的 `/etc/kubelet.d` 目录)中的变化,并且根据文件中出现/消失的 Pod 来添加/删除 Pod。
运行的 kubelet 定期扫描配置的目录(比如例子中的 `/etc/kubelet.d` 目录)中的变化,并且根据文件中出现/消失的 Pod 来添加/删除 Pod。
```shell
# 前提是你在用主机文件系统上的静态 Pod 配置文件