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
To find more about how to debug using `crictl`, please visit [_Debugging Kubernetes nodes with crictl_](https://kubernetes.io/docs/tasks/debug/debug-cluster/crictl/)
228
240
229
241
## Dynamic addition and removal of static pods
230
242
231
243
The running kubelet periodically scans the configured directory (`/etc/kubernetes/manifests`in our example) forchanges and adds/removes Pods as files appear/disappearin this directory.
232
244
233
245
```shell
234
246
# This assumes you are using filesystem-hosted static Pod configuration
235
-
# Run these commands on the node where the kubelet is running
247
+
# Run these commands on the node where the container is running
236
248
#
237
249
mv /etc/kubernetes/manifests/static-web.yaml /tmp
238
250
sleep 20
@@ -246,3 +258,12 @@ crictl ps
246
258
CONTAINER IMAGE CREATED STATE NAME ATTEMPT POD ID
247
259
f427638871c35 docker.io/library/nginx@sha256:... 19 seconds ago Running web 1 34533c6729106
248
260
```
261
+
## {{% heading "whatsnext" %}}
262
+
263
+
* [Generate static Pod manifests for control plane components](/docs/reference/setup-tools/kubeadm/implementation-details/#generate-static-pod-manifests-for-control-plane-components)
264
+
* [Generate static Pod manifest forlocal etcd](/docs/reference/setup-tools/kubeadm/implementation-details/#generate-static-pod-manifest-for-local-etcd)
265
+
* [Debugging Kubernetes nodes with `crictl`](/docs/tasks/debug/debug-cluster/crictl/)
266
+
* [Learn more about `crictl`](https://github.com/kubernetes-sigs/cri-tools).
267
+
* [Map `docker` CLI commands to `crictl`](/docs/reference/tools/map-crictl-dockercli/).
268
+
* [Set up etcd instances as static pods managed by a kubelet](/docs/setup/production-environment/tools/kubeadm/setup-ha-etcd-with-kubeadm/)
0 commit comments