Package ai.chalk.protos.chalk.pubsub.v1
Interface PodStatusPubSub.PodSpecOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PodStatusPubSub.PodSpec,PodStatusPubSub.PodSpec.Builder
- Enclosing class:
- PodStatusPubSub
public static interface PodStatusPubSub.PodSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanNodeSelector is a selector which must be true for the pod to fit on a node.longOptional duration in seconds the pod may be active on the node relative to start_time before the system will actively try to mark it failed and kill associated containers.booleanAutomountServiceAccountToken indicates whether a service account token should be automatically mounted.getContainers(int index) List of containers belonging to the pod.intList of containers belonging to the pod.List of containers belonging to the pod.getContainersOrBuilder(int index) List of containers belonging to the pod.List<? extends PodStatusPubSub.ContainerOrBuilder>List of containers belonging to the pod.Set DNS policy for the pod.com.google.protobuf.ByteStringSet DNS policy for the pod.booleanEnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links.booleanUse the host's ipc namespace.Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.com.google.protobuf.ByteStringSpecifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.booleanHost networking requested for this pod.booleanUse the host's pid namespace.booleanUse the host's user namespace.getInitContainers(int index) List of initialization containers belonging to the pod.intList of initialization containers belonging to the pod.List of initialization containers belonging to the pod.getInitContainersOrBuilder(int index) List of initialization containers belonging to the pod.List<? extends PodStatusPubSub.ContainerOrBuilder>List of initialization containers belonging to the pod.NodeName is a request to schedule this pod onto a specific node.com.google.protobuf.ByteStringNodeName is a request to schedule this pod onto a specific node.Deprecated.intNodeSelector is a selector which must be true for the pod to fit on a node.NodeSelector is a selector which must be true for the pod to fit on a node.getNodeSelectorOrDefault(String key, String defaultValue) NodeSelector is a selector which must be true for the pod to fit on a node.NodeSelector is a selector which must be true for the pod to fit on a node.PreemptionPolicy is the Policy for preempting pods with lower priority.com.google.protobuf.ByteStringPreemptionPolicy is the Policy for preempting pods with lower priority.intThe priority value.If specified, indicates the pod's priority.com.google.protobuf.ByteStringIf specified, indicates the pod's priority.getResourceClaims(int index) ResourceClaims defines which ResourceClaims must be allocated and reserved before the Pod is allowed to start.intResourceClaims defines which ResourceClaims must be allocated and reserved before the Pod is allowed to start.ResourceClaims defines which ResourceClaims must be allocated and reserved before the Pod is allowed to start.getResourceClaimsOrBuilder(int index) ResourceClaims defines which ResourceClaims must be allocated and reserved before the Pod is allowed to start.List<? extends PodStatusPubSub.PodResourceClaimOrBuilder>ResourceClaims defines which ResourceClaims must be allocated and reserved before the Pod is allowed to start.Restart policy for all containers within the pod.com.google.protobuf.ByteStringRestart policy for all containers within the pod.RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod.com.google.protobuf.ByteStringRuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod.If specified, the pod will be dispatched by specified scheduler.com.google.protobuf.ByteStringIf specified, the pod will be dispatched by specified scheduler.ServiceAccountName is the name of the ServiceAccount to use to run this pod.com.google.protobuf.ByteStringServiceAccountName is the name of the ServiceAccount to use to run this pod.booleanShare a single process namespace between all of the containers in a pod.If specified, the fully qualified Pod hostname will be "<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>".com.google.protobuf.ByteStringIf specified, the fully qualified Pod hostname will be "<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>".longOptional duration in seconds the pod needs to terminate gracefully.getVolumes(int index) List of volumes that can be mounted by containers belonging to the pod.intList of volumes that can be mounted by containers belonging to the pod.List of volumes that can be mounted by containers belonging to the pod.getVolumesOrBuilder(int index) List of volumes that can be mounted by containers belonging to the pod.List<? extends PodStatusPubSub.VolumeOrBuilder>List of volumes that can be mounted by containers belonging to the pod.booleanOptional duration in seconds the pod may be active on the node relative to start_time before the system will actively try to mark it failed and kill associated containers.booleanAutomountServiceAccountToken indicates whether a service account token should be automatically mounted.booleanSet DNS policy for the pod.booleanEnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links.booleanSpecifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.booleanUse the host's user namespace.booleanNodeName is a request to schedule this pod onto a specific node.booleanPreemptionPolicy is the Policy for preempting pods with lower priority.booleanThe priority value.booleanIf specified, indicates the pod's priority.booleanRestart policy for all containers within the pod.booleanRuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod.booleanIf specified, the pod will be dispatched by specified scheduler.booleanServiceAccountName is the name of the ServiceAccount to use to run this pod.booleanIf specified, the fully qualified Pod hostname will be "<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>".booleanOptional duration in seconds the pod needs to terminate gracefully.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getVolumesList
List<PodStatusPubSub.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 +listType=map +listMapKey=name
repeated .chalk.pubsub.v1.PodStatusPubSub.Volume volumes = 1 [json_name = "volumes"]; -
getVolumes
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 +listType=map +listMapKey=name
repeated .chalk.pubsub.v1.PodStatusPubSub.Volume volumes = 1 [json_name = "volumes"]; -
getVolumesCount
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 +listType=map +listMapKey=name
repeated .chalk.pubsub.v1.PodStatusPubSub.Volume volumes = 1 [json_name = "volumes"]; -
getVolumesOrBuilderList
List<? extends PodStatusPubSub.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 +listType=map +listMapKey=name
repeated .chalk.pubsub.v1.PodStatusPubSub.Volume volumes = 1 [json_name = "volumes"]; -
getVolumesOrBuilder
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 +listType=map +listMapKey=name
repeated .chalk.pubsub.v1.PodStatusPubSub.Volume volumes = 1 [json_name = "volumes"]; -
getInitContainersList
List<PodStatusPubSub.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, Liveness probes, or Startup 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 +listType=map +listMapKey=name
repeated .chalk.pubsub.v1.PodStatusPubSub.Container init_containers = 20 [json_name = "initContainers"]; -
getInitContainers
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, Liveness probes, or Startup 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 +listType=map +listMapKey=name
repeated .chalk.pubsub.v1.PodStatusPubSub.Container init_containers = 20 [json_name = "initContainers"]; -
getInitContainersCount
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, Liveness probes, or Startup 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 +listType=map +listMapKey=name
repeated .chalk.pubsub.v1.PodStatusPubSub.Container init_containers = 20 [json_name = "initContainers"]; -
getInitContainersOrBuilderList
List<? extends PodStatusPubSub.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, Liveness probes, or Startup 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 +listType=map +listMapKey=name
repeated .chalk.pubsub.v1.PodStatusPubSub.Container init_containers = 20 [json_name = "initContainers"]; -
getInitContainersOrBuilder
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, Liveness probes, or Startup 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 +listType=map +listMapKey=name
repeated .chalk.pubsub.v1.PodStatusPubSub.Container init_containers = 20 [json_name = "initContainers"]; -
getContainersList
List<PodStatusPubSub.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 +listType=map +listMapKey=name
repeated .chalk.pubsub.v1.PodStatusPubSub.Container containers = 2 [json_name = "containers"]; -
getContainers
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 +listType=map +listMapKey=name
repeated .chalk.pubsub.v1.PodStatusPubSub.Container containers = 2 [json_name = "containers"]; -
getContainersCount
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 +listType=map +listMapKey=name
repeated .chalk.pubsub.v1.PodStatusPubSub.Container containers = 2 [json_name = "containers"]; -
getContainersOrBuilderList
List<? extends PodStatusPubSub.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 +listType=map +listMapKey=name
repeated .chalk.pubsub.v1.PodStatusPubSub.Container containers = 2 [json_name = "containers"]; -
getContainersOrBuilder
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 +listType=map +listMapKey=name
repeated .chalk.pubsub.v1.PodStatusPubSub.Container containers = 2 [json_name = "containers"]; -
hasRestartPolicy
boolean hasRestartPolicy()Restart policy for all containers within the pod. One of Always, OnFailure, Never. In some contexts, only a subset of those values may be permitted. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy +optional
optional string restart_policy = 3 [json_name = "restartPolicy"];- Returns:
- Whether the restartPolicy field is set.
-
getRestartPolicy
String getRestartPolicy()Restart policy for all containers within the pod. One of Always, OnFailure, Never. In some contexts, only a subset of those values may be permitted. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy +optional
optional string restart_policy = 3 [json_name = "restartPolicy"];- Returns:
- The restartPolicy.
-
getRestartPolicyBytes
com.google.protobuf.ByteString getRestartPolicyBytes()Restart policy for all containers within the pod. One of Always, OnFailure, Never. In some contexts, only a subset of those values may be permitted. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy +optional
optional string restart_policy = 3 [json_name = "restartPolicy"];- Returns:
- The bytes for restartPolicy.
-
hasTerminationGracePeriodSeconds
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 stop immediately via the kill signal (no opportunity to shut down). 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 termination_grace_period_seconds = 4 [json_name = "terminationGracePeriodSeconds"];- Returns:
- Whether the terminationGracePeriodSeconds field is set.
-
getTerminationGracePeriodSeconds
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 stop immediately via the kill signal (no opportunity to shut down). 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 termination_grace_period_seconds = 4 [json_name = "terminationGracePeriodSeconds"];- Returns:
- The terminationGracePeriodSeconds.
-
hasActiveDeadlineSeconds
boolean hasActiveDeadlineSeconds()Optional duration in seconds the pod may be active on the node relative to start_time before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer. +optional
optional int64 active_deadline_seconds = 5 [json_name = "activeDeadlineSeconds"];- Returns:
- Whether the activeDeadlineSeconds field is set.
-
getActiveDeadlineSeconds
long getActiveDeadlineSeconds()Optional duration in seconds the pod may be active on the node relative to start_time before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer. +optional
optional int64 active_deadline_seconds = 5 [json_name = "activeDeadlineSeconds"];- Returns:
- The activeDeadlineSeconds.
-
hasDnsPolicy
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 dns_policy = 6 [json_name = "dnsPolicy"];- Returns:
- Whether the dnsPolicy field is set.
-
getDnsPolicy
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 dns_policy = 6 [json_name = "dnsPolicy"];- Returns:
- The dnsPolicy.
-
getDnsPolicyBytes
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 dns_policy = 6 [json_name = "dnsPolicy"];- Returns:
- The bytes for dnsPolicy.
-
getNodeSelectorCount
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 +mapType=atomic
map<string, string> node_selector = 7 [json_name = "nodeSelector"]; -
containsNodeSelector
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 +mapType=atomic
map<string, string> node_selector = 7 [json_name = "nodeSelector"]; -
getNodeSelector
Deprecated.UsegetNodeSelectorMap()instead. -
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 +mapType=atomic
map<string, string> node_selector = 7 [json_name = "nodeSelector"]; -
getNodeSelectorOrDefault
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 +mapType=atomic
map<string, string> node_selector = 7 [json_name = "nodeSelector"]; -
getNodeSelectorOrThrow
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 +mapType=atomic
map<string, string> node_selector = 7 [json_name = "nodeSelector"]; -
hasServiceAccountName
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 service_account_name = 8 [json_name = "serviceAccountName"];- Returns:
- Whether the serviceAccountName field is set.
-
getServiceAccountName
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 service_account_name = 8 [json_name = "serviceAccountName"];- Returns:
- The serviceAccountName.
-
getServiceAccountNameBytes
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 service_account_name = 8 [json_name = "serviceAccountName"];- Returns:
- The bytes for serviceAccountName.
-
hasAutomountServiceAccountToken
boolean hasAutomountServiceAccountToken()AutomountServiceAccountToken indicates whether a service account token should be automatically mounted. +optional
optional bool automount_service_account_token = 21 [json_name = "automountServiceAccountToken"];- Returns:
- Whether the automountServiceAccountToken field is set.
-
getAutomountServiceAccountToken
boolean getAutomountServiceAccountToken()AutomountServiceAccountToken indicates whether a service account token should be automatically mounted. +optional
optional bool automount_service_account_token = 21 [json_name = "automountServiceAccountToken"];- Returns:
- The automountServiceAccountToken.
-
hasNodeName
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 node_name = 10 [json_name = "nodeName"];- Returns:
- Whether the nodeName field is set.
-
getNodeName
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 node_name = 10 [json_name = "nodeName"];- Returns:
- The nodeName.
-
getNodeNameBytes
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 node_name = 10 [json_name = "nodeName"];- Returns:
- The bytes for nodeName.
-
getHostNetwork
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
bool host_network = 11 [json_name = "hostNetwork"];- Returns:
- The hostNetwork.
-
getHostPid
boolean getHostPid()Use the host's pid namespace. Optional: Default to false. +k8s:conversion-gen=false +optional
bool host_pid = 12 [json_name = "hostPid"];- Returns:
- The hostPid.
-
getHostIpc
boolean getHostIpc()Use the host's ipc namespace. Optional: Default to false. +k8s:conversion-gen=false +optional
bool host_ipc = 13 [json_name = "hostIpc"];- Returns:
- The hostIpc.
-
hasHostname
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 [json_name = "hostname"];- Returns:
- Whether the hostname field is set.
-
getHostname
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 [json_name = "hostname"];- Returns:
- The hostname.
-
getHostnameBytes
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 [json_name = "hostname"];- Returns:
- The bytes for hostname.
-
hasSubdomain
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 [json_name = "subdomain"];- Returns:
- Whether the subdomain field is set.
-
getSubdomain
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 [json_name = "subdomain"];- Returns:
- The subdomain.
-
getSubdomainBytes
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 [json_name = "subdomain"];- Returns:
- The bytes for subdomain.
-
hasSchedulerName
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 scheduler_name = 19 [json_name = "schedulerName"];- Returns:
- Whether the schedulerName field is set.
-
getSchedulerName
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 scheduler_name = 19 [json_name = "schedulerName"];- Returns:
- The schedulerName.
-
getSchedulerNameBytes
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 scheduler_name = 19 [json_name = "schedulerName"];- Returns:
- The bytes for schedulerName.
-
hasPriorityClassName
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 priority_class_name = 24 [json_name = "priorityClassName"];- Returns:
- Whether the priorityClassName field is set.
-
getPriorityClassName
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 priority_class_name = 24 [json_name = "priorityClassName"];- Returns:
- The priorityClassName.
-
getPriorityClassNameBytes
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 priority_class_name = 24 [json_name = "priorityClassName"];- Returns:
- The bytes for priorityClassName.
-
hasPriority
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 priority_class_name. The higher the value, the higher the priority. +optional
optional int32 priority = 25 [json_name = "priority"];- Returns:
- Whether the priority field is set.
-
getPriority
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 priority_class_name. The higher the value, the higher the priority. +optional
optional int32 priority = 25 [json_name = "priority"];- Returns:
- The priority.
-
hasRuntimeClassName
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://git.k8s.io/enhancements/keps/sig-node/585-runtime-class +optional
optional string runtime_class_name = 29 [json_name = "runtimeClassName"];- Returns:
- Whether the runtimeClassName field is set.
-
getRuntimeClassName
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://git.k8s.io/enhancements/keps/sig-node/585-runtime-class +optional
optional string runtime_class_name = 29 [json_name = "runtimeClassName"];- Returns:
- The runtimeClassName.
-
getRuntimeClassNameBytes
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://git.k8s.io/enhancements/keps/sig-node/585-runtime-class +optional
optional string runtime_class_name = 29 [json_name = "runtimeClassName"];- Returns:
- The bytes for runtimeClassName.
-
hasEnableServiceLinks
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 enable_service_links = 30 [json_name = "enableServiceLinks"];- Returns:
- Whether the enableServiceLinks field is set.
-
getEnableServiceLinks
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 enable_service_links = 30 [json_name = "enableServiceLinks"];- Returns:
- The enableServiceLinks.
-
hasPreemptionPolicy
boolean hasPreemptionPolicy()PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. +optional
optional string preemption_policy = 31 [json_name = "preemptionPolicy"];- Returns:
- Whether the preemptionPolicy field is set.
-
getPreemptionPolicy
String getPreemptionPolicy()PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. +optional
optional string preemption_policy = 31 [json_name = "preemptionPolicy"];- Returns:
- The preemptionPolicy.
-
getPreemptionPolicyBytes
com.google.protobuf.ByteString getPreemptionPolicyBytes()PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. +optional
optional string preemption_policy = 31 [json_name = "preemptionPolicy"];- Returns:
- The bytes for preemptionPolicy.
-
hasHostUsers
boolean hasHostUsers()Use the host's user namespace. Optional: Default to true. If set to true or not present, the pod will be run in the host user namespace, useful for when the pod needs a feature only available to the host user namespace, such as loading a kernel module with CAP_SYS_MODULE. When set to false, a new userns is created for the pod. Setting false is useful for mitigating container breakout vulnerabilities even allowing users to run their containers as root without actually having root privileges on the host. This field is alpha-level and is only honored by servers that enable the UserNamespacesSupport feature. +k8s:conversion-gen=false +optional
optional bool host_users = 37 [json_name = "hostUsers"];- Returns:
- Whether the hostUsers field is set.
-
getHostUsers
boolean getHostUsers()Use the host's user namespace. Optional: Default to true. If set to true or not present, the pod will be run in the host user namespace, useful for when the pod needs a feature only available to the host user namespace, such as loading a kernel module with CAP_SYS_MODULE. When set to false, a new userns is created for the pod. Setting false is useful for mitigating container breakout vulnerabilities even allowing users to run their containers as root without actually having root privileges on the host. This field is alpha-level and is only honored by servers that enable the UserNamespacesSupport feature. +k8s:conversion-gen=false +optional
optional bool host_users = 37 [json_name = "hostUsers"];- Returns:
- The hostUsers.
-
getResourceClaimsList
List<PodStatusPubSub.PodResourceClaim> getResourceClaimsList()ResourceClaims defines which ResourceClaims must be allocated and reserved before the Pod is allowed to start. The resources will be made available to those containers which consume them by name. This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. This field is immutable. +patchMergeKey=name +patchStrategy=merge,retainKeys +listType=map +listMapKey=name +featureGate=DynamicResourceAllocation +optional
repeated .chalk.pubsub.v1.PodStatusPubSub.PodResourceClaim resource_claims = 39 [json_name = "resourceClaims"]; -
getResourceClaims
ResourceClaims defines which ResourceClaims must be allocated and reserved before the Pod is allowed to start. The resources will be made available to those containers which consume them by name. This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. This field is immutable. +patchMergeKey=name +patchStrategy=merge,retainKeys +listType=map +listMapKey=name +featureGate=DynamicResourceAllocation +optional
repeated .chalk.pubsub.v1.PodStatusPubSub.PodResourceClaim resource_claims = 39 [json_name = "resourceClaims"]; -
getResourceClaimsCount
int getResourceClaimsCount()ResourceClaims defines which ResourceClaims must be allocated and reserved before the Pod is allowed to start. The resources will be made available to those containers which consume them by name. This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. This field is immutable. +patchMergeKey=name +patchStrategy=merge,retainKeys +listType=map +listMapKey=name +featureGate=DynamicResourceAllocation +optional
repeated .chalk.pubsub.v1.PodStatusPubSub.PodResourceClaim resource_claims = 39 [json_name = "resourceClaims"]; -
getResourceClaimsOrBuilderList
List<? extends PodStatusPubSub.PodResourceClaimOrBuilder> getResourceClaimsOrBuilderList()ResourceClaims defines which ResourceClaims must be allocated and reserved before the Pod is allowed to start. The resources will be made available to those containers which consume them by name. This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. This field is immutable. +patchMergeKey=name +patchStrategy=merge,retainKeys +listType=map +listMapKey=name +featureGate=DynamicResourceAllocation +optional
repeated .chalk.pubsub.v1.PodStatusPubSub.PodResourceClaim resource_claims = 39 [json_name = "resourceClaims"]; -
getResourceClaimsOrBuilder
ResourceClaims defines which ResourceClaims must be allocated and reserved before the Pod is allowed to start. The resources will be made available to those containers which consume them by name. This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. This field is immutable. +patchMergeKey=name +patchStrategy=merge,retainKeys +listType=map +listMapKey=name +featureGate=DynamicResourceAllocation +optional
repeated .chalk.pubsub.v1.PodStatusPubSub.PodResourceClaim resource_claims = 39 [json_name = "resourceClaims"];
-