public static interface V1.PodSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
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.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.
|
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.PodDNSConfig |
getDnsConfig()
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.
|
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.
|
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.
|
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.
|
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.
|
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.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.
|
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.
|
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.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofList<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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;int getNodeSelectorCount()
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;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;@Deprecated Map<String,String> getNodeSelector()
getNodeSelectorMap() instead.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;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;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;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;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;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;boolean hasServiceAccount()
DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead. +k8s:conversion-gen=false +optional
optional string serviceAccount = 9;String getServiceAccount()
DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead. +k8s:conversion-gen=false +optional
optional string serviceAccount = 9;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;boolean hasAutomountServiceAccountToken()
AutomountServiceAccountToken indicates whether a service account token should be automatically mounted. +optional
optional bool automountServiceAccountToken = 21;boolean getAutomountServiceAccountToken()
AutomountServiceAccountToken indicates whether a service account token should be automatically mounted. +optional
optional bool automountServiceAccountToken = 21;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;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;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;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;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;boolean hasHostPID()
Use the host's pid namespace. Optional: Default to false. +k8s:conversion-gen=false +optional
optional bool hostPID = 12;boolean getHostPID()
Use the host's pid namespace. Optional: Default to false. +k8s:conversion-gen=false +optional
optional bool hostPID = 12;boolean hasHostIPC()
Use the host's ipc namespace. Optional: Default to false. +k8s:conversion-gen=false +optional
optional bool hostIPC = 13;boolean getHostIPC()
Use the host's ipc namespace. Optional: Default to false. +k8s:conversion-gen=false +optional
optional bool hostIPC = 13;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;boolean hasAffinity()
If specified, the pod's scheduling constraints +optional
optional .k8s.io.api.core.v1.Affinity affinity = 18;V1.Affinity getAffinity()
If specified, the pod's scheduling constraints +optional
optional .k8s.io.api.core.v1.Affinity affinity = 18;V1.AffinityOrBuilder getAffinityOrBuilder()
If specified, the pod's scheduling constraints +optional
optional .k8s.io.api.core.v1.Affinity affinity = 18;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;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;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;List<V1.Toleration> getTolerationsList()
If specified, the pod's tolerations. +optional
repeated .k8s.io.api.core.v1.Toleration tolerations = 22;V1.Toleration getTolerations(int index)
If specified, the pod's tolerations. +optional
repeated .k8s.io.api.core.v1.Toleration tolerations = 22;int getTolerationsCount()
If specified, the pod's tolerations. +optional
repeated .k8s.io.api.core.v1.Toleration tolerations = 22;List<? extends V1.TolerationOrBuilder> getTolerationsOrBuilderList()
If specified, the pod's tolerations. +optional
repeated .k8s.io.api.core.v1.Toleration tolerations = 22;V1.TolerationOrBuilder getTolerationsOrBuilder(int index)
If specified, the pod's tolerations. +optional
repeated .k8s.io.api.core.v1.Toleration tolerations = 22;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;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;Copyright © 2021. All rights reserved.