Package ai.chalk.protos.chalk.pubsub.v1
Class PodStatusPubSub.PodSpec
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
ai.chalk.protos.chalk.pubsub.v1.PodStatusPubSub.PodSpec
- All Implemented Interfaces:
PodStatusPubSub.PodSpecOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- PodStatusPubSub
public static final class PodStatusPubSub.PodSpec
extends com.google.protobuf.GeneratedMessageV3
implements PodStatusPubSub.PodSpecOrBuilder
PodSpec is a description of a pod.Protobuf type
chalk.pubsub.v1.PodStatusPubSub.PodSpec- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classPodSpec is a description of a pod.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanNodeSelector is a selector which must be true for the pod to fit on a node.booleanlongOptional 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.static PodStatusPubSub.PodSpecstatic final com.google.protobuf.Descriptors.DescriptorSet 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.com.google.protobuf.Parser<PodStatusPubSub.PodSpec>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.intServiceAccountName 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.inthashCode()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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleannewBuilder(PodStatusPubSub.PodSpec prototype) protected PodStatusPubSub.PodSpec.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static PodStatusPubSub.PodSpecparseDelimitedFrom(InputStream input) static PodStatusPubSub.PodSpecparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PodStatusPubSub.PodSpecparseFrom(byte[] data) static PodStatusPubSub.PodSpecparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PodStatusPubSub.PodSpecparseFrom(com.google.protobuf.ByteString data) static PodStatusPubSub.PodSpecparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PodStatusPubSub.PodSpecparseFrom(com.google.protobuf.CodedInputStream input) static PodStatusPubSub.PodSpecparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PodStatusPubSub.PodSpecparseFrom(InputStream input) static PodStatusPubSub.PodSpecparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PodStatusPubSub.PodSpecparseFrom(ByteBuffer data) static PodStatusPubSub.PodSpecparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<PodStatusPubSub.PodSpec>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
VOLUMES_FIELD_NUMBER
public static final int VOLUMES_FIELD_NUMBER- See Also:
-
INIT_CONTAINERS_FIELD_NUMBER
public static final int INIT_CONTAINERS_FIELD_NUMBER- See Also:
-
CONTAINERS_FIELD_NUMBER
public static final int CONTAINERS_FIELD_NUMBER- See Also:
-
RESTART_POLICY_FIELD_NUMBER
public static final int RESTART_POLICY_FIELD_NUMBER- See Also:
-
TERMINATION_GRACE_PERIOD_SECONDS_FIELD_NUMBER
public static final int TERMINATION_GRACE_PERIOD_SECONDS_FIELD_NUMBER- See Also:
-
ACTIVE_DEADLINE_SECONDS_FIELD_NUMBER
public static final int ACTIVE_DEADLINE_SECONDS_FIELD_NUMBER- See Also:
-
DNS_POLICY_FIELD_NUMBER
public static final int DNS_POLICY_FIELD_NUMBER- See Also:
-
NODE_SELECTOR_FIELD_NUMBER
public static final int NODE_SELECTOR_FIELD_NUMBER- See Also:
-
SERVICE_ACCOUNT_NAME_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_NAME_FIELD_NUMBER- See Also:
-
AUTOMOUNT_SERVICE_ACCOUNT_TOKEN_FIELD_NUMBER
public static final int AUTOMOUNT_SERVICE_ACCOUNT_TOKEN_FIELD_NUMBER- See Also:
-
NODE_NAME_FIELD_NUMBER
public static final int NODE_NAME_FIELD_NUMBER- See Also:
-
HOST_NETWORK_FIELD_NUMBER
public static final int HOST_NETWORK_FIELD_NUMBER- See Also:
-
HOST_PID_FIELD_NUMBER
public static final int HOST_PID_FIELD_NUMBER- See Also:
-
HOST_IPC_FIELD_NUMBER
public static final int HOST_IPC_FIELD_NUMBER- See Also:
-
SHARE_PROCESS_NAMESPACE_FIELD_NUMBER
public static final int SHARE_PROCESS_NAMESPACE_FIELD_NUMBER- See Also:
-
HOSTNAME_FIELD_NUMBER
public static final int HOSTNAME_FIELD_NUMBER- See Also:
-
SUBDOMAIN_FIELD_NUMBER
public static final int SUBDOMAIN_FIELD_NUMBER- See Also:
-
SCHEDULER_NAME_FIELD_NUMBER
public static final int SCHEDULER_NAME_FIELD_NUMBER- See Also:
-
PRIORITY_CLASS_NAME_FIELD_NUMBER
public static final int PRIORITY_CLASS_NAME_FIELD_NUMBER- See Also:
-
PRIORITY_FIELD_NUMBER
public static final int PRIORITY_FIELD_NUMBER- See Also:
-
RUNTIME_CLASS_NAME_FIELD_NUMBER
public static final int RUNTIME_CLASS_NAME_FIELD_NUMBER- See Also:
-
ENABLE_SERVICE_LINKS_FIELD_NUMBER
public static final int ENABLE_SERVICE_LINKS_FIELD_NUMBER- See Also:
-
PREEMPTION_POLICY_FIELD_NUMBER
public static final int PREEMPTION_POLICY_FIELD_NUMBER- See Also:
-
HOST_USERS_FIELD_NUMBER
public static final int HOST_USERS_FIELD_NUMBER- See Also:
-
RESOURCE_CLAIMS_FIELD_NUMBER
public static final int RESOURCE_CLAIMS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
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"];- Specified by:
getVolumesListin interfacePodStatusPubSub.PodSpecOrBuilder
-
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"];- Specified by:
getVolumesOrBuilderListin interfacePodStatusPubSub.PodSpecOrBuilder
-
getVolumesCount
public 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"];- Specified by:
getVolumesCountin interfacePodStatusPubSub.PodSpecOrBuilder
-
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"];- Specified by:
getVolumesin interfacePodStatusPubSub.PodSpecOrBuilder
-
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"];- Specified by:
getVolumesOrBuilderin interfacePodStatusPubSub.PodSpecOrBuilder
-
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"];- Specified by:
getInitContainersListin interfacePodStatusPubSub.PodSpecOrBuilder
-
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"];- Specified by:
getInitContainersOrBuilderListin interfacePodStatusPubSub.PodSpecOrBuilder
-
getInitContainersCount
public 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"];- Specified by:
getInitContainersCountin interfacePodStatusPubSub.PodSpecOrBuilder
-
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"];- Specified by:
getInitContainersin interfacePodStatusPubSub.PodSpecOrBuilder
-
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"];- Specified by:
getInitContainersOrBuilderin interfacePodStatusPubSub.PodSpecOrBuilder
-
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"];- Specified by:
getContainersListin interfacePodStatusPubSub.PodSpecOrBuilder
-
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"];- Specified by:
getContainersOrBuilderListin interfacePodStatusPubSub.PodSpecOrBuilder
-
getContainersCount
public 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"];- Specified by:
getContainersCountin interfacePodStatusPubSub.PodSpecOrBuilder
-
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"];- Specified by:
getContainersin interfacePodStatusPubSub.PodSpecOrBuilder
-
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"];- Specified by:
getContainersOrBuilderin interfacePodStatusPubSub.PodSpecOrBuilder
-
hasRestartPolicy
public 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"];- Specified by:
hasRestartPolicyin interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- Whether the restartPolicy field is set.
-
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"];- Specified by:
getRestartPolicyin interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- The restartPolicy.
-
getRestartPolicyBytes
public 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"];- Specified by:
getRestartPolicyBytesin interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- The bytes for restartPolicy.
-
hasTerminationGracePeriodSeconds
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 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"];- Specified by:
hasTerminationGracePeriodSecondsin interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- Whether the terminationGracePeriodSeconds field is set.
-
getTerminationGracePeriodSeconds
public 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"];- Specified by:
getTerminationGracePeriodSecondsin interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- The terminationGracePeriodSeconds.
-
hasActiveDeadlineSeconds
public 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"];- Specified by:
hasActiveDeadlineSecondsin interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- Whether the activeDeadlineSeconds field is set.
-
getActiveDeadlineSeconds
public 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"];- Specified by:
getActiveDeadlineSecondsin interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- The activeDeadlineSeconds.
-
hasDnsPolicy
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 dns_policy = 6 [json_name = "dnsPolicy"];- Specified by:
hasDnsPolicyin interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- Whether the dnsPolicy field is set.
-
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"];- Specified by:
getDnsPolicyin interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- The dnsPolicy.
-
getDnsPolicyBytes
public 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"];- Specified by:
getDnsPolicyBytesin interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- The bytes for dnsPolicy.
-
getNodeSelectorCount
public int getNodeSelectorCount()Description copied from interface:PodStatusPubSub.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 +mapType=atomic
map<string, string> node_selector = 7 [json_name = "nodeSelector"];- Specified by:
getNodeSelectorCountin interfacePodStatusPubSub.PodSpecOrBuilder
-
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"];- Specified by:
containsNodeSelectorin interfacePodStatusPubSub.PodSpecOrBuilder
-
getNodeSelector
Deprecated.UsegetNodeSelectorMap()instead.- Specified by:
getNodeSelectorin interfacePodStatusPubSub.PodSpecOrBuilder
-
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"];- Specified by:
getNodeSelectorMapin interfacePodStatusPubSub.PodSpecOrBuilder
-
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"];- Specified by:
getNodeSelectorOrDefaultin interfacePodStatusPubSub.PodSpecOrBuilder
-
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"];- Specified by:
getNodeSelectorOrThrowin interfacePodStatusPubSub.PodSpecOrBuilder
-
hasServiceAccountName
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 service_account_name = 8 [json_name = "serviceAccountName"];- Specified by:
hasServiceAccountNamein interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- Whether the serviceAccountName field is set.
-
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"];- Specified by:
getServiceAccountNamein interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- The serviceAccountName.
-
getServiceAccountNameBytes
public 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"];- Specified by:
getServiceAccountNameBytesin interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- The bytes for serviceAccountName.
-
hasAutomountServiceAccountToken
public boolean hasAutomountServiceAccountToken()AutomountServiceAccountToken indicates whether a service account token should be automatically mounted. +optional
optional bool automount_service_account_token = 21 [json_name = "automountServiceAccountToken"];- Specified by:
hasAutomountServiceAccountTokenin interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- Whether the automountServiceAccountToken field is set.
-
getAutomountServiceAccountToken
public boolean getAutomountServiceAccountToken()AutomountServiceAccountToken indicates whether a service account token should be automatically mounted. +optional
optional bool automount_service_account_token = 21 [json_name = "automountServiceAccountToken"];- Specified by:
getAutomountServiceAccountTokenin interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- The automountServiceAccountToken.
-
hasNodeName
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 node_name = 10 [json_name = "nodeName"];- Specified by:
hasNodeNamein interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- Whether the nodeName field is set.
-
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"];- Specified by:
getNodeNamein interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- The nodeName.
-
getNodeNameBytes
public 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"];- Specified by:
getNodeNameBytesin interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- The bytes for nodeName.
-
getHostNetwork
public 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"];- Specified by:
getHostNetworkin interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- The hostNetwork.
-
getHostPid
public boolean getHostPid()Use the host's pid namespace. Optional: Default to false. +k8s:conversion-gen=false +optional
bool host_pid = 12 [json_name = "hostPid"];- Specified by:
getHostPidin interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- The hostPid.
-
getHostIpc
public boolean getHostIpc()Use the host's ipc namespace. Optional: Default to false. +k8s:conversion-gen=false +optional
bool host_ipc = 13 [json_name = "hostIpc"];- Specified by:
getHostIpcin interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- The hostIpc.
-
hasHostname
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 [json_name = "hostname"];- Specified by:
hasHostnamein interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- Whether the hostname field is set.
-
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"];- Specified by:
getHostnamein interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- The hostname.
-
getHostnameBytes
public 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"];- Specified by:
getHostnameBytesin interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- The bytes for hostname.
-
hasSubdomain
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 [json_name = "subdomain"];- Specified by:
hasSubdomainin interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- Whether the subdomain field is set.
-
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"];- Specified by:
getSubdomainin interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- The subdomain.
-
getSubdomainBytes
public 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"];- Specified by:
getSubdomainBytesin interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- The bytes for subdomain.
-
hasSchedulerName
public 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"];- Specified by:
hasSchedulerNamein interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- Whether the schedulerName field is set.
-
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"];- Specified by:
getSchedulerNamein interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- The schedulerName.
-
getSchedulerNameBytes
public 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"];- Specified by:
getSchedulerNameBytesin interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- The bytes for schedulerName.
-
hasPriorityClassName
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 priority_class_name = 24 [json_name = "priorityClassName"];- Specified by:
hasPriorityClassNamein interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- Whether the priorityClassName field is set.
-
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"];- Specified by:
getPriorityClassNamein interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- The priorityClassName.
-
getPriorityClassNameBytes
public 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"];- Specified by:
getPriorityClassNameBytesin interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- The bytes for priorityClassName.
-
hasPriority
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 priority_class_name. The higher the value, the higher the priority. +optional
optional int32 priority = 25 [json_name = "priority"];- Specified by:
hasPriorityin interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- Whether the priority field is set.
-
getPriority
public 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"];- Specified by:
getPriorityin interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- The priority.
-
hasRuntimeClassName
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://git.k8s.io/enhancements/keps/sig-node/585-runtime-class +optional
optional string runtime_class_name = 29 [json_name = "runtimeClassName"];- Specified by:
hasRuntimeClassNamein interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- Whether the runtimeClassName field is set.
-
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"];- Specified by:
getRuntimeClassNamein interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- The runtimeClassName.
-
getRuntimeClassNameBytes
public 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"];- Specified by:
getRuntimeClassNameBytesin interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- The bytes for runtimeClassName.
-
hasEnableServiceLinks
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 enable_service_links = 30 [json_name = "enableServiceLinks"];- Specified by:
hasEnableServiceLinksin interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- Whether the enableServiceLinks field is set.
-
getEnableServiceLinks
public 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"];- Specified by:
getEnableServiceLinksin interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- The enableServiceLinks.
-
hasPreemptionPolicy
public 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"];- Specified by:
hasPreemptionPolicyin interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- Whether the preemptionPolicy field is set.
-
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"];- Specified by:
getPreemptionPolicyin interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- The preemptionPolicy.
-
getPreemptionPolicyBytes
public 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"];- Specified by:
getPreemptionPolicyBytesin interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- The bytes for preemptionPolicy.
-
hasHostUsers
public 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"];- Specified by:
hasHostUsersin interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- Whether the hostUsers field is set.
-
getHostUsers
public 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"];- Specified by:
getHostUsersin interfacePodStatusPubSub.PodSpecOrBuilder- Returns:
- The hostUsers.
-
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"];- Specified by:
getResourceClaimsListin interfacePodStatusPubSub.PodSpecOrBuilder
-
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"];- Specified by:
getResourceClaimsOrBuilderListin interfacePodStatusPubSub.PodSpecOrBuilder
-
getResourceClaimsCount
public 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"];- Specified by:
getResourceClaimsCountin interfacePodStatusPubSub.PodSpecOrBuilder
-
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"];- Specified by:
getResourceClaimsin interfacePodStatusPubSub.PodSpecOrBuilder
-
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"];- Specified by:
getResourceClaimsOrBuilderin interfacePodStatusPubSub.PodSpecOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static PodStatusPubSub.PodSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PodStatusPubSub.PodSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PodStatusPubSub.PodSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PodStatusPubSub.PodSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PodStatusPubSub.PodSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PodStatusPubSub.PodSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static PodStatusPubSub.PodSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static PodStatusPubSub.PodSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static PodStatusPubSub.PodSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static PodStatusPubSub.PodSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PodStatusPubSub.PodSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-