// NodeSelector is a selector which must be true for the pod to fit on a node
// NodeSelector is a selector which must be true for the pod to fit on a node
NodeSelectormap[string]string`json:"nodeSelector,omitempty" description:"selector which must match a node's labels for the pod to be scheduled on that node"`
NodeSelectormap[string]string`json:"nodeSelector,omitempty" description:"selector which must match a node's labels for the pod to be scheduled on that node"`
// ServiceAccount is the name of the ServiceAccount to use to run this pod
ServiceAccountstring`json:"serviceAccount" description:"name of the ServiceAccount to use to run this pod"`
// Host is a request to schedule this pod onto a specific host. If it is non-empty,
// Host is a request to schedule this pod onto a specific host. If it is non-empty,
// the the scheduler simply schedules this pod onto that host, assuming that it fits
// the the scheduler simply schedules this pod onto that host, assuming that it fits
// resource requirements.
// resource requirements.
...
@@ -1036,6 +1039,26 @@ type ServiceList struct {
...
@@ -1036,6 +1039,26 @@ type ServiceList struct {
Items[]Service`json:"items" description:"list of services"`
Items[]Service`json:"items" description:"list of services"`
}
}
// ServiceAccount binds together:
// * a name, understood by users, and perhaps by peripheral systems, for an identity
// * a principal that can be authenticated and authorized
// * a set of secrets
typeServiceAccountstruct{
TypeMeta`json:",inline"`
ObjectMeta`json:"metadata,omitempty" description:"standard object metadata; see http://docs.k8s.io/api-conventions.md#metadata"`
// Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount
Secrets[]ObjectReference`json:"secrets" description:"list of secrets that can be used by pods running as this service account" patchStrategy:"merge" patchMergeKey:"name"`
}
// ServiceAccountList is a list of ServiceAccount objects
typeServiceAccountListstruct{
TypeMeta`json:",inline"`
ListMeta`json:"metadata,omitempty" description:"standard list metadata; see http://docs.k8s.io/api-conventions.md#metadata"`
Items[]ServiceAccount`json:"items" description:"list of ServiceAccounts"`
}
// Endpoints is a collection of endpoints that implement the actual service. Example:
// Endpoints is a collection of endpoints that implement the actual service. Example:
Labelsmap[string]string`json:"labels,omitempty" description:"map of string keys and values that can be used to organize and categorize pods; may match selectors of replication controllers and services"`
Labelsmap[string]string`json:"labels,omitempty" description:"map of string keys and values that can be used to organize and categorize pods; may match selectors of replication controllers and services"`
DesiredStatePodState`json:"desiredState,omitempty" description:"specification of the desired state of the pod"`
DesiredStatePodState`json:"desiredState,omitempty" description:"specification of the desired state of the pod"`
CurrentStatePodState`json:"currentState,omitempty" description:"current state of the pod; populated by the system, read-only"`
CurrentStatePodState`json:"currentState,omitempty" description:"current state of the pod; populated by the system, read-only"`
// ServiceAccount is the name of the ServiceAccount to use to run this pod
ServiceAccountstring`json:"serviceAccount,omitempty" description:"the name of the ServiceAccount to use to run this pod"`
// NodeSelector is a selector which must be true for the pod to fit on a node
// NodeSelector is a selector which must be true for the pod to fit on a node
NodeSelectormap[string]string`json:"nodeSelector,omitempty" description:"selector which must match a node's labels for the pod to be scheduled on that node"`
NodeSelectormap[string]string`json:"nodeSelector,omitempty" description:"selector which must match a node's labels for the pod to be scheduled on that node"`
}
}
...
@@ -782,10 +784,11 @@ type ReplicationController struct {
...
@@ -782,10 +784,11 @@ type ReplicationController struct {
// PodTemplate holds the information used for creating pods.
// PodTemplate holds the information used for creating pods.
typePodTemplatestruct{
typePodTemplatestruct{
DesiredStatePodState`json:"desiredState,omitempty" description:"specification of the desired state of pods created from this template"`
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"`
ServiceAccountstring`json:"serviceAccount,omitempty" description:"the name of the ServiceAccount to use to run this pod"`
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"`
NodeSelectormap[string]string`json:"nodeSelector,omitempty" description:"a selector which must be true for the pod to fit on a node"`
Annotationsmap[string]string`json:"annotations,omitempty" description:"map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about pods created from the template"`
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"`
Annotationsmap[string]string`json:"annotations,omitempty" description:"map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about pods created from the template"`
}
}
// Session Affinity Type string
// Session Affinity Type string
...
@@ -884,6 +887,24 @@ type ServicePort struct {
...
@@ -884,6 +887,24 @@ type ServicePort struct {
ContainerPortutil.IntOrString`json:"containerPort" description:"the port to access on the containers belonging to pods targeted by the service; defaults to the service port"`
ContainerPortutil.IntOrString`json:"containerPort" description:"the port to access on the containers belonging to pods targeted by the service; defaults to the service port"`
}
}
// ServiceAccount binds together:
// * a name, understood by users, and perhaps by peripheral systems, for an identity
// * a principal that can be authenticated and authorized
// * a set of secrets
typeServiceAccountstruct{
TypeMeta`json:",inline"`
// Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount
Secrets[]ObjectReference`json:"secrets" description:"list of secrets that can be used by pods running as this service account" patchStrategy:"merge" patchMergeKey:"name"`
}
// ServiceAccountList is a list of ServiceAccount objects
typeServiceAccountListstruct{
TypeMeta`json:",inline"`
Items[]ServiceAccount`json:"items" description:"list of ServiceAccounts"`
}
// EndpointObjectReference is a reference to an object exposing the endpoint
// EndpointObjectReference is a reference to an object exposing the endpoint
typeEndpointObjectReferencestruct{
typeEndpointObjectReferencestruct{
Endpointstring`json:"endpoint" description:"endpoint exposed by the referenced object"`
Endpointstring`json:"endpoint" description:"endpoint exposed by the referenced object"`
Labelsmap[string]string`json:"labels,omitempty" description:"map of string keys and values that can be used to organize and categorize pods; may match selectors of replication controllers and services"`
Labelsmap[string]string`json:"labels,omitempty" description:"map of string keys and values that can be used to organize and categorize pods; may match selectors of replication controllers and services"`
DesiredStatePodState`json:"desiredState,omitempty" description:"specification of the desired state of the pod"`
DesiredStatePodState`json:"desiredState,omitempty" description:"specification of the desired state of the pod"`
CurrentStatePodState`json:"currentState,omitempty" description:"current state of the pod; populated by the system, read-only"`
CurrentStatePodState`json:"currentState,omitempty" description:"current state of the pod; populated by the system, read-only"`
// ServiceAccount is the name of the ServiceAccount to use to run this pod
ServiceAccountstring`json:"serviceAccount,omitempty" description:"the name of the ServiceAccount to use to run this pod"`
// NodeSelector is a selector which must be true for the pod to fit on a node
// NodeSelector is a selector which must be true for the pod to fit on a node
NodeSelectormap[string]string`json:"nodeSelector,omitempty" description:"selector which must match a node's labels for the pod to be scheduled on that node"`
NodeSelectormap[string]string`json:"nodeSelector,omitempty" description:"selector which must match a node's labels for the pod to be scheduled on that node"`
}
}
...
@@ -787,10 +789,11 @@ type ReplicationController struct {
...
@@ -787,10 +789,11 @@ type ReplicationController struct {
DesiredStatePodState`json:"desiredState,omitempty" description:"specification of the desired state of pods created from this template"`
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"`
ServiceAccountstring`json:"serviceAccount,omitempty" description:"the name of the ServiceAccount to use to run this pod"`
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"`
NodeSelectormap[string]string`json:"nodeSelector,omitempty" description:"a selector which must be true for the pod to fit on a node"`
Annotationsmap[string]string`json:"annotations,omitempty" description:"map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about pods created from the template"`
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"`
Annotationsmap[string]string`json:"annotations,omitempty" description:"map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about pods created from the template"`
}
}
// Session Affinity Type string
// Session Affinity Type string
...
@@ -891,6 +894,24 @@ type ServicePort struct {
...
@@ -891,6 +894,24 @@ type ServicePort struct {
ContainerPortutil.IntOrString`json:"containerPort" description:"the port to access on the containers belonging to pods targeted by the service; defaults to the service port"`
ContainerPortutil.IntOrString`json:"containerPort" description:"the port to access on the containers belonging to pods targeted by the service; defaults to the service port"`
}
}
// ServiceAccount binds together:
// * a name, understood by users, and perhaps by peripheral systems, for an identity
// * a principal that can be authenticated and authorized
// * a set of secrets
typeServiceAccountstruct{
TypeMeta`json:",inline"`
// Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount
Secrets[]ObjectReference`json:"secrets" description:"list of secrets that can be used by pods running as this service account" patchStrategy:"merge" patchMergeKey:"name"`
}
// ServiceAccountList is a list of ServiceAccount objects
typeServiceAccountListstruct{
TypeMeta`json:",inline"`
Items[]ServiceAccount`json:"items" description:"list of ServiceAccounts"`
}
// EndpointObjectReference is a reference to an object exposing the endpoint
// EndpointObjectReference is a reference to an object exposing the endpoint
typeEndpointObjectReferencestruct{
typeEndpointObjectReferencestruct{
Endpointstring`json:"endpoint" description:"endpoint exposed by the referenced object"`
Endpointstring`json:"endpoint" description:"endpoint exposed by the referenced object"`
// NodeSelector is a selector which must be true for the pod to fit on a node
// NodeSelector is a selector which must be true for the pod to fit on a node
NodeSelectormap[string]string`json:"nodeSelector,omitempty" description:"selector which must match a node's labels for the pod to be scheduled on that node"`
NodeSelectormap[string]string`json:"nodeSelector,omitempty" description:"selector which must match a node's labels for the pod to be scheduled on that node"`
// ServiceAccount is the name of the ServiceAccount to use to run this pod
ServiceAccountstring`json:"serviceAccount" description:"name of the ServiceAccount to use to run this pod"`
// Host is a request to schedule this pod onto a specific host. If it is non-empty,
// Host is a request to schedule this pod onto a specific host. If it is non-empty,
// the the scheduler simply schedules this pod onto that host, assuming that it fits
// the the scheduler simply schedules this pod onto that host, assuming that it fits
// resource requirements.
// resource requirements.
...
@@ -1036,6 +1039,26 @@ type ServiceList struct {
...
@@ -1036,6 +1039,26 @@ type ServiceList struct {
Items[]Service`json:"items" description:"list of services"`
Items[]Service`json:"items" description:"list of services"`
}
}
// ServiceAccount binds together:
// * a name, understood by users, and perhaps by peripheral systems, for an identity
// * a principal that can be authenticated and authorized
// * a set of secrets
typeServiceAccountstruct{
TypeMeta`json:",inline"`
ObjectMeta`json:"metadata,omitempty" description:"standard object metadata; see http://docs.k8s.io/api-conventions.md#metadata"`
// Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount
Secrets[]ObjectReference`json:"secrets" description:"list of secrets that can be used by pods running as this service account" patchStrategy:"merge" patchMergeKey:"name"`
}
// ServiceAccountList is a list of ServiceAccount objects
typeServiceAccountListstruct{
TypeMeta`json:",inline"`
ListMeta`json:"metadata,omitempty" description:"standard list metadata; see http://docs.k8s.io/api-conventions.md#metadata"`
Items[]ServiceAccount`json:"items" description:"list of ServiceAccounts"`
}
// Endpoints is a collection of endpoints that implement the actual service. Example:
// Endpoints is a collection of endpoints that implement the actual service. Example: