Skip to content

Commit a975a07

Browse files
helightk8s-ci-robot
authored andcommitted
fix words issue (#18312)
* fix words issue * fix word * fix word * fix review issue on static-pod.md
1 parent 5469d44 commit a975a07

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

content/en/docs/tasks/configure-pod-container/static-pod.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ You can configure a static Pod with either a [file system hosted configuration f
5252

5353
### Filesystem-hosted static Pod manifest {#configuration-files}
5454

55-
Manifests are standard Pod definitions in JSON or YAML format in a specific directory. Use the `staticPodPath: <the directory>` field in the [KubeletConfiguration file](/docs/tasks/administer-cluster/kubelet-config-file), which periodically scans the directory and creates/deletes static Pods as YAML/JSON files appear/disappear there.
55+
Manifests are standard Pod definitions in JSON or YAML format in a specific directory. Use the `staticPodPath: <the directory>` field in the [kubelet configuration file](/docs/tasks/administer-cluster/kubelet-config-file), which periodically scans the directory and creates/deletes static Pods as YAML/JSON files appear/disappear there.
5656
Note that the kubelet will ignore files starting with dots when scanning the specified directory.
5757

5858
For example, this is how to start a simple web server as a static Pod:
@@ -91,7 +91,7 @@ For example, this is how to start a simple web server as a static Pod:
9191
```
9292
KUBELET_ARGS="--cluster-dns=10.254.0.10 --cluster-domain=kube.local --pod-manifest-path=/etc/kubelet.d/"
9393
```
94-
or add the `staticPodPath: <the directory>` field in the [KubeletConfiguration file](/docs/tasks/administer-cluster/kubelet-config-file).
94+
or add the `staticPodPath: <the directory>` field in the [kubelet configuration file](/docs/tasks/administer-cluster/kubelet-config-file).
9595
9696
4. Restart the kubelet. On Fedora, you would run:
9797
@@ -129,8 +129,6 @@ To use this approach:
129129
protocol: TCP
130130
```
131131
132-
133-
134132
2. Configure the kubelet on your selected node to use this web manifest by running it with `--manifest-url=<manifest-url>`. On Fedora, edit `/etc/kubernetes/kubelet` to include this line:
135133
136134
```
@@ -152,7 +150,7 @@ already be running.
152150
153151
You can view running containers (including static Pods) by running (on the node):
154152
```shell
155-
# Run this command on the node where kubelet is running
153+
# Run this command on the node where the kubelet is running
156154
docker ps
157155
```
158156

0 commit comments

Comments
 (0)