@@ -457,6 +457,7 @@ type ReplicationController struct {
// PodTemplate holds the information used for creating pods.
typePodTemplatestruct{
DesiredStatePodState`json:"desiredState,omitempty" description:"specification of the desired state of pods created from this template"`
NodeSelectormap[string]string`json:"nodeSelector,omitempty" description:"a selector which must be true for the pod to fit on a node"`
Labelsmap[string]string`json:"labels,omitempty" description:"map of string keys and values that can be used to organize and categorize the pods created from the template; must match the selector of the replication controller to which the template belongs; may match selectors of services"`
@@ -420,6 +420,7 @@ type ReplicationController struct {
// PodTemplate holds the information used for creating pods.
typePodTemplatestruct{
DesiredStatePodState`json:"desiredState,omitempty" description:"specification of the desired state of pods created from this template"`
NodeSelectormap[string]string`json:"nodeSelector,omitempty" description:"a selector which must be true for the pod to fit on a node"`
Labelsmap[string]string`json:"labels,omitempty" description:"map of string keys and values that can be used to organize and categorize the pods created from the template; must match the selector of the replication controller to which the template belongs; may match selectors of services"`