ruk·si

Kubernetes
Pod Presets

Updated at 2018-12-31 00:44

Pod preset objects inject info into pods at creation time. The usual kind of information are secrets, environment variables and volumes.

You use label selectors to specify which to pod preset to use.

Pods presets are implemented with PodPreset controller. When a new pod creation request emerges, pod presets are fetched and checked if any of the labels match. If label conditions match, the presets are applied to the pod.

Sources