From a975a0787f83ab55eaf02768987f36488069f0a9 Mon Sep 17 00:00:00 2001 From: helight Date: Sun, 5 Jan 2020 09:57:40 +0800 Subject: [PATCH] fix words issue (#18312) * fix words issue * fix word * fix word * fix review issue on static-pod.md --- .../en/docs/tasks/configure-pod-container/static-pod.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/content/en/docs/tasks/configure-pod-container/static-pod.md b/content/en/docs/tasks/configure-pod-container/static-pod.md index 06f4610959..320d800dc9 100644 --- a/content/en/docs/tasks/configure-pod-container/static-pod.md +++ b/content/en/docs/tasks/configure-pod-container/static-pod.md @@ -52,7 +52,7 @@ You can configure a static Pod with either a [file system hosted configuration f ### Filesystem-hosted static Pod manifest {#configuration-files} -Manifests are standard Pod definitions in JSON or YAML format in a specific directory. Use the `staticPodPath: ` 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. +Manifests are standard Pod definitions in JSON or YAML format in a specific directory. Use the `staticPodPath: ` 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. Note that the kubelet will ignore files starting with dots when scanning the specified directory. 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: ``` KUBELET_ARGS="--cluster-dns=10.254.0.10 --cluster-domain=kube.local --pod-manifest-path=/etc/kubelet.d/" ``` - or add the `staticPodPath: ` field in the [KubeletConfiguration file](/docs/tasks/administer-cluster/kubelet-config-file). + or add the `staticPodPath: ` field in the [kubelet configuration file](/docs/tasks/administer-cluster/kubelet-config-file). 4. Restart the kubelet. On Fedora, you would run: @@ -129,8 +129,6 @@ To use this approach: protocol: TCP ``` - - 2. Configure the kubelet on your selected node to use this web manifest by running it with `--manifest-url=`. On Fedora, edit `/etc/kubernetes/kubelet` to include this line: ``` @@ -152,7 +150,7 @@ already be running. You can view running containers (including static Pods) by running (on the node): ```shell -# Run this command on the node where kubelet is running +# Run this command on the node where the kubelet is running docker ps ```