Analysis the Static Pod Removal Process in kubelet
The previous article discussed the interesting removal process of the mirror pod. This article will explore the removal process of static pods.
Static pods can originate from files and HTTP services, and static pods are only visible internally to the kubelet. The mirror pod is an image of the static pod that allows external components to capture the static state.
The previous article explained that removing the mirror pod does not delete the static pod. To delete a static pod, you need to either delete the files under the --pod-manifest-path
directory or remove the pod by making the HTTP server specified in --manifest-url
return a response body that excludes this pod.