- Take me to Video Tutorial
In this section, we will take a look at Static Pods
- You can configure the kubelet to read the pod definition files from a directory on the server designated to store information about pods.
-
The designated directory can be any directory on the host and the location of that directory is passed in to the kubelet as an option while running the service.
- The option is named as
--pod-manifest-path
.
- The option is named as
-
Instead of specifying the option directly in the
kubelet.service
file, you could provide a path to another config file using the config option, and define the directory path as staticPodPath in the file.