From cf7ed4615e489db9198cd07b0c2b42b3b14c273a Mon Sep 17 00:00:00 2001 From: Qiming Teng Date: Thu, 9 Nov 2017 16:37:32 +0800 Subject: [PATCH] Add a note to pod preset --- docs/concepts/workloads/pods/podpreset.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/concepts/workloads/pods/podpreset.md b/docs/concepts/workloads/pods/podpreset.md index fa2aa5d25d..bf9ca2eb67 100644 --- a/docs/concepts/workloads/pods/podpreset.md +++ b/docs/concepts/workloads/pods/podpreset.md @@ -49,6 +49,11 @@ Pods, Kubernetes modifies the Pod Spec. For changes to `Env`, `EnvFrom`, and `VolumeMounts`, Kubernetes modifies the container spec for all containers in the Pod; for changes to `Volume`, Kubernetes modifies the Pod Spec. +**Note:** A Pod Preset is capable of modifying the `spec.containers` field in a +Pod spec when appropriate. *No* resource definition from the Pod Preset will be +applied to the `initContainers` field. +{: .note} + ### Disable Pod Preset for a Specific Pod There may be instances where you wish for a Pod to not be altered by any Pod