public static final class V1.PodSpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.PodSpec.Builder> implements V1.PodSpecOrBuilder
PodSpec is a description of a pod.Protobuf type
k8s.io.api.core.v1.PodSpec| Modifier and Type | Method and Description |
|---|---|
V1.PodSpec.Builder |
addAllContainers(Iterable<? extends V1.Container> values)
List of containers belonging to the pod.
|
V1.PodSpec.Builder |
addAllHostAliases(Iterable<? extends V1.HostAlias> values)
HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts
file if specified.
|
V1.PodSpec.Builder |
addAllImagePullSecrets(Iterable<? extends V1.LocalObjectReference> values)
ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec.
|
V1.PodSpec.Builder |
addAllInitContainers(Iterable<? extends V1.Container> values)
List of initialization containers belonging to the pod.
|
V1.PodSpec.Builder |
addAllReadinessGates(Iterable<? extends V1.PodReadinessGate> values)
If specified, all readiness gates will be evaluated for pod readiness.
|
V1.PodSpec.Builder |
addAllTolerations(Iterable<? extends V1.Toleration> values)
If specified, the pod's tolerations.
|
V1.PodSpec.Builder |
addAllVolumes(Iterable<? extends V1.Volume> values)
List of volumes that can be mounted by containers belonging to the pod.
|
V1.PodSpec.Builder |
addContainers(int index,
V1.Container.Builder builderForValue)
List of containers belonging to the pod.
|
V1.PodSpec.Builder |
addContainers(int index,
V1.Container value)
List of containers belonging to the pod.
|
V1.PodSpec.Builder |
addContainers(V1.Container.Builder builderForValue)
List of containers belonging to the pod.
|
V1.PodSpec.Builder |
addContainers(V1.Container value)
List of containers belonging to the pod.
|
V1.Container.Builder |
addContainersBuilder()
List of containers belonging to the pod.
|
V1.Container.Builder |
addContainersBuilder(int index)
List of containers belonging to the pod.
|
V1.PodSpec.Builder |
addHostAliases(int index,
V1.HostAlias.Builder builderForValue)
HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts
file if specified.
|
V1.PodSpec.Builder |
addHostAliases(int index,
V1.HostAlias value)
HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts
file if specified.
|
V1.PodSpec.Builder |
addHostAliases(V1.HostAlias.Builder builderForValue)
HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts
file if specified.
|
V1.PodSpec.Builder |
addHostAliases(V1.HostAlias value)
HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts
file if specified.
|
V1.HostAlias.Builder |
addHostAliasesBuilder()
HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts
file if specified.
|
V1.HostAlias.Builder |
addHostAliasesBuilder(int index)
HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts
file if specified.
|
V1.PodSpec.Builder |
addImagePullSecrets(int index,
V1.LocalObjectReference.Builder builderForValue)
ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec.
|
V1.PodSpec.Builder |
addImagePullSecrets(int index,
V1.LocalObjectReference value)
ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec.
|
V1.PodSpec.Builder |
addImagePullSecrets(V1.LocalObjectReference.Builder builderForValue)
ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec.
|
V1.PodSpec.Builder |
addImagePullSecrets(V1.LocalObjectReference value)
ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec.
|
V1.LocalObjectReference.Builder |
addImagePullSecretsBuilder()
ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec.
|
V1.LocalObjectReference.Builder |
addImagePullSecretsBuilder(int index)
ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec.
|
V1.PodSpec.Builder |
addInitContainers(int index,
V1.Container.Builder builderForValue)
List of initialization containers belonging to the pod.
|
V1.PodSpec.Builder |
addInitContainers(int index,
V1.Container value)
List of initialization containers belonging to the pod.
|
V1.PodSpec.Builder |
addInitContainers(V1.Container.Builder builderForValue)
List of initialization containers belonging to the pod.
|
V1.PodSpec.Builder |
addInitContainers(V1.Container value)
List of initialization containers belonging to the pod.
|
V1.Container.Builder |
addInitContainersBuilder()
List of initialization containers belonging to the pod.
|
V1.Container.Builder |
addInitContainersBuilder(int index)
List of initialization containers belonging to the pod.
|
V1.PodSpec.Builder |
addReadinessGates(int index,
V1.PodReadinessGate.Builder builderForValue)
If specified, all readiness gates will be evaluated for pod readiness.
|
V1.PodSpec.Builder |
addReadinessGates(int index,
V1.PodReadinessGate value)
If specified, all readiness gates will be evaluated for pod readiness.
|
V1.PodSpec.Builder |
addReadinessGates(V1.PodReadinessGate.Builder builderForValue)
If specified, all readiness gates will be evaluated for pod readiness.
|
V1.PodSpec.Builder |
addReadinessGates(V1.PodReadinessGate value)
If specified, all readiness gates will be evaluated for pod readiness.
|
V1.PodReadinessGate.Builder |
addReadinessGatesBuilder()
If specified, all readiness gates will be evaluated for pod readiness.
|
V1.PodReadinessGate.Builder |
addReadinessGatesBuilder(int index)
If specified, all readiness gates will be evaluated for pod readiness.
|
V1.PodSpec.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.PodSpec.Builder |
addTolerations(int index,
V1.Toleration.Builder builderForValue)
If specified, the pod's tolerations.
|
V1.PodSpec.Builder |
addTolerations(int index,
V1.Toleration value)
If specified, the pod's tolerations.
|
V1.PodSpec.Builder |
addTolerations(V1.Toleration.Builder builderForValue)
If specified, the pod's tolerations.
|
V1.PodSpec.Builder |
addTolerations(V1.Toleration value)
If specified, the pod's tolerations.
|
V1.Toleration.Builder |
addTolerationsBuilder()
If specified, the pod's tolerations.
|
V1.Toleration.Builder |
addTolerationsBuilder(int index)
If specified, the pod's tolerations.
|
V1.PodSpec.Builder |
addVolumes(int index,
V1.Volume.Builder builderForValue)
List of volumes that can be mounted by containers belonging to the pod.
|
V1.PodSpec.Builder |
addVolumes(int index,
V1.Volume value)
List of volumes that can be mounted by containers belonging to the pod.
|
V1.PodSpec.Builder |
addVolumes(V1.Volume.Builder builderForValue)
List of volumes that can be mounted by containers belonging to the pod.
|
V1.PodSpec.Builder |
addVolumes(V1.Volume value)
List of volumes that can be mounted by containers belonging to the pod.
|
V1.Volume.Builder |
addVolumesBuilder()
List of volumes that can be mounted by containers belonging to the pod.
|
V1.Volume.Builder |
addVolumesBuilder(int index)
List of volumes that can be mounted by containers belonging to the pod.
|
V1.PodSpec |
build() |
V1.PodSpec |
buildPartial() |
V1.PodSpec.Builder |
clear() |
V1.PodSpec.Builder |
clearActiveDeadlineSeconds()
Optional duration in seconds the pod may be active on the node relative to
StartTime before the system will actively try to mark it failed and kill associated containers.
|
V1.PodSpec.Builder |
clearAffinity()
If specified, the pod's scheduling constraints
+optional
|
V1.PodSpec.Builder |
clearAutomountServiceAccountToken()
AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.
|
V1.PodSpec.Builder |
clearContainers()
List of containers belonging to the pod.
|
V1.PodSpec.Builder |
clearDnsConfig()
Specifies the DNS parameters of a pod.
|
V1.PodSpec.Builder |
clearDnsPolicy()
Set DNS policy for the pod.
|
V1.PodSpec.Builder |
clearEnableServiceLinks()
EnableServiceLinks indicates whether information about services should be injected into pod's
environment variables, matching the syntax of Docker links.
|
V1.PodSpec.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1.PodSpec.Builder |
clearHostAliases()
HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts
file if specified.
|
V1.PodSpec.Builder |
clearHostIPC()
Use the host's ipc namespace.
|
V1.PodSpec.Builder |
clearHostname()
Specifies the hostname of the Pod
If not specified, the pod's hostname will be set to a system-defined value.
|
V1.PodSpec.Builder |
clearHostNetwork()
Host networking requested for this pod.
|
V1.PodSpec.Builder |
clearHostPID()
Use the host's pid namespace.
|
V1.PodSpec.Builder |
clearImagePullSecrets()
ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec.
|
V1.PodSpec.Builder |
clearInitContainers()
List of initialization containers belonging to the pod.
|
V1.PodSpec.Builder |
clearNodeName()
NodeName is a request to schedule this pod onto a specific node.
|
V1.PodSpec.Builder |
clearNodeSelector() |
V1.PodSpec.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1.PodSpec.Builder |
clearPriority()
The priority value.
|
V1.PodSpec.Builder |
clearPriorityClassName()
If specified, indicates the pod's priority.
|
V1.PodSpec.Builder |
clearReadinessGates()
If specified, all readiness gates will be evaluated for pod readiness.
|
V1.PodSpec.Builder |
clearRestartPolicy()
Restart policy for all containers within the pod.
|
V1.PodSpec.Builder |
clearRuntimeClassName()
RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used
to run this pod.
|
V1.PodSpec.Builder |
clearSchedulerName()
If specified, the pod will be dispatched by specified scheduler.
|
V1.PodSpec.Builder |
clearSecurityContext()
SecurityContext holds pod-level security attributes and common container settings.
|
V1.PodSpec.Builder |
clearServiceAccount()
DeprecatedServiceAccount is a depreciated alias for ServiceAccountName.
|
V1.PodSpec.Builder |
clearServiceAccountName()
ServiceAccountName is the name of the ServiceAccount to use to run this pod.
|
V1.PodSpec.Builder |
clearShareProcessNamespace()
Share a single process namespace between all of the containers in a pod.
|
V1.PodSpec.Builder |
clearSubdomain()
If specified, the fully qualified Pod hostname will be "<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>".
|
V1.PodSpec.Builder |
clearTerminationGracePeriodSeconds()
Optional duration in seconds the pod needs to terminate gracefully.
|
V1.PodSpec.Builder |
clearTolerations()
If specified, the pod's tolerations.
|
V1.PodSpec.Builder |
clearVolumes()
List of volumes that can be mounted by containers belonging to the pod.
|
V1.PodSpec.Builder |
clone() |
boolean |
containsNodeSelector(String key)
NodeSelector is a selector which must be true for the pod to fit on a node.
|
long |
getActiveDeadlineSeconds()
Optional duration in seconds the pod may be active on the node relative to
StartTime before the system will actively try to mark it failed and kill associated containers.
|
V1.Affinity |
getAffinity()
If specified, the pod's scheduling constraints
+optional
|
V1.Affinity.Builder |
getAffinityBuilder()
If specified, the pod's scheduling constraints
+optional
|
V1.AffinityOrBuilder |
getAffinityOrBuilder()
If specified, the pod's scheduling constraints
+optional
|
boolean |
getAutomountServiceAccountToken()
AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.
|
V1.Container |
getContainers(int index)
List of containers belonging to the pod.
|
V1.Container.Builder |
getContainersBuilder(int index)
List of containers belonging to the pod.
|
List<V1.Container.Builder> |
getContainersBuilderList()
List of containers belonging to the pod.
|
int |
getContainersCount()
List of containers belonging to the pod.
|
List<V1.Container> |
getContainersList()
List of containers belonging to the pod.
|
V1.ContainerOrBuilder |
getContainersOrBuilder(int index)
List of containers belonging to the pod.
|
List<? extends V1.ContainerOrBuilder> |
getContainersOrBuilderList()
List of containers belonging to the pod.
|
V1.PodSpec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
V1.PodDNSConfig |
getDnsConfig()
Specifies the DNS parameters of a pod.
|
V1.PodDNSConfig.Builder |
getDnsConfigBuilder()
Specifies the DNS parameters of a pod.
|
V1.PodDNSConfigOrBuilder |
getDnsConfigOrBuilder()
Specifies the DNS parameters of a pod.
|
String |
getDnsPolicy()
Set DNS policy for the pod.
|
com.google.protobuf.ByteString |
getDnsPolicyBytes()
Set DNS policy for the pod.
|
boolean |
getEnableServiceLinks()
EnableServiceLinks indicates whether information about services should be injected into pod's
environment variables, matching the syntax of Docker links.
|
V1.HostAlias |
getHostAliases(int index)
HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts
file if specified.
|
V1.HostAlias.Builder |
getHostAliasesBuilder(int index)
HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts
file if specified.
|
List<V1.HostAlias.Builder> |
getHostAliasesBuilderList()
HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts
file if specified.
|
int |
getHostAliasesCount()
HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts
file if specified.
|
List<V1.HostAlias> |
getHostAliasesList()
HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts
file if specified.
|
V1.HostAliasOrBuilder |
getHostAliasesOrBuilder(int index)
HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts
file if specified.
|
List<? extends V1.HostAliasOrBuilder> |
getHostAliasesOrBuilderList()
HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts
file if specified.
|
boolean |
getHostIPC()
Use the host's ipc namespace.
|
String |
getHostname()
Specifies the hostname of the Pod
If not specified, the pod's hostname will be set to a system-defined value.
|
com.google.protobuf.ByteString |
getHostnameBytes()
Specifies the hostname of the Pod
If not specified, the pod's hostname will be set to a system-defined value.
|
boolean |
getHostNetwork()
Host networking requested for this pod.
|
boolean |
getHostPID()
Use the host's pid namespace.
|
V1.LocalObjectReference |
getImagePullSecrets(int index)
ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec.
|
V1.LocalObjectReference.Builder |
getImagePullSecretsBuilder(int index)
ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec.
|
List<V1.LocalObjectReference.Builder> |
getImagePullSecretsBuilderList()
ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec.
|
int |
getImagePullSecretsCount()
ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec.
|
List<V1.LocalObjectReference> |
getImagePullSecretsList()
ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec.
|
V1.LocalObjectReferenceOrBuilder |
getImagePullSecretsOrBuilder(int index)
ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec.
|
List<? extends V1.LocalObjectReferenceOrBuilder> |
getImagePullSecretsOrBuilderList()
ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec.
|
V1.Container |
getInitContainers(int index)
List of initialization containers belonging to the pod.
|
V1.Container.Builder |
getInitContainersBuilder(int index)
List of initialization containers belonging to the pod.
|
List<V1.Container.Builder> |
getInitContainersBuilderList()
List of initialization containers belonging to the pod.
|
int |
getInitContainersCount()
List of initialization containers belonging to the pod.
|
List<V1.Container> |
getInitContainersList()
List of initialization containers belonging to the pod.
|
V1.ContainerOrBuilder |
getInitContainersOrBuilder(int index)
List of initialization containers belonging to the pod.
|
List<? extends V1.ContainerOrBuilder> |
getInitContainersOrBuilderList()
List of initialization containers belonging to the pod.
|
Map<String,String> |
getMutableNodeSelector()
Deprecated.
|
String |
getNodeName()
NodeName is a request to schedule this pod onto a specific node.
|
com.google.protobuf.ByteString |
getNodeNameBytes()
NodeName is a request to schedule this pod onto a specific node.
|
Map<String,String> |
getNodeSelector()
Deprecated.
|
int |
getNodeSelectorCount()
NodeSelector is a selector which must be true for the pod to fit on a node.
|
Map<String,String> |
getNodeSelectorMap()
NodeSelector is a selector which must be true for the pod to fit on a node.
|
String |
getNodeSelectorOrDefault(String key,
String defaultValue)
NodeSelector is a selector which must be true for the pod to fit on a node.
|
String |
getNodeSelectorOrThrow(String key)
NodeSelector is a selector which must be true for the pod to fit on a node.
|
int |
getPriority()
The priority value.
|
String |
getPriorityClassName()
If specified, indicates the pod's priority.
|
com.google.protobuf.ByteString |
getPriorityClassNameBytes()
If specified, indicates the pod's priority.
|
V1.PodReadinessGate |
getReadinessGates(int index)
If specified, all readiness gates will be evaluated for pod readiness.
|
V1.PodReadinessGate.Builder |
getReadinessGatesBuilder(int index)
If specified, all readiness gates will be evaluated for pod readiness.
|
List<V1.PodReadinessGate.Builder> |
getReadinessGatesBuilderList()
If specified, all readiness gates will be evaluated for pod readiness.
|
int |
getReadinessGatesCount()
If specified, all readiness gates will be evaluated for pod readiness.
|
List<V1.PodReadinessGate> |
getReadinessGatesList()
If specified, all readiness gates will be evaluated for pod readiness.
|
V1.PodReadinessGateOrBuilder |
getReadinessGatesOrBuilder(int index)
If specified, all readiness gates will be evaluated for pod readiness.
|
List<? extends V1.PodReadinessGateOrBuilder> |
getReadinessGatesOrBuilderList()
If specified, all readiness gates will be evaluated for pod readiness.
|
String |
getRestartPolicy()
Restart policy for all containers within the pod.
|
com.google.protobuf.ByteString |
getRestartPolicyBytes()
Restart policy for all containers within the pod.
|
String |
getRuntimeClassName()
RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used
to run this pod.
|
com.google.protobuf.ByteString |
getRuntimeClassNameBytes()
RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used
to run this pod.
|
String |
getSchedulerName()
If specified, the pod will be dispatched by specified scheduler.
|
com.google.protobuf.ByteString |
getSchedulerNameBytes()
If specified, the pod will be dispatched by specified scheduler.
|
V1.PodSecurityContext |
getSecurityContext()
SecurityContext holds pod-level security attributes and common container settings.
|
V1.PodSecurityContext.Builder |
getSecurityContextBuilder()
SecurityContext holds pod-level security attributes and common container settings.
|
V1.PodSecurityContextOrBuilder |
getSecurityContextOrBuilder()
SecurityContext holds pod-level security attributes and common container settings.
|
String |
getServiceAccount()
DeprecatedServiceAccount is a depreciated alias for ServiceAccountName.
|
com.google.protobuf.ByteString |
getServiceAccountBytes()
DeprecatedServiceAccount is a depreciated alias for ServiceAccountName.
|
String |
getServiceAccountName()
ServiceAccountName is the name of the ServiceAccount to use to run this pod.
|
com.google.protobuf.ByteString |
getServiceAccountNameBytes()
ServiceAccountName is the name of the ServiceAccount to use to run this pod.
|
boolean |
getShareProcessNamespace()
Share a single process namespace between all of the containers in a pod.
|
String |
getSubdomain()
If specified, the fully qualified Pod hostname will be "<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>".
|
com.google.protobuf.ByteString |
getSubdomainBytes()
If specified, the fully qualified Pod hostname will be "<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>".
|
long |
getTerminationGracePeriodSeconds()
Optional duration in seconds the pod needs to terminate gracefully.
|
V1.Toleration |
getTolerations(int index)
If specified, the pod's tolerations.
|
V1.Toleration.Builder |
getTolerationsBuilder(int index)
If specified, the pod's tolerations.
|
List<V1.Toleration.Builder> |
getTolerationsBuilderList()
If specified, the pod's tolerations.
|
int |
getTolerationsCount()
If specified, the pod's tolerations.
|
List<V1.Toleration> |
getTolerationsList()
If specified, the pod's tolerations.
|
V1.TolerationOrBuilder |
getTolerationsOrBuilder(int index)
If specified, the pod's tolerations.
|
List<? extends V1.TolerationOrBuilder> |
getTolerationsOrBuilderList()
If specified, the pod's tolerations.
|
V1.Volume |
getVolumes(int index)
List of volumes that can be mounted by containers belonging to the pod.
|
V1.Volume.Builder |
getVolumesBuilder(int index)
List of volumes that can be mounted by containers belonging to the pod.
|
List<V1.Volume.Builder> |
getVolumesBuilderList()
List of volumes that can be mounted by containers belonging to the pod.
|
int |
getVolumesCount()
List of volumes that can be mounted by containers belonging to the pod.
|
List<V1.Volume> |
getVolumesList()
List of volumes that can be mounted by containers belonging to the pod.
|
V1.VolumeOrBuilder |
getVolumesOrBuilder(int index)
List of volumes that can be mounted by containers belonging to the pod.
|
List<? extends V1.VolumeOrBuilder> |
getVolumesOrBuilderList()
List of volumes that can be mounted by containers belonging to the pod.
|
boolean |
hasActiveDeadlineSeconds()
Optional duration in seconds the pod may be active on the node relative to
StartTime before the system will actively try to mark it failed and kill associated containers.
|
boolean |
hasAffinity()
If specified, the pod's scheduling constraints
+optional
|
boolean |
hasAutomountServiceAccountToken()
AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.
|
boolean |
hasDnsConfig()
Specifies the DNS parameters of a pod.
|
boolean |
hasDnsPolicy()
Set DNS policy for the pod.
|
boolean |
hasEnableServiceLinks()
EnableServiceLinks indicates whether information about services should be injected into pod's
environment variables, matching the syntax of Docker links.
|
boolean |
hasHostIPC()
Use the host's ipc namespace.
|
boolean |
hasHostname()
Specifies the hostname of the Pod
If not specified, the pod's hostname will be set to a system-defined value.
|
boolean |
hasHostNetwork()
Host networking requested for this pod.
|
boolean |
hasHostPID()
Use the host's pid namespace.
|
boolean |
hasNodeName()
NodeName is a request to schedule this pod onto a specific node.
|
boolean |
hasPriority()
The priority value.
|
boolean |
hasPriorityClassName()
If specified, indicates the pod's priority.
|
boolean |
hasRestartPolicy()
Restart policy for all containers within the pod.
|
boolean |
hasRuntimeClassName()
RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used
to run this pod.
|
boolean |
hasSchedulerName()
If specified, the pod will be dispatched by specified scheduler.
|
boolean |
hasSecurityContext()
SecurityContext holds pod-level security attributes and common container settings.
|
boolean |
hasServiceAccount()
DeprecatedServiceAccount is a depreciated alias for ServiceAccountName.
|
boolean |
hasServiceAccountName()
ServiceAccountName is the name of the ServiceAccount to use to run this pod.
|
boolean |
hasShareProcessNamespace()
Share a single process namespace between all of the containers in a pod.
|
boolean |
hasSubdomain()
If specified, the fully qualified Pod hostname will be "<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>".
|
boolean |
hasTerminationGracePeriodSeconds()
Optional duration in seconds the pod needs to terminate gracefully.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
V1.PodSpec.Builder |
mergeAffinity(V1.Affinity value)
If specified, the pod's scheduling constraints
+optional
|
V1.PodSpec.Builder |
mergeDnsConfig(V1.PodDNSConfig value)
Specifies the DNS parameters of a pod.
|
V1.PodSpec.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1.PodSpec.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1.PodSpec.Builder |
mergeFrom(V1.PodSpec other) |
V1.PodSpec.Builder |
mergeSecurityContext(V1.PodSecurityContext value)
SecurityContext holds pod-level security attributes and common container settings.
|
V1.PodSpec.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.PodSpec.Builder |
putAllNodeSelector(Map<String,String> values)
NodeSelector is a selector which must be true for the pod to fit on a node.
|
V1.PodSpec.Builder |
putNodeSelector(String key,
String value)
NodeSelector is a selector which must be true for the pod to fit on a node.
|
V1.PodSpec.Builder |
removeContainers(int index)
List of containers belonging to the pod.
|
V1.PodSpec.Builder |
removeHostAliases(int index)
HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts
file if specified.
|
V1.PodSpec.Builder |
removeImagePullSecrets(int index)
ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec.
|
V1.PodSpec.Builder |
removeInitContainers(int index)
List of initialization containers belonging to the pod.
|
V1.PodSpec.Builder |
removeNodeSelector(String key)
NodeSelector is a selector which must be true for the pod to fit on a node.
|
V1.PodSpec.Builder |
removeReadinessGates(int index)
If specified, all readiness gates will be evaluated for pod readiness.
|
V1.PodSpec.Builder |
removeTolerations(int index)
If specified, the pod's tolerations.
|
V1.PodSpec.Builder |
removeVolumes(int index)
List of volumes that can be mounted by containers belonging to the pod.
|
V1.PodSpec.Builder |
setActiveDeadlineSeconds(long value)
Optional duration in seconds the pod may be active on the node relative to
StartTime before the system will actively try to mark it failed and kill associated containers.
|
V1.PodSpec.Builder |
setAffinity(V1.Affinity.Builder builderForValue)
If specified, the pod's scheduling constraints
+optional
|
V1.PodSpec.Builder |
setAffinity(V1.Affinity value)
If specified, the pod's scheduling constraints
+optional
|
V1.PodSpec.Builder |
setAutomountServiceAccountToken(boolean value)
AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.
|
V1.PodSpec.Builder |
setContainers(int index,
V1.Container.Builder builderForValue)
List of containers belonging to the pod.
|
V1.PodSpec.Builder |
setContainers(int index,
V1.Container value)
List of containers belonging to the pod.
|
V1.PodSpec.Builder |
setDnsConfig(V1.PodDNSConfig.Builder builderForValue)
Specifies the DNS parameters of a pod.
|
V1.PodSpec.Builder |
setDnsConfig(V1.PodDNSConfig value)
Specifies the DNS parameters of a pod.
|
V1.PodSpec.Builder |
setDnsPolicy(String value)
Set DNS policy for the pod.
|
V1.PodSpec.Builder |
setDnsPolicyBytes(com.google.protobuf.ByteString value)
Set DNS policy for the pod.
|
V1.PodSpec.Builder |
setEnableServiceLinks(boolean value)
EnableServiceLinks indicates whether information about services should be injected into pod's
environment variables, matching the syntax of Docker links.
|
V1.PodSpec.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.PodSpec.Builder |
setHostAliases(int index,
V1.HostAlias.Builder builderForValue)
HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts
file if specified.
|
V1.PodSpec.Builder |
setHostAliases(int index,
V1.HostAlias value)
HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts
file if specified.
|
V1.PodSpec.Builder |
setHostIPC(boolean value)
Use the host's ipc namespace.
|
V1.PodSpec.Builder |
setHostname(String value)
Specifies the hostname of the Pod
If not specified, the pod's hostname will be set to a system-defined value.
|
V1.PodSpec.Builder |
setHostnameBytes(com.google.protobuf.ByteString value)
Specifies the hostname of the Pod
If not specified, the pod's hostname will be set to a system-defined value.
|
V1.PodSpec.Builder |
setHostNetwork(boolean value)
Host networking requested for this pod.
|
V1.PodSpec.Builder |
setHostPID(boolean value)
Use the host's pid namespace.
|
V1.PodSpec.Builder |
setImagePullSecrets(int index,
V1.LocalObjectReference.Builder builderForValue)
ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec.
|
V1.PodSpec.Builder |
setImagePullSecrets(int index,
V1.LocalObjectReference value)
ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec.
|
V1.PodSpec.Builder |
setInitContainers(int index,
V1.Container.Builder builderForValue)
List of initialization containers belonging to the pod.
|
V1.PodSpec.Builder |
setInitContainers(int index,
V1.Container value)
List of initialization containers belonging to the pod.
|
V1.PodSpec.Builder |
setNodeName(String value)
NodeName is a request to schedule this pod onto a specific node.
|
V1.PodSpec.Builder |
setNodeNameBytes(com.google.protobuf.ByteString value)
NodeName is a request to schedule this pod onto a specific node.
|
V1.PodSpec.Builder |
setPriority(int value)
The priority value.
|
V1.PodSpec.Builder |
setPriorityClassName(String value)
If specified, indicates the pod's priority.
|
V1.PodSpec.Builder |
setPriorityClassNameBytes(com.google.protobuf.ByteString value)
If specified, indicates the pod's priority.
|
V1.PodSpec.Builder |
setReadinessGates(int index,
V1.PodReadinessGate.Builder builderForValue)
If specified, all readiness gates will be evaluated for pod readiness.
|
V1.PodSpec.Builder |
setReadinessGates(int index,
V1.PodReadinessGate value)
If specified, all readiness gates will be evaluated for pod readiness.
|
V1.PodSpec.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1.PodSpec.Builder |
setRestartPolicy(String value)
Restart policy for all containers within the pod.
|
V1.PodSpec.Builder |
setRestartPolicyBytes(com.google.protobuf.ByteString value)
Restart policy for all containers within the pod.
|
V1.PodSpec.Builder |
setRuntimeClassName(String value)
RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used
to run this pod.
|
V1.PodSpec.Builder |
setRuntimeClassNameBytes(com.google.protobuf.ByteString value)
RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used
to run this pod.
|
V1.PodSpec.Builder |
setSchedulerName(String value)
If specified, the pod will be dispatched by specified scheduler.
|
V1.PodSpec.Builder |
setSchedulerNameBytes(com.google.protobuf.ByteString value)
If specified, the pod will be dispatched by specified scheduler.
|
V1.PodSpec.Builder |
setSecurityContext(V1.PodSecurityContext.Builder builderForValue)
SecurityContext holds pod-level security attributes and common container settings.
|
V1.PodSpec.Builder |
setSecurityContext(V1.PodSecurityContext value)
SecurityContext holds pod-level security attributes and common container settings.
|
V1.PodSpec.Builder |
setServiceAccount(String value)
DeprecatedServiceAccount is a depreciated alias for ServiceAccountName.
|
V1.PodSpec.Builder |
setServiceAccountBytes(com.google.protobuf.ByteString value)
DeprecatedServiceAccount is a depreciated alias for ServiceAccountName.
|
V1.PodSpec.Builder |
setServiceAccountName(String value)
ServiceAccountName is the name of the ServiceAccount to use to run this pod.
|
V1.PodSpec.Builder |
setServiceAccountNameBytes(com.google.protobuf.ByteString value)
ServiceAccountName is the name of the ServiceAccount to use to run this pod.
|
V1.PodSpec.Builder |
setShareProcessNamespace(boolean value)
Share a single process namespace between all of the containers in a pod.
|
V1.PodSpec.Builder |
setSubdomain(String value)
If specified, the fully qualified Pod hostname will be "<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>".
|
V1.PodSpec.Builder |
setSubdomainBytes(com.google.protobuf.ByteString value)
If specified, the fully qualified Pod hostname will be "<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>".
|
V1.PodSpec.Builder |
setTerminationGracePeriodSeconds(long value)
Optional duration in seconds the pod needs to terminate gracefully.
|
V1.PodSpec.Builder |
setTolerations(int index,
V1.Toleration.Builder builderForValue)
If specified, the pod's tolerations.
|
V1.PodSpec.Builder |
setTolerations(int index,
V1.Toleration value)
If specified, the pod's tolerations.
|
V1.PodSpec.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.PodSpec.Builder |
setVolumes(int index,
V1.Volume.Builder builderForValue)
List of volumes that can be mounted by containers belonging to the pod.
|
V1.PodSpec.Builder |
setVolumes(int index,
V1.Volume value)
List of volumes that can be mounted by containers belonging to the pod.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodSpec.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodSpec.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodSpec.Builder>public V1.PodSpec.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodSpec.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodSpec.Builder>public V1.PodSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1.PodSpec build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1.PodSpec buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1.PodSpec.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodSpec.Builder>public V1.PodSpec.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodSpec.Builder>public V1.PodSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodSpec.Builder>public V1.PodSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodSpec.Builder>public V1.PodSpec.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodSpec.Builder>public V1.PodSpec.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodSpec.Builder>public V1.PodSpec.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.PodSpec.Builder>public V1.PodSpec.Builder mergeFrom(V1.PodSpec other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodSpec.Builder>public V1.PodSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.PodSpec.Builder>IOExceptionpublic List<V1.Volume> getVolumesList()
List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes +optional +patchMergeKey=name +patchStrategy=merge,retainKeys
repeated .k8s.io.api.core.v1.Volume volumes = 1;getVolumesList in interface V1.PodSpecOrBuilderpublic int getVolumesCount()
List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes +optional +patchMergeKey=name +patchStrategy=merge,retainKeys
repeated .k8s.io.api.core.v1.Volume volumes = 1;getVolumesCount in interface V1.PodSpecOrBuilderpublic V1.Volume getVolumes(int index)
List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes +optional +patchMergeKey=name +patchStrategy=merge,retainKeys
repeated .k8s.io.api.core.v1.Volume volumes = 1;getVolumes in interface V1.PodSpecOrBuilderpublic V1.PodSpec.Builder setVolumes(int index, V1.Volume value)
List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes +optional +patchMergeKey=name +patchStrategy=merge,retainKeys
repeated .k8s.io.api.core.v1.Volume volumes = 1;public V1.PodSpec.Builder setVolumes(int index, V1.Volume.Builder builderForValue)
List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes +optional +patchMergeKey=name +patchStrategy=merge,retainKeys
repeated .k8s.io.api.core.v1.Volume volumes = 1;public V1.PodSpec.Builder addVolumes(V1.Volume value)
List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes +optional +patchMergeKey=name +patchStrategy=merge,retainKeys
repeated .k8s.io.api.core.v1.Volume volumes = 1;public V1.PodSpec.Builder addVolumes(int index, V1.Volume value)
List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes +optional +patchMergeKey=name +patchStrategy=merge,retainKeys
repeated .k8s.io.api.core.v1.Volume volumes = 1;public V1.PodSpec.Builder addVolumes(V1.Volume.Builder builderForValue)
List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes +optional +patchMergeKey=name +patchStrategy=merge,retainKeys
repeated .k8s.io.api.core.v1.Volume volumes = 1;public V1.PodSpec.Builder addVolumes(int index, V1.Volume.Builder builderForValue)
List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes +optional +patchMergeKey=name +patchStrategy=merge,retainKeys
repeated .k8s.io.api.core.v1.Volume volumes = 1;public V1.PodSpec.Builder addAllVolumes(Iterable<? extends V1.Volume> values)
List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes +optional +patchMergeKey=name +patchStrategy=merge,retainKeys
repeated .k8s.io.api.core.v1.Volume volumes = 1;public V1.PodSpec.Builder clearVolumes()
List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes +optional +patchMergeKey=name +patchStrategy=merge,retainKeys
repeated .k8s.io.api.core.v1.Volume volumes = 1;public V1.PodSpec.Builder removeVolumes(int index)
List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes +optional +patchMergeKey=name +patchStrategy=merge,retainKeys
repeated .k8s.io.api.core.v1.Volume volumes = 1;public V1.Volume.Builder getVolumesBuilder(int index)
List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes +optional +patchMergeKey=name +patchStrategy=merge,retainKeys
repeated .k8s.io.api.core.v1.Volume volumes = 1;public V1.VolumeOrBuilder getVolumesOrBuilder(int index)
List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes +optional +patchMergeKey=name +patchStrategy=merge,retainKeys
repeated .k8s.io.api.core.v1.Volume volumes = 1;getVolumesOrBuilder in interface V1.PodSpecOrBuilderpublic List<? extends V1.VolumeOrBuilder> getVolumesOrBuilderList()
List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes +optional +patchMergeKey=name +patchStrategy=merge,retainKeys
repeated .k8s.io.api.core.v1.Volume volumes = 1;getVolumesOrBuilderList in interface V1.PodSpecOrBuilderpublic V1.Volume.Builder addVolumesBuilder()
List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes +optional +patchMergeKey=name +patchStrategy=merge,retainKeys
repeated .k8s.io.api.core.v1.Volume volumes = 1;public V1.Volume.Builder addVolumesBuilder(int index)
List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes +optional +patchMergeKey=name +patchStrategy=merge,retainKeys
repeated .k8s.io.api.core.v1.Volume volumes = 1;public List<V1.Volume.Builder> getVolumesBuilderList()
List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes +optional +patchMergeKey=name +patchStrategy=merge,retainKeys
repeated .k8s.io.api.core.v1.Volume volumes = 1;public List<V1.Container> getInitContainersList()
List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, or Liveness probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.Container initContainers = 20;getInitContainersList in interface V1.PodSpecOrBuilderpublic int getInitContainersCount()
List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, or Liveness probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.Container initContainers = 20;getInitContainersCount in interface V1.PodSpecOrBuilderpublic V1.Container getInitContainers(int index)
List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, or Liveness probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.Container initContainers = 20;getInitContainers in interface V1.PodSpecOrBuilderpublic V1.PodSpec.Builder setInitContainers(int index, V1.Container value)
List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, or Liveness probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.Container initContainers = 20;public V1.PodSpec.Builder setInitContainers(int index, V1.Container.Builder builderForValue)
List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, or Liveness probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.Container initContainers = 20;public V1.PodSpec.Builder addInitContainers(V1.Container value)
List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, or Liveness probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.Container initContainers = 20;public V1.PodSpec.Builder addInitContainers(int index, V1.Container value)
List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, or Liveness probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.Container initContainers = 20;public V1.PodSpec.Builder addInitContainers(V1.Container.Builder builderForValue)
List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, or Liveness probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.Container initContainers = 20;public V1.PodSpec.Builder addInitContainers(int index, V1.Container.Builder builderForValue)
List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, or Liveness probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.Container initContainers = 20;public V1.PodSpec.Builder addAllInitContainers(Iterable<? extends V1.Container> values)
List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, or Liveness probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.Container initContainers = 20;public V1.PodSpec.Builder clearInitContainers()
List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, or Liveness probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.Container initContainers = 20;public V1.PodSpec.Builder removeInitContainers(int index)
List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, or Liveness probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.Container initContainers = 20;public V1.Container.Builder getInitContainersBuilder(int index)
List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, or Liveness probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.Container initContainers = 20;public V1.ContainerOrBuilder getInitContainersOrBuilder(int index)
List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, or Liveness probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.Container initContainers = 20;getInitContainersOrBuilder in interface V1.PodSpecOrBuilderpublic List<? extends V1.ContainerOrBuilder> getInitContainersOrBuilderList()
List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, or Liveness probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.Container initContainers = 20;getInitContainersOrBuilderList in interface V1.PodSpecOrBuilderpublic V1.Container.Builder addInitContainersBuilder()
List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, or Liveness probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.Container initContainers = 20;public V1.Container.Builder addInitContainersBuilder(int index)
List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, or Liveness probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.Container initContainers = 20;public List<V1.Container.Builder> getInitContainersBuilderList()
List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, or Liveness probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.Container initContainers = 20;public List<V1.Container> getContainersList()
List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated. +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.Container containers = 2;getContainersList in interface V1.PodSpecOrBuilderpublic int getContainersCount()
List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated. +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.Container containers = 2;getContainersCount in interface V1.PodSpecOrBuilderpublic V1.Container getContainers(int index)
List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated. +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.Container containers = 2;getContainers in interface V1.PodSpecOrBuilderpublic V1.PodSpec.Builder setContainers(int index, V1.Container value)
List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated. +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.Container containers = 2;public V1.PodSpec.Builder setContainers(int index, V1.Container.Builder builderForValue)
List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated. +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.Container containers = 2;public V1.PodSpec.Builder addContainers(V1.Container value)
List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated. +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.Container containers = 2;public V1.PodSpec.Builder addContainers(int index, V1.Container value)
List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated. +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.Container containers = 2;public V1.PodSpec.Builder addContainers(V1.Container.Builder builderForValue)
List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated. +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.Container containers = 2;public V1.PodSpec.Builder addContainers(int index, V1.Container.Builder builderForValue)
List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated. +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.Container containers = 2;public V1.PodSpec.Builder addAllContainers(Iterable<? extends V1.Container> values)
List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated. +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.Container containers = 2;public V1.PodSpec.Builder clearContainers()
List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated. +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.Container containers = 2;public V1.PodSpec.Builder removeContainers(int index)
List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated. +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.Container containers = 2;public V1.Container.Builder getContainersBuilder(int index)
List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated. +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.Container containers = 2;public V1.ContainerOrBuilder getContainersOrBuilder(int index)
List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated. +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.Container containers = 2;getContainersOrBuilder in interface V1.PodSpecOrBuilderpublic List<? extends V1.ContainerOrBuilder> getContainersOrBuilderList()
List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated. +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.Container containers = 2;getContainersOrBuilderList in interface V1.PodSpecOrBuilderpublic V1.Container.Builder addContainersBuilder()
List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated. +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.Container containers = 2;public V1.Container.Builder addContainersBuilder(int index)
List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated. +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.Container containers = 2;public List<V1.Container.Builder> getContainersBuilderList()
List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated. +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.Container containers = 2;public boolean hasRestartPolicy()
Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy +optional
optional string restartPolicy = 3;hasRestartPolicy in interface V1.PodSpecOrBuilderpublic String getRestartPolicy()
Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy +optional
optional string restartPolicy = 3;getRestartPolicy in interface V1.PodSpecOrBuilderpublic com.google.protobuf.ByteString getRestartPolicyBytes()
Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy +optional
optional string restartPolicy = 3;getRestartPolicyBytes in interface V1.PodSpecOrBuilderpublic V1.PodSpec.Builder setRestartPolicy(String value)
Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy +optional
optional string restartPolicy = 3;public V1.PodSpec.Builder clearRestartPolicy()
Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy +optional
optional string restartPolicy = 3;public V1.PodSpec.Builder setRestartPolicyBytes(com.google.protobuf.ByteString value)
Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy +optional
optional string restartPolicy = 3;public boolean hasTerminationGracePeriodSeconds()
Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds. +optional
optional int64 terminationGracePeriodSeconds = 4;hasTerminationGracePeriodSeconds in interface V1.PodSpecOrBuilderpublic long getTerminationGracePeriodSeconds()
Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds. +optional
optional int64 terminationGracePeriodSeconds = 4;getTerminationGracePeriodSeconds in interface V1.PodSpecOrBuilderpublic V1.PodSpec.Builder setTerminationGracePeriodSeconds(long value)
Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds. +optional
optional int64 terminationGracePeriodSeconds = 4;public V1.PodSpec.Builder clearTerminationGracePeriodSeconds()
Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds. +optional
optional int64 terminationGracePeriodSeconds = 4;public boolean hasActiveDeadlineSeconds()
Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer. +optional
optional int64 activeDeadlineSeconds = 5;hasActiveDeadlineSeconds in interface V1.PodSpecOrBuilderpublic long getActiveDeadlineSeconds()
Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer. +optional
optional int64 activeDeadlineSeconds = 5;getActiveDeadlineSeconds in interface V1.PodSpecOrBuilderpublic V1.PodSpec.Builder setActiveDeadlineSeconds(long value)
Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer. +optional
optional int64 activeDeadlineSeconds = 5;public V1.PodSpec.Builder clearActiveDeadlineSeconds()
Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer. +optional
optional int64 activeDeadlineSeconds = 5;public boolean hasDnsPolicy()
Set DNS policy for the pod. Defaults to "ClusterFirst". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'. +optional
optional string dnsPolicy = 6;hasDnsPolicy in interface V1.PodSpecOrBuilderpublic String getDnsPolicy()
Set DNS policy for the pod. Defaults to "ClusterFirst". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'. +optional
optional string dnsPolicy = 6;getDnsPolicy in interface V1.PodSpecOrBuilderpublic com.google.protobuf.ByteString getDnsPolicyBytes()
Set DNS policy for the pod. Defaults to "ClusterFirst". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'. +optional
optional string dnsPolicy = 6;getDnsPolicyBytes in interface V1.PodSpecOrBuilderpublic V1.PodSpec.Builder setDnsPolicy(String value)
Set DNS policy for the pod. Defaults to "ClusterFirst". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'. +optional
optional string dnsPolicy = 6;public V1.PodSpec.Builder clearDnsPolicy()
Set DNS policy for the pod. Defaults to "ClusterFirst". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'. +optional
optional string dnsPolicy = 6;public V1.PodSpec.Builder setDnsPolicyBytes(com.google.protobuf.ByteString value)
Set DNS policy for the pod. Defaults to "ClusterFirst". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'. +optional
optional string dnsPolicy = 6;public int getNodeSelectorCount()
V1.PodSpecOrBuilderNodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ +optional
map<string, string> nodeSelector = 7;getNodeSelectorCount in interface V1.PodSpecOrBuilderpublic boolean containsNodeSelector(String key)
NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ +optional
map<string, string> nodeSelector = 7;containsNodeSelector in interface V1.PodSpecOrBuilder@Deprecated public Map<String,String> getNodeSelector()
getNodeSelectorMap() instead.getNodeSelector in interface V1.PodSpecOrBuilderpublic Map<String,String> getNodeSelectorMap()
NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ +optional
map<string, string> nodeSelector = 7;getNodeSelectorMap in interface V1.PodSpecOrBuilderpublic String getNodeSelectorOrDefault(String key, String defaultValue)
NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ +optional
map<string, string> nodeSelector = 7;getNodeSelectorOrDefault in interface V1.PodSpecOrBuilderpublic String getNodeSelectorOrThrow(String key)
NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ +optional
map<string, string> nodeSelector = 7;getNodeSelectorOrThrow in interface V1.PodSpecOrBuilderpublic V1.PodSpec.Builder clearNodeSelector()
public V1.PodSpec.Builder removeNodeSelector(String key)
NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ +optional
map<string, string> nodeSelector = 7;@Deprecated public Map<String,String> getMutableNodeSelector()
public V1.PodSpec.Builder putNodeSelector(String key, String value)
NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ +optional
map<string, string> nodeSelector = 7;public V1.PodSpec.Builder putAllNodeSelector(Map<String,String> values)
NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ +optional
map<string, string> nodeSelector = 7;public boolean hasServiceAccountName()
ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ +optional
optional string serviceAccountName = 8;hasServiceAccountName in interface V1.PodSpecOrBuilderpublic String getServiceAccountName()
ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ +optional
optional string serviceAccountName = 8;getServiceAccountName in interface V1.PodSpecOrBuilderpublic com.google.protobuf.ByteString getServiceAccountNameBytes()
ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ +optional
optional string serviceAccountName = 8;getServiceAccountNameBytes in interface V1.PodSpecOrBuilderpublic V1.PodSpec.Builder setServiceAccountName(String value)
ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ +optional
optional string serviceAccountName = 8;public V1.PodSpec.Builder clearServiceAccountName()
ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ +optional
optional string serviceAccountName = 8;public V1.PodSpec.Builder setServiceAccountNameBytes(com.google.protobuf.ByteString value)
ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ +optional
optional string serviceAccountName = 8;public boolean hasServiceAccount()
DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead. +k8s:conversion-gen=false +optional
optional string serviceAccount = 9;hasServiceAccount in interface V1.PodSpecOrBuilderpublic String getServiceAccount()
DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead. +k8s:conversion-gen=false +optional
optional string serviceAccount = 9;getServiceAccount in interface V1.PodSpecOrBuilderpublic com.google.protobuf.ByteString getServiceAccountBytes()
DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead. +k8s:conversion-gen=false +optional
optional string serviceAccount = 9;getServiceAccountBytes in interface V1.PodSpecOrBuilderpublic V1.PodSpec.Builder setServiceAccount(String value)
DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead. +k8s:conversion-gen=false +optional
optional string serviceAccount = 9;public V1.PodSpec.Builder clearServiceAccount()
DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead. +k8s:conversion-gen=false +optional
optional string serviceAccount = 9;public V1.PodSpec.Builder setServiceAccountBytes(com.google.protobuf.ByteString value)
DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead. +k8s:conversion-gen=false +optional
optional string serviceAccount = 9;public boolean hasAutomountServiceAccountToken()
AutomountServiceAccountToken indicates whether a service account token should be automatically mounted. +optional
optional bool automountServiceAccountToken = 21;hasAutomountServiceAccountToken in interface V1.PodSpecOrBuilderpublic boolean getAutomountServiceAccountToken()
AutomountServiceAccountToken indicates whether a service account token should be automatically mounted. +optional
optional bool automountServiceAccountToken = 21;getAutomountServiceAccountToken in interface V1.PodSpecOrBuilderpublic V1.PodSpec.Builder setAutomountServiceAccountToken(boolean value)
AutomountServiceAccountToken indicates whether a service account token should be automatically mounted. +optional
optional bool automountServiceAccountToken = 21;public V1.PodSpec.Builder clearAutomountServiceAccountToken()
AutomountServiceAccountToken indicates whether a service account token should be automatically mounted. +optional
optional bool automountServiceAccountToken = 21;public boolean hasNodeName()
NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements. +optional
optional string nodeName = 10;hasNodeName in interface V1.PodSpecOrBuilderpublic String getNodeName()
NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements. +optional
optional string nodeName = 10;getNodeName in interface V1.PodSpecOrBuilderpublic com.google.protobuf.ByteString getNodeNameBytes()
NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements. +optional
optional string nodeName = 10;getNodeNameBytes in interface V1.PodSpecOrBuilderpublic V1.PodSpec.Builder setNodeName(String value)
NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements. +optional
optional string nodeName = 10;public V1.PodSpec.Builder clearNodeName()
NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements. +optional
optional string nodeName = 10;public V1.PodSpec.Builder setNodeNameBytes(com.google.protobuf.ByteString value)
NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements. +optional
optional string nodeName = 10;public boolean hasHostNetwork()
Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false. +k8s:conversion-gen=false +optional
optional bool hostNetwork = 11;hasHostNetwork in interface V1.PodSpecOrBuilderpublic boolean getHostNetwork()
Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false. +k8s:conversion-gen=false +optional
optional bool hostNetwork = 11;getHostNetwork in interface V1.PodSpecOrBuilderpublic V1.PodSpec.Builder setHostNetwork(boolean value)
Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false. +k8s:conversion-gen=false +optional
optional bool hostNetwork = 11;public V1.PodSpec.Builder clearHostNetwork()
Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false. +k8s:conversion-gen=false +optional
optional bool hostNetwork = 11;public boolean hasHostPID()
Use the host's pid namespace. Optional: Default to false. +k8s:conversion-gen=false +optional
optional bool hostPID = 12;hasHostPID in interface V1.PodSpecOrBuilderpublic boolean getHostPID()
Use the host's pid namespace. Optional: Default to false. +k8s:conversion-gen=false +optional
optional bool hostPID = 12;getHostPID in interface V1.PodSpecOrBuilderpublic V1.PodSpec.Builder setHostPID(boolean value)
Use the host's pid namespace. Optional: Default to false. +k8s:conversion-gen=false +optional
optional bool hostPID = 12;public V1.PodSpec.Builder clearHostPID()
Use the host's pid namespace. Optional: Default to false. +k8s:conversion-gen=false +optional
optional bool hostPID = 12;public boolean hasHostIPC()
Use the host's ipc namespace. Optional: Default to false. +k8s:conversion-gen=false +optional
optional bool hostIPC = 13;hasHostIPC in interface V1.PodSpecOrBuilderpublic boolean getHostIPC()
Use the host's ipc namespace. Optional: Default to false. +k8s:conversion-gen=false +optional
optional bool hostIPC = 13;getHostIPC in interface V1.PodSpecOrBuilderpublic V1.PodSpec.Builder setHostIPC(boolean value)
Use the host's ipc namespace. Optional: Default to false. +k8s:conversion-gen=false +optional
optional bool hostIPC = 13;public V1.PodSpec.Builder clearHostIPC()
Use the host's ipc namespace. Optional: Default to false. +k8s:conversion-gen=false +optional
optional bool hostIPC = 13;public boolean hasShareProcessNamespace()
Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature. +k8s:conversion-gen=false +optional
optional bool shareProcessNamespace = 27;hasShareProcessNamespace in interface V1.PodSpecOrBuilderpublic boolean getShareProcessNamespace()
Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature. +k8s:conversion-gen=false +optional
optional bool shareProcessNamespace = 27;getShareProcessNamespace in interface V1.PodSpecOrBuilderpublic V1.PodSpec.Builder setShareProcessNamespace(boolean value)
Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature. +k8s:conversion-gen=false +optional
optional bool shareProcessNamespace = 27;public V1.PodSpec.Builder clearShareProcessNamespace()
Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature. +k8s:conversion-gen=false +optional
optional bool shareProcessNamespace = 27;public boolean hasSecurityContext()
SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field. +optional
optional .k8s.io.api.core.v1.PodSecurityContext securityContext = 14;hasSecurityContext in interface V1.PodSpecOrBuilderpublic V1.PodSecurityContext getSecurityContext()
SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field. +optional
optional .k8s.io.api.core.v1.PodSecurityContext securityContext = 14;getSecurityContext in interface V1.PodSpecOrBuilderpublic V1.PodSpec.Builder setSecurityContext(V1.PodSecurityContext value)
SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field. +optional
optional .k8s.io.api.core.v1.PodSecurityContext securityContext = 14;public V1.PodSpec.Builder setSecurityContext(V1.PodSecurityContext.Builder builderForValue)
SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field. +optional
optional .k8s.io.api.core.v1.PodSecurityContext securityContext = 14;public V1.PodSpec.Builder mergeSecurityContext(V1.PodSecurityContext value)
SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field. +optional
optional .k8s.io.api.core.v1.PodSecurityContext securityContext = 14;public V1.PodSpec.Builder clearSecurityContext()
SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field. +optional
optional .k8s.io.api.core.v1.PodSecurityContext securityContext = 14;public V1.PodSecurityContext.Builder getSecurityContextBuilder()
SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field. +optional
optional .k8s.io.api.core.v1.PodSecurityContext securityContext = 14;public V1.PodSecurityContextOrBuilder getSecurityContextOrBuilder()
SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field. +optional
optional .k8s.io.api.core.v1.PodSecurityContext securityContext = 14;getSecurityContextOrBuilder in interface V1.PodSpecOrBuilderpublic List<V1.LocalObjectReference> getImagePullSecretsList()
ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 15;getImagePullSecretsList in interface V1.PodSpecOrBuilderpublic int getImagePullSecretsCount()
ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 15;getImagePullSecretsCount in interface V1.PodSpecOrBuilderpublic V1.LocalObjectReference getImagePullSecrets(int index)
ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 15;getImagePullSecrets in interface V1.PodSpecOrBuilderpublic V1.PodSpec.Builder setImagePullSecrets(int index, V1.LocalObjectReference value)
ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 15;public V1.PodSpec.Builder setImagePullSecrets(int index, V1.LocalObjectReference.Builder builderForValue)
ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 15;public V1.PodSpec.Builder addImagePullSecrets(V1.LocalObjectReference value)
ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 15;public V1.PodSpec.Builder addImagePullSecrets(int index, V1.LocalObjectReference value)
ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 15;public V1.PodSpec.Builder addImagePullSecrets(V1.LocalObjectReference.Builder builderForValue)
ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 15;public V1.PodSpec.Builder addImagePullSecrets(int index, V1.LocalObjectReference.Builder builderForValue)
ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 15;public V1.PodSpec.Builder addAllImagePullSecrets(Iterable<? extends V1.LocalObjectReference> values)
ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 15;public V1.PodSpec.Builder clearImagePullSecrets()
ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 15;public V1.PodSpec.Builder removeImagePullSecrets(int index)
ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 15;public V1.LocalObjectReference.Builder getImagePullSecretsBuilder(int index)
ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 15;public V1.LocalObjectReferenceOrBuilder getImagePullSecretsOrBuilder(int index)
ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 15;getImagePullSecretsOrBuilder in interface V1.PodSpecOrBuilderpublic List<? extends V1.LocalObjectReferenceOrBuilder> getImagePullSecretsOrBuilderList()
ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 15;getImagePullSecretsOrBuilderList in interface V1.PodSpecOrBuilderpublic V1.LocalObjectReference.Builder addImagePullSecretsBuilder()
ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 15;public V1.LocalObjectReference.Builder addImagePullSecretsBuilder(int index)
ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 15;public List<V1.LocalObjectReference.Builder> getImagePullSecretsBuilderList()
ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 15;public boolean hasHostname()
Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value. +optional
optional string hostname = 16;hasHostname in interface V1.PodSpecOrBuilderpublic String getHostname()
Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value. +optional
optional string hostname = 16;getHostname in interface V1.PodSpecOrBuilderpublic com.google.protobuf.ByteString getHostnameBytes()
Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value. +optional
optional string hostname = 16;getHostnameBytes in interface V1.PodSpecOrBuilderpublic V1.PodSpec.Builder setHostname(String value)
Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value. +optional
optional string hostname = 16;public V1.PodSpec.Builder clearHostname()
Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value. +optional
optional string hostname = 16;public V1.PodSpec.Builder setHostnameBytes(com.google.protobuf.ByteString value)
Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value. +optional
optional string hostname = 16;public boolean hasSubdomain()
If specified, the fully qualified Pod hostname will be "<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>". If not specified, the pod will not have a domainname at all. +optional
optional string subdomain = 17;hasSubdomain in interface V1.PodSpecOrBuilderpublic String getSubdomain()
If specified, the fully qualified Pod hostname will be "<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>". If not specified, the pod will not have a domainname at all. +optional
optional string subdomain = 17;getSubdomain in interface V1.PodSpecOrBuilderpublic com.google.protobuf.ByteString getSubdomainBytes()
If specified, the fully qualified Pod hostname will be "<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>". If not specified, the pod will not have a domainname at all. +optional
optional string subdomain = 17;getSubdomainBytes in interface V1.PodSpecOrBuilderpublic V1.PodSpec.Builder setSubdomain(String value)
If specified, the fully qualified Pod hostname will be "<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>". If not specified, the pod will not have a domainname at all. +optional
optional string subdomain = 17;public V1.PodSpec.Builder clearSubdomain()
If specified, the fully qualified Pod hostname will be "<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>". If not specified, the pod will not have a domainname at all. +optional
optional string subdomain = 17;public V1.PodSpec.Builder setSubdomainBytes(com.google.protobuf.ByteString value)
If specified, the fully qualified Pod hostname will be "<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>". If not specified, the pod will not have a domainname at all. +optional
optional string subdomain = 17;public boolean hasAffinity()
If specified, the pod's scheduling constraints +optional
optional .k8s.io.api.core.v1.Affinity affinity = 18;hasAffinity in interface V1.PodSpecOrBuilderpublic V1.Affinity getAffinity()
If specified, the pod's scheduling constraints +optional
optional .k8s.io.api.core.v1.Affinity affinity = 18;getAffinity in interface V1.PodSpecOrBuilderpublic V1.PodSpec.Builder setAffinity(V1.Affinity value)
If specified, the pod's scheduling constraints +optional
optional .k8s.io.api.core.v1.Affinity affinity = 18;public V1.PodSpec.Builder setAffinity(V1.Affinity.Builder builderForValue)
If specified, the pod's scheduling constraints +optional
optional .k8s.io.api.core.v1.Affinity affinity = 18;public V1.PodSpec.Builder mergeAffinity(V1.Affinity value)
If specified, the pod's scheduling constraints +optional
optional .k8s.io.api.core.v1.Affinity affinity = 18;public V1.PodSpec.Builder clearAffinity()
If specified, the pod's scheduling constraints +optional
optional .k8s.io.api.core.v1.Affinity affinity = 18;public V1.Affinity.Builder getAffinityBuilder()
If specified, the pod's scheduling constraints +optional
optional .k8s.io.api.core.v1.Affinity affinity = 18;public V1.AffinityOrBuilder getAffinityOrBuilder()
If specified, the pod's scheduling constraints +optional
optional .k8s.io.api.core.v1.Affinity affinity = 18;getAffinityOrBuilder in interface V1.PodSpecOrBuilderpublic boolean hasSchedulerName()
If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler. +optional
optional string schedulerName = 19;hasSchedulerName in interface V1.PodSpecOrBuilderpublic String getSchedulerName()
If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler. +optional
optional string schedulerName = 19;getSchedulerName in interface V1.PodSpecOrBuilderpublic com.google.protobuf.ByteString getSchedulerNameBytes()
If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler. +optional
optional string schedulerName = 19;getSchedulerNameBytes in interface V1.PodSpecOrBuilderpublic V1.PodSpec.Builder setSchedulerName(String value)
If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler. +optional
optional string schedulerName = 19;public V1.PodSpec.Builder clearSchedulerName()
If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler. +optional
optional string schedulerName = 19;public V1.PodSpec.Builder setSchedulerNameBytes(com.google.protobuf.ByteString value)
If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler. +optional
optional string schedulerName = 19;public List<V1.Toleration> getTolerationsList()
If specified, the pod's tolerations. +optional
repeated .k8s.io.api.core.v1.Toleration tolerations = 22;getTolerationsList in interface V1.PodSpecOrBuilderpublic int getTolerationsCount()
If specified, the pod's tolerations. +optional
repeated .k8s.io.api.core.v1.Toleration tolerations = 22;getTolerationsCount in interface V1.PodSpecOrBuilderpublic V1.Toleration getTolerations(int index)
If specified, the pod's tolerations. +optional
repeated .k8s.io.api.core.v1.Toleration tolerations = 22;getTolerations in interface V1.PodSpecOrBuilderpublic V1.PodSpec.Builder setTolerations(int index, V1.Toleration value)
If specified, the pod's tolerations. +optional
repeated .k8s.io.api.core.v1.Toleration tolerations = 22;public V1.PodSpec.Builder setTolerations(int index, V1.Toleration.Builder builderForValue)
If specified, the pod's tolerations. +optional
repeated .k8s.io.api.core.v1.Toleration tolerations = 22;public V1.PodSpec.Builder addTolerations(V1.Toleration value)
If specified, the pod's tolerations. +optional
repeated .k8s.io.api.core.v1.Toleration tolerations = 22;public V1.PodSpec.Builder addTolerations(int index, V1.Toleration value)
If specified, the pod's tolerations. +optional
repeated .k8s.io.api.core.v1.Toleration tolerations = 22;public V1.PodSpec.Builder addTolerations(V1.Toleration.Builder builderForValue)
If specified, the pod's tolerations. +optional
repeated .k8s.io.api.core.v1.Toleration tolerations = 22;public V1.PodSpec.Builder addTolerations(int index, V1.Toleration.Builder builderForValue)
If specified, the pod's tolerations. +optional
repeated .k8s.io.api.core.v1.Toleration tolerations = 22;public V1.PodSpec.Builder addAllTolerations(Iterable<? extends V1.Toleration> values)
If specified, the pod's tolerations. +optional
repeated .k8s.io.api.core.v1.Toleration tolerations = 22;public V1.PodSpec.Builder clearTolerations()
If specified, the pod's tolerations. +optional
repeated .k8s.io.api.core.v1.Toleration tolerations = 22;public V1.PodSpec.Builder removeTolerations(int index)
If specified, the pod's tolerations. +optional
repeated .k8s.io.api.core.v1.Toleration tolerations = 22;public V1.Toleration.Builder getTolerationsBuilder(int index)
If specified, the pod's tolerations. +optional
repeated .k8s.io.api.core.v1.Toleration tolerations = 22;public V1.TolerationOrBuilder getTolerationsOrBuilder(int index)
If specified, the pod's tolerations. +optional
repeated .k8s.io.api.core.v1.Toleration tolerations = 22;getTolerationsOrBuilder in interface V1.PodSpecOrBuilderpublic List<? extends V1.TolerationOrBuilder> getTolerationsOrBuilderList()
If specified, the pod's tolerations. +optional
repeated .k8s.io.api.core.v1.Toleration tolerations = 22;getTolerationsOrBuilderList in interface V1.PodSpecOrBuilderpublic V1.Toleration.Builder addTolerationsBuilder()
If specified, the pod's tolerations. +optional
repeated .k8s.io.api.core.v1.Toleration tolerations = 22;public V1.Toleration.Builder addTolerationsBuilder(int index)
If specified, the pod's tolerations. +optional
repeated .k8s.io.api.core.v1.Toleration tolerations = 22;public List<V1.Toleration.Builder> getTolerationsBuilderList()
If specified, the pod's tolerations. +optional
repeated .k8s.io.api.core.v1.Toleration tolerations = 22;public List<V1.HostAlias> getHostAliasesList()
HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods. +optional +patchMergeKey=ip +patchStrategy=merge
repeated .k8s.io.api.core.v1.HostAlias hostAliases = 23;getHostAliasesList in interface V1.PodSpecOrBuilderpublic int getHostAliasesCount()
HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods. +optional +patchMergeKey=ip +patchStrategy=merge
repeated .k8s.io.api.core.v1.HostAlias hostAliases = 23;getHostAliasesCount in interface V1.PodSpecOrBuilderpublic V1.HostAlias getHostAliases(int index)
HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods. +optional +patchMergeKey=ip +patchStrategy=merge
repeated .k8s.io.api.core.v1.HostAlias hostAliases = 23;getHostAliases in interface V1.PodSpecOrBuilderpublic V1.PodSpec.Builder setHostAliases(int index, V1.HostAlias value)
HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods. +optional +patchMergeKey=ip +patchStrategy=merge
repeated .k8s.io.api.core.v1.HostAlias hostAliases = 23;public V1.PodSpec.Builder setHostAliases(int index, V1.HostAlias.Builder builderForValue)
HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods. +optional +patchMergeKey=ip +patchStrategy=merge
repeated .k8s.io.api.core.v1.HostAlias hostAliases = 23;public V1.PodSpec.Builder addHostAliases(V1.HostAlias value)
HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods. +optional +patchMergeKey=ip +patchStrategy=merge
repeated .k8s.io.api.core.v1.HostAlias hostAliases = 23;public V1.PodSpec.Builder addHostAliases(int index, V1.HostAlias value)
HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods. +optional +patchMergeKey=ip +patchStrategy=merge
repeated .k8s.io.api.core.v1.HostAlias hostAliases = 23;public V1.PodSpec.Builder addHostAliases(V1.HostAlias.Builder builderForValue)
HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods. +optional +patchMergeKey=ip +patchStrategy=merge
repeated .k8s.io.api.core.v1.HostAlias hostAliases = 23;public V1.PodSpec.Builder addHostAliases(int index, V1.HostAlias.Builder builderForValue)
HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods. +optional +patchMergeKey=ip +patchStrategy=merge
repeated .k8s.io.api.core.v1.HostAlias hostAliases = 23;public V1.PodSpec.Builder addAllHostAliases(Iterable<? extends V1.HostAlias> values)
HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods. +optional +patchMergeKey=ip +patchStrategy=merge
repeated .k8s.io.api.core.v1.HostAlias hostAliases = 23;public V1.PodSpec.Builder clearHostAliases()
HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods. +optional +patchMergeKey=ip +patchStrategy=merge
repeated .k8s.io.api.core.v1.HostAlias hostAliases = 23;public V1.PodSpec.Builder removeHostAliases(int index)
HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods. +optional +patchMergeKey=ip +patchStrategy=merge
repeated .k8s.io.api.core.v1.HostAlias hostAliases = 23;public V1.HostAlias.Builder getHostAliasesBuilder(int index)
HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods. +optional +patchMergeKey=ip +patchStrategy=merge
repeated .k8s.io.api.core.v1.HostAlias hostAliases = 23;public V1.HostAliasOrBuilder getHostAliasesOrBuilder(int index)
HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods. +optional +patchMergeKey=ip +patchStrategy=merge
repeated .k8s.io.api.core.v1.HostAlias hostAliases = 23;getHostAliasesOrBuilder in interface V1.PodSpecOrBuilderpublic List<? extends V1.HostAliasOrBuilder> getHostAliasesOrBuilderList()
HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods. +optional +patchMergeKey=ip +patchStrategy=merge
repeated .k8s.io.api.core.v1.HostAlias hostAliases = 23;getHostAliasesOrBuilderList in interface V1.PodSpecOrBuilderpublic V1.HostAlias.Builder addHostAliasesBuilder()
HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods. +optional +patchMergeKey=ip +patchStrategy=merge
repeated .k8s.io.api.core.v1.HostAlias hostAliases = 23;public V1.HostAlias.Builder addHostAliasesBuilder(int index)
HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods. +optional +patchMergeKey=ip +patchStrategy=merge
repeated .k8s.io.api.core.v1.HostAlias hostAliases = 23;public List<V1.HostAlias.Builder> getHostAliasesBuilderList()
HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods. +optional +patchMergeKey=ip +patchStrategy=merge
repeated .k8s.io.api.core.v1.HostAlias hostAliases = 23;public boolean hasPriorityClassName()
If specified, indicates the pod's priority. "system-node-critical" and "system-cluster-critical" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default. +optional
optional string priorityClassName = 24;hasPriorityClassName in interface V1.PodSpecOrBuilderpublic String getPriorityClassName()
If specified, indicates the pod's priority. "system-node-critical" and "system-cluster-critical" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default. +optional
optional string priorityClassName = 24;getPriorityClassName in interface V1.PodSpecOrBuilderpublic com.google.protobuf.ByteString getPriorityClassNameBytes()
If specified, indicates the pod's priority. "system-node-critical" and "system-cluster-critical" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default. +optional
optional string priorityClassName = 24;getPriorityClassNameBytes in interface V1.PodSpecOrBuilderpublic V1.PodSpec.Builder setPriorityClassName(String value)
If specified, indicates the pod's priority. "system-node-critical" and "system-cluster-critical" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default. +optional
optional string priorityClassName = 24;public V1.PodSpec.Builder clearPriorityClassName()
If specified, indicates the pod's priority. "system-node-critical" and "system-cluster-critical" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default. +optional
optional string priorityClassName = 24;public V1.PodSpec.Builder setPriorityClassNameBytes(com.google.protobuf.ByteString value)
If specified, indicates the pod's priority. "system-node-critical" and "system-cluster-critical" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default. +optional
optional string priorityClassName = 24;public boolean hasPriority()
The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority. +optional
optional int32 priority = 25;hasPriority in interface V1.PodSpecOrBuilderpublic int getPriority()
The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority. +optional
optional int32 priority = 25;getPriority in interface V1.PodSpecOrBuilderpublic V1.PodSpec.Builder setPriority(int value)
The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority. +optional
optional int32 priority = 25;public V1.PodSpec.Builder clearPriority()
The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority. +optional
optional int32 priority = 25;public boolean hasDnsConfig()
Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy. +optional
optional .k8s.io.api.core.v1.PodDNSConfig dnsConfig = 26;hasDnsConfig in interface V1.PodSpecOrBuilderpublic V1.PodDNSConfig getDnsConfig()
Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy. +optional
optional .k8s.io.api.core.v1.PodDNSConfig dnsConfig = 26;getDnsConfig in interface V1.PodSpecOrBuilderpublic V1.PodSpec.Builder setDnsConfig(V1.PodDNSConfig value)
Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy. +optional
optional .k8s.io.api.core.v1.PodDNSConfig dnsConfig = 26;public V1.PodSpec.Builder setDnsConfig(V1.PodDNSConfig.Builder builderForValue)
Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy. +optional
optional .k8s.io.api.core.v1.PodDNSConfig dnsConfig = 26;public V1.PodSpec.Builder mergeDnsConfig(V1.PodDNSConfig value)
Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy. +optional
optional .k8s.io.api.core.v1.PodDNSConfig dnsConfig = 26;public V1.PodSpec.Builder clearDnsConfig()
Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy. +optional
optional .k8s.io.api.core.v1.PodDNSConfig dnsConfig = 26;public V1.PodDNSConfig.Builder getDnsConfigBuilder()
Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy. +optional
optional .k8s.io.api.core.v1.PodDNSConfig dnsConfig = 26;public V1.PodDNSConfigOrBuilder getDnsConfigOrBuilder()
Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy. +optional
optional .k8s.io.api.core.v1.PodDNSConfig dnsConfig = 26;getDnsConfigOrBuilder in interface V1.PodSpecOrBuilderpublic List<V1.PodReadinessGate> getReadinessGatesList()
If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to "True" More info: https://github.com/kubernetes/community/blob/master/keps/sig-network/0007-pod-ready%2B%2B.md +optional
repeated .k8s.io.api.core.v1.PodReadinessGate readinessGates = 28;getReadinessGatesList in interface V1.PodSpecOrBuilderpublic int getReadinessGatesCount()
If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to "True" More info: https://github.com/kubernetes/community/blob/master/keps/sig-network/0007-pod-ready%2B%2B.md +optional
repeated .k8s.io.api.core.v1.PodReadinessGate readinessGates = 28;getReadinessGatesCount in interface V1.PodSpecOrBuilderpublic V1.PodReadinessGate getReadinessGates(int index)
If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to "True" More info: https://github.com/kubernetes/community/blob/master/keps/sig-network/0007-pod-ready%2B%2B.md +optional
repeated .k8s.io.api.core.v1.PodReadinessGate readinessGates = 28;getReadinessGates in interface V1.PodSpecOrBuilderpublic V1.PodSpec.Builder setReadinessGates(int index, V1.PodReadinessGate value)
If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to "True" More info: https://github.com/kubernetes/community/blob/master/keps/sig-network/0007-pod-ready%2B%2B.md +optional
repeated .k8s.io.api.core.v1.PodReadinessGate readinessGates = 28;public V1.PodSpec.Builder setReadinessGates(int index, V1.PodReadinessGate.Builder builderForValue)
If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to "True" More info: https://github.com/kubernetes/community/blob/master/keps/sig-network/0007-pod-ready%2B%2B.md +optional
repeated .k8s.io.api.core.v1.PodReadinessGate readinessGates = 28;public V1.PodSpec.Builder addReadinessGates(V1.PodReadinessGate value)
If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to "True" More info: https://github.com/kubernetes/community/blob/master/keps/sig-network/0007-pod-ready%2B%2B.md +optional
repeated .k8s.io.api.core.v1.PodReadinessGate readinessGates = 28;public V1.PodSpec.Builder addReadinessGates(int index, V1.PodReadinessGate value)
If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to "True" More info: https://github.com/kubernetes/community/blob/master/keps/sig-network/0007-pod-ready%2B%2B.md +optional
repeated .k8s.io.api.core.v1.PodReadinessGate readinessGates = 28;public V1.PodSpec.Builder addReadinessGates(V1.PodReadinessGate.Builder builderForValue)
If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to "True" More info: https://github.com/kubernetes/community/blob/master/keps/sig-network/0007-pod-ready%2B%2B.md +optional
repeated .k8s.io.api.core.v1.PodReadinessGate readinessGates = 28;public V1.PodSpec.Builder addReadinessGates(int index, V1.PodReadinessGate.Builder builderForValue)
If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to "True" More info: https://github.com/kubernetes/community/blob/master/keps/sig-network/0007-pod-ready%2B%2B.md +optional
repeated .k8s.io.api.core.v1.PodReadinessGate readinessGates = 28;public V1.PodSpec.Builder addAllReadinessGates(Iterable<? extends V1.PodReadinessGate> values)
If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to "True" More info: https://github.com/kubernetes/community/blob/master/keps/sig-network/0007-pod-ready%2B%2B.md +optional
repeated .k8s.io.api.core.v1.PodReadinessGate readinessGates = 28;public V1.PodSpec.Builder clearReadinessGates()
If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to "True" More info: https://github.com/kubernetes/community/blob/master/keps/sig-network/0007-pod-ready%2B%2B.md +optional
repeated .k8s.io.api.core.v1.PodReadinessGate readinessGates = 28;public V1.PodSpec.Builder removeReadinessGates(int index)
If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to "True" More info: https://github.com/kubernetes/community/blob/master/keps/sig-network/0007-pod-ready%2B%2B.md +optional
repeated .k8s.io.api.core.v1.PodReadinessGate readinessGates = 28;public V1.PodReadinessGate.Builder getReadinessGatesBuilder(int index)
If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to "True" More info: https://github.com/kubernetes/community/blob/master/keps/sig-network/0007-pod-ready%2B%2B.md +optional
repeated .k8s.io.api.core.v1.PodReadinessGate readinessGates = 28;public V1.PodReadinessGateOrBuilder getReadinessGatesOrBuilder(int index)
If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to "True" More info: https://github.com/kubernetes/community/blob/master/keps/sig-network/0007-pod-ready%2B%2B.md +optional
repeated .k8s.io.api.core.v1.PodReadinessGate readinessGates = 28;getReadinessGatesOrBuilder in interface V1.PodSpecOrBuilderpublic List<? extends V1.PodReadinessGateOrBuilder> getReadinessGatesOrBuilderList()
If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to "True" More info: https://github.com/kubernetes/community/blob/master/keps/sig-network/0007-pod-ready%2B%2B.md +optional
repeated .k8s.io.api.core.v1.PodReadinessGate readinessGates = 28;getReadinessGatesOrBuilderList in interface V1.PodSpecOrBuilderpublic V1.PodReadinessGate.Builder addReadinessGatesBuilder()
If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to "True" More info: https://github.com/kubernetes/community/blob/master/keps/sig-network/0007-pod-ready%2B%2B.md +optional
repeated .k8s.io.api.core.v1.PodReadinessGate readinessGates = 28;public V1.PodReadinessGate.Builder addReadinessGatesBuilder(int index)
If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to "True" More info: https://github.com/kubernetes/community/blob/master/keps/sig-network/0007-pod-ready%2B%2B.md +optional
repeated .k8s.io.api.core.v1.PodReadinessGate readinessGates = 28;public List<V1.PodReadinessGate.Builder> getReadinessGatesBuilderList()
If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to "True" More info: https://github.com/kubernetes/community/blob/master/keps/sig-network/0007-pod-ready%2B%2B.md +optional
repeated .k8s.io.api.core.v1.PodReadinessGate readinessGates = 28;public boolean hasRuntimeClassName()
RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the "legacy" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://github.com/kubernetes/community/blob/master/keps/sig-node/0014-runtime-class.md This is an alpha feature and may change in the future. +optional
optional string runtimeClassName = 29;hasRuntimeClassName in interface V1.PodSpecOrBuilderpublic String getRuntimeClassName()
RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the "legacy" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://github.com/kubernetes/community/blob/master/keps/sig-node/0014-runtime-class.md This is an alpha feature and may change in the future. +optional
optional string runtimeClassName = 29;getRuntimeClassName in interface V1.PodSpecOrBuilderpublic com.google.protobuf.ByteString getRuntimeClassNameBytes()
RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the "legacy" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://github.com/kubernetes/community/blob/master/keps/sig-node/0014-runtime-class.md This is an alpha feature and may change in the future. +optional
optional string runtimeClassName = 29;getRuntimeClassNameBytes in interface V1.PodSpecOrBuilderpublic V1.PodSpec.Builder setRuntimeClassName(String value)
RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the "legacy" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://github.com/kubernetes/community/blob/master/keps/sig-node/0014-runtime-class.md This is an alpha feature and may change in the future. +optional
optional string runtimeClassName = 29;public V1.PodSpec.Builder clearRuntimeClassName()
RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the "legacy" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://github.com/kubernetes/community/blob/master/keps/sig-node/0014-runtime-class.md This is an alpha feature and may change in the future. +optional
optional string runtimeClassName = 29;public V1.PodSpec.Builder setRuntimeClassNameBytes(com.google.protobuf.ByteString value)
RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the "legacy" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://github.com/kubernetes/community/blob/master/keps/sig-node/0014-runtime-class.md This is an alpha feature and may change in the future. +optional
optional string runtimeClassName = 29;public boolean hasEnableServiceLinks()
EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to true. +optional
optional bool enableServiceLinks = 30;hasEnableServiceLinks in interface V1.PodSpecOrBuilderpublic boolean getEnableServiceLinks()
EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to true. +optional
optional bool enableServiceLinks = 30;getEnableServiceLinks in interface V1.PodSpecOrBuilderpublic V1.PodSpec.Builder setEnableServiceLinks(boolean value)
EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to true. +optional
optional bool enableServiceLinks = 30;public V1.PodSpec.Builder clearEnableServiceLinks()
EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to true. +optional
optional bool enableServiceLinks = 30;public final V1.PodSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodSpec.Builder>public final V1.PodSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodSpec.Builder>Copyright © 2019. All rights reserved.