You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/tasks/configure-pod-container/static-pod.md
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,7 @@ You can configure a static Pod with either a [file system hosted configuration f
52
52
53
53
### Filesystem-hosted static Pod manifest {#configuration-files}
54
54
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.
56
56
Note that the kubelet will ignore files starting with dots when scanning the specified directory.
57
57
58
58
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:
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).
95
95
96
96
4. Restart the kubelet. On Fedora, you would run:
97
97
@@ -129,8 +129,6 @@ To use this approach:
129
129
protocol: TCP
130
130
```
131
131
132
-
133
-
134
132
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:
135
133
136
134
```
@@ -152,7 +150,7 @@ already be running.
152
150
153
151
You can view running containers (including static Pods) by running (on the node):
154
152
```shell
155
-
# Run this command on the node where kubelet is running
153
+
# Run this command on the node where the kubelet is running
0 commit comments