Package io.kubernetes.client.proto
Class V1.Container.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1.Container.Builder>
io.kubernetes.client.proto.V1.Container.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,V1.ContainerOrBuilder
,Cloneable
- Enclosing class:
- V1.Container
public static final class V1.Container.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<V1.Container.Builder>
implements V1.ContainerOrBuilder
A single application container that you want to run within a pod.Protobuf type
k8s.io.api.core.v1.Container
-
Method Summary
Modifier and TypeMethodDescriptionaddAllArgs
(Iterable<String> values) Arguments to the entrypoint.addAllCommand
(Iterable<String> values) Entrypoint array.List of environment variables to set in the container.addAllEnvFrom
(Iterable<? extends V1.EnvFromSource> values) List of sources to populate environment variables in the container.addAllPorts
(Iterable<? extends V1.ContainerPort> values) List of ports to expose from the container.addAllVolumeDevices
(Iterable<? extends V1.VolumeDevice> values) volumeDevices is the list of block devices to be used by the container.addAllVolumeMounts
(Iterable<? extends V1.VolumeMount> values) Pod volumes to mount into the container's filesystem.Arguments to the entrypoint.addArgsBytes
(com.google.protobuf.ByteString value) Arguments to the entrypoint.addCommand
(String value) Entrypoint array.addCommandBytes
(com.google.protobuf.ByteString value) Entrypoint array.List of environment variables to set in the container.addEnv
(int index, V1.EnvVar.Builder builderForValue) List of environment variables to set in the container.List of environment variables to set in the container.addEnv
(V1.EnvVar.Builder builderForValue) List of environment variables to set in the container.List of environment variables to set in the container.addEnvBuilder
(int index) List of environment variables to set in the container.addEnvFrom
(int index, V1.EnvFromSource value) List of sources to populate environment variables in the container.addEnvFrom
(int index, V1.EnvFromSource.Builder builderForValue) List of sources to populate environment variables in the container.addEnvFrom
(V1.EnvFromSource value) List of sources to populate environment variables in the container.addEnvFrom
(V1.EnvFromSource.Builder builderForValue) List of sources to populate environment variables in the container.List of sources to populate environment variables in the container.addEnvFromBuilder
(int index) List of sources to populate environment variables in the container.addPorts
(int index, V1.ContainerPort value) List of ports to expose from the container.addPorts
(int index, V1.ContainerPort.Builder builderForValue) List of ports to expose from the container.addPorts
(V1.ContainerPort value) List of ports to expose from the container.addPorts
(V1.ContainerPort.Builder builderForValue) List of ports to expose from the container.List of ports to expose from the container.addPortsBuilder
(int index) List of ports to expose from the container.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addVolumeDevices
(int index, V1.VolumeDevice value) volumeDevices is the list of block devices to be used by the container.addVolumeDevices
(int index, V1.VolumeDevice.Builder builderForValue) volumeDevices is the list of block devices to be used by the container.addVolumeDevices
(V1.VolumeDevice value) volumeDevices is the list of block devices to be used by the container.addVolumeDevices
(V1.VolumeDevice.Builder builderForValue) volumeDevices is the list of block devices to be used by the container.volumeDevices is the list of block devices to be used by the container.addVolumeDevicesBuilder
(int index) volumeDevices is the list of block devices to be used by the container.addVolumeMounts
(int index, V1.VolumeMount value) Pod volumes to mount into the container's filesystem.addVolumeMounts
(int index, V1.VolumeMount.Builder builderForValue) Pod volumes to mount into the container's filesystem.addVolumeMounts
(V1.VolumeMount value) Pod volumes to mount into the container's filesystem.addVolumeMounts
(V1.VolumeMount.Builder builderForValue) Pod volumes to mount into the container's filesystem.Pod volumes to mount into the container's filesystem.addVolumeMountsBuilder
(int index) Pod volumes to mount into the container's filesystem.build()
clear()
Arguments to the entrypoint.Entrypoint array.clearEnv()
List of environment variables to set in the container.List of sources to populate environment variables in the container.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Docker image name.Image pull policy.Actions that the management system should take in response to container lifecycle events.Periodic probe of container liveness.Name of the container specified as a DNS_LABEL.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) List of ports to expose from the container.Periodic probe of container service readiness.Compute Resources required by this container.SecurityContext defines the security options the container should be run with.StartupProbe indicates that the Pod has successfully initialized.Whether this container should allocate a buffer for stdin in the container runtime.Whether the container runtime should close the stdin channel after it has been opened by a single attach.Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem.Indicate how the termination message should be populated.clearTty()
Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.volumeDevices is the list of block devices to be used by the container.Pod volumes to mount into the container's filesystem.Container's working directory.clone()
getArgs
(int index) Arguments to the entrypoint.com.google.protobuf.ByteString
getArgsBytes
(int index) Arguments to the entrypoint.int
Arguments to the entrypoint.com.google.protobuf.ProtocolStringList
Arguments to the entrypoint.getCommand
(int index) Entrypoint array.com.google.protobuf.ByteString
getCommandBytes
(int index) Entrypoint array.int
Entrypoint array.com.google.protobuf.ProtocolStringList
Entrypoint array.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getEnv
(int index) List of environment variables to set in the container.getEnvBuilder
(int index) List of environment variables to set in the container.List of environment variables to set in the container.int
List of environment variables to set in the container.getEnvFrom
(int index) List of sources to populate environment variables in the container.getEnvFromBuilder
(int index) List of sources to populate environment variables in the container.List of sources to populate environment variables in the container.int
List of sources to populate environment variables in the container.List of sources to populate environment variables in the container.getEnvFromOrBuilder
(int index) List of sources to populate environment variables in the container.List<? extends V1.EnvFromSourceOrBuilder>
List of sources to populate environment variables in the container.List of environment variables to set in the container.getEnvOrBuilder
(int index) List of environment variables to set in the container.List<? extends V1.EnvVarOrBuilder>
List of environment variables to set in the container.getImage()
Docker image name.com.google.protobuf.ByteString
Docker image name.Image pull policy.com.google.protobuf.ByteString
Image pull policy.Actions that the management system should take in response to container lifecycle events.Actions that the management system should take in response to container lifecycle events.Actions that the management system should take in response to container lifecycle events.Periodic probe of container liveness.Periodic probe of container liveness.Periodic probe of container liveness.getName()
Name of the container specified as a DNS_LABEL.com.google.protobuf.ByteString
Name of the container specified as a DNS_LABEL.getPorts
(int index) List of ports to expose from the container.getPortsBuilder
(int index) List of ports to expose from the container.List of ports to expose from the container.int
List of ports to expose from the container.List of ports to expose from the container.getPortsOrBuilder
(int index) List of ports to expose from the container.List<? extends V1.ContainerPortOrBuilder>
List of ports to expose from the container.Periodic probe of container service readiness.Periodic probe of container service readiness.Periodic probe of container service readiness.Compute Resources required by this container.Compute Resources required by this container.Compute Resources required by this container.SecurityContext defines the security options the container should be run with.SecurityContext defines the security options the container should be run with.SecurityContext defines the security options the container should be run with.StartupProbe indicates that the Pod has successfully initialized.StartupProbe indicates that the Pod has successfully initialized.StartupProbe indicates that the Pod has successfully initialized.boolean
getStdin()
Whether this container should allocate a buffer for stdin in the container runtime.boolean
Whether the container runtime should close the stdin channel after it has been opened by a single attach.Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem.com.google.protobuf.ByteString
Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem.Indicate how the termination message should be populated.com.google.protobuf.ByteString
Indicate how the termination message should be populated.boolean
getTty()
Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.getVolumeDevices
(int index) volumeDevices is the list of block devices to be used by the container.getVolumeDevicesBuilder
(int index) volumeDevices is the list of block devices to be used by the container.volumeDevices is the list of block devices to be used by the container.int
volumeDevices is the list of block devices to be used by the container.volumeDevices is the list of block devices to be used by the container.getVolumeDevicesOrBuilder
(int index) volumeDevices is the list of block devices to be used by the container.List<? extends V1.VolumeDeviceOrBuilder>
volumeDevices is the list of block devices to be used by the container.getVolumeMounts
(int index) Pod volumes to mount into the container's filesystem.getVolumeMountsBuilder
(int index) Pod volumes to mount into the container's filesystem.Pod volumes to mount into the container's filesystem.int
Pod volumes to mount into the container's filesystem.Pod volumes to mount into the container's filesystem.getVolumeMountsOrBuilder
(int index) Pod volumes to mount into the container's filesystem.List<? extends V1.VolumeMountOrBuilder>
Pod volumes to mount into the container's filesystem.Container's working directory.com.google.protobuf.ByteString
Container's working directory.boolean
hasImage()
Docker image name.boolean
Image pull policy.boolean
Actions that the management system should take in response to container lifecycle events.boolean
Periodic probe of container liveness.boolean
hasName()
Name of the container specified as a DNS_LABEL.boolean
Periodic probe of container service readiness.boolean
Compute Resources required by this container.boolean
SecurityContext defines the security options the container should be run with.boolean
StartupProbe indicates that the Pod has successfully initialized.boolean
hasStdin()
Whether this container should allocate a buffer for stdin in the container runtime.boolean
Whether the container runtime should close the stdin channel after it has been opened by a single attach.boolean
Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem.boolean
Indicate how the termination message should be populated.boolean
hasTty()
Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.boolean
Container's working directory.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(V1.Container other) mergeLifecycle
(V1.Lifecycle value) Actions that the management system should take in response to container lifecycle events.mergeLivenessProbe
(V1.Probe value) Periodic probe of container liveness.mergeReadinessProbe
(V1.Probe value) Periodic probe of container service readiness.Compute Resources required by this container.SecurityContext defines the security options the container should be run with.mergeStartupProbe
(V1.Probe value) StartupProbe indicates that the Pod has successfully initialized.final V1.Container.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeEnv
(int index) List of environment variables to set in the container.removeEnvFrom
(int index) List of sources to populate environment variables in the container.removePorts
(int index) List of ports to expose from the container.removeVolumeDevices
(int index) volumeDevices is the list of block devices to be used by the container.removeVolumeMounts
(int index) Pod volumes to mount into the container's filesystem.Arguments to the entrypoint.setCommand
(int index, String value) Entrypoint array.List of environment variables to set in the container.setEnv
(int index, V1.EnvVar.Builder builderForValue) List of environment variables to set in the container.setEnvFrom
(int index, V1.EnvFromSource value) List of sources to populate environment variables in the container.setEnvFrom
(int index, V1.EnvFromSource.Builder builderForValue) List of sources to populate environment variables in the container.Docker image name.setImageBytes
(com.google.protobuf.ByteString value) Docker image name.setImagePullPolicy
(String value) Image pull policy.setImagePullPolicyBytes
(com.google.protobuf.ByteString value) Image pull policy.setLifecycle
(V1.Lifecycle value) Actions that the management system should take in response to container lifecycle events.setLifecycle
(V1.Lifecycle.Builder builderForValue) Actions that the management system should take in response to container lifecycle events.setLivenessProbe
(V1.Probe value) Periodic probe of container liveness.setLivenessProbe
(V1.Probe.Builder builderForValue) Periodic probe of container liveness.Name of the container specified as a DNS_LABEL.setNameBytes
(com.google.protobuf.ByteString value) Name of the container specified as a DNS_LABEL.setPorts
(int index, V1.ContainerPort value) List of ports to expose from the container.setPorts
(int index, V1.ContainerPort.Builder builderForValue) List of ports to expose from the container.setReadinessProbe
(V1.Probe value) Periodic probe of container service readiness.setReadinessProbe
(V1.Probe.Builder builderForValue) Periodic probe of container service readiness.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Compute Resources required by this container.setResources
(V1.ResourceRequirements.Builder builderForValue) Compute Resources required by this container.SecurityContext defines the security options the container should be run with.setSecurityContext
(V1.SecurityContext.Builder builderForValue) SecurityContext defines the security options the container should be run with.setStartupProbe
(V1.Probe value) StartupProbe indicates that the Pod has successfully initialized.setStartupProbe
(V1.Probe.Builder builderForValue) StartupProbe indicates that the Pod has successfully initialized.setStdin
(boolean value) Whether this container should allocate a buffer for stdin in the container runtime.setStdinOnce
(boolean value) Whether the container runtime should close the stdin channel after it has been opened by a single attach.setTerminationMessagePath
(String value) Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem.setTerminationMessagePathBytes
(com.google.protobuf.ByteString value) Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem.Indicate how the termination message should be populated.setTerminationMessagePolicyBytes
(com.google.protobuf.ByteString value) Indicate how the termination message should be populated.setTty
(boolean value) Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.final V1.Container.Builder
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setVolumeDevices
(int index, V1.VolumeDevice value) volumeDevices is the list of block devices to be used by the container.setVolumeDevices
(int index, V1.VolumeDevice.Builder builderForValue) volumeDevices is the list of block devices to be used by the container.setVolumeMounts
(int index, V1.VolumeMount value) Pod volumes to mount into the container's filesystem.setVolumeMounts
(int index, V1.VolumeMount.Builder builderForValue) Pod volumes to mount into the container's filesystem.setWorkingDir
(String value) Container's working directory.setWorkingDirBytes
(com.google.protobuf.ByteString value) Container's working directory.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.Container.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.Container.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.Container.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.Container.Builder>
-
setField
public V1.Container.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.Container.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.Container.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.Container.Builder>
-
setRepeatedField
public V1.Container.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.Container.Builder>
-
addRepeatedField
public V1.Container.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.Container.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1.Container.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.Container.Builder>
-
mergeFrom
public V1.Container.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1.Container.Builder>
- Throws:
IOException
-
hasName
public boolean hasName()Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.
optional string name = 1;
- Specified by:
hasName
in interfaceV1.ContainerOrBuilder
-
getName
Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.
optional string name = 1;
- Specified by:
getName
in interfaceV1.ContainerOrBuilder
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.
optional string name = 1;
- Specified by:
getNameBytes
in interfaceV1.ContainerOrBuilder
-
setName
Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.
optional string name = 1;
-
clearName
Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.
optional string name = 1;
-
setNameBytes
Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.
optional string name = 1;
-
hasImage
public boolean hasImage()Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets. +optional
optional string image = 2;
- Specified by:
hasImage
in interfaceV1.ContainerOrBuilder
-
getImage
Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets. +optional
optional string image = 2;
- Specified by:
getImage
in interfaceV1.ContainerOrBuilder
-
getImageBytes
public com.google.protobuf.ByteString getImageBytes()Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets. +optional
optional string image = 2;
- Specified by:
getImageBytes
in interfaceV1.ContainerOrBuilder
-
setImage
Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets. +optional
optional string image = 2;
-
clearImage
Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets. +optional
optional string image = 2;
-
setImageBytes
Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets. +optional
optional string image = 2;
-
getCommandList
public com.google.protobuf.ProtocolStringList getCommandList()Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional
repeated string command = 3;
- Specified by:
getCommandList
in interfaceV1.ContainerOrBuilder
-
getCommandCount
public int getCommandCount()Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional
repeated string command = 3;
- Specified by:
getCommandCount
in interfaceV1.ContainerOrBuilder
-
getCommand
Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional
repeated string command = 3;
- Specified by:
getCommand
in interfaceV1.ContainerOrBuilder
-
getCommandBytes
public com.google.protobuf.ByteString getCommandBytes(int index) Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional
repeated string command = 3;
- Specified by:
getCommandBytes
in interfaceV1.ContainerOrBuilder
-
setCommand
Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional
repeated string command = 3;
-
addCommand
Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional
repeated string command = 3;
-
addAllCommand
Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional
repeated string command = 3;
-
clearCommand
Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional
repeated string command = 3;
-
addCommandBytes
Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional
repeated string command = 3;
-
getArgsList
public com.google.protobuf.ProtocolStringList getArgsList()Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional
repeated string args = 4;
- Specified by:
getArgsList
in interfaceV1.ContainerOrBuilder
-
getArgsCount
public int getArgsCount()Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional
repeated string args = 4;
- Specified by:
getArgsCount
in interfaceV1.ContainerOrBuilder
-
getArgs
Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional
repeated string args = 4;
- Specified by:
getArgs
in interfaceV1.ContainerOrBuilder
-
getArgsBytes
public com.google.protobuf.ByteString getArgsBytes(int index) Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional
repeated string args = 4;
- Specified by:
getArgsBytes
in interfaceV1.ContainerOrBuilder
-
setArgs
Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional
repeated string args = 4;
-
addArgs
Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional
repeated string args = 4;
-
addAllArgs
Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional
repeated string args = 4;
-
clearArgs
Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional
repeated string args = 4;
-
addArgsBytes
Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional
repeated string args = 4;
-
hasWorkingDir
public boolean hasWorkingDir()Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated. +optional
optional string workingDir = 5;
- Specified by:
hasWorkingDir
in interfaceV1.ContainerOrBuilder
-
getWorkingDir
Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated. +optional
optional string workingDir = 5;
- Specified by:
getWorkingDir
in interfaceV1.ContainerOrBuilder
-
getWorkingDirBytes
public com.google.protobuf.ByteString getWorkingDirBytes()Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated. +optional
optional string workingDir = 5;
- Specified by:
getWorkingDirBytes
in interfaceV1.ContainerOrBuilder
-
setWorkingDir
Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated. +optional
optional string workingDir = 5;
-
clearWorkingDir
Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated. +optional
optional string workingDir = 5;
-
setWorkingDirBytes
Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated. +optional
optional string workingDir = 5;
-
getPortsList
List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default "0.0.0.0" address inside a container will be accessible from the network. Cannot be updated. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;
- Specified by:
getPortsList
in interfaceV1.ContainerOrBuilder
-
getPortsCount
public int getPortsCount()List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default "0.0.0.0" address inside a container will be accessible from the network. Cannot be updated. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;
- Specified by:
getPortsCount
in interfaceV1.ContainerOrBuilder
-
getPorts
List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default "0.0.0.0" address inside a container will be accessible from the network. Cannot be updated. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;
- Specified by:
getPorts
in interfaceV1.ContainerOrBuilder
-
setPorts
List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default "0.0.0.0" address inside a container will be accessible from the network. Cannot be updated. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;
-
setPorts
List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default "0.0.0.0" address inside a container will be accessible from the network. Cannot be updated. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;
-
addPorts
List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default "0.0.0.0" address inside a container will be accessible from the network. Cannot be updated. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;
-
addPorts
List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default "0.0.0.0" address inside a container will be accessible from the network. Cannot be updated. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;
-
addPorts
List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default "0.0.0.0" address inside a container will be accessible from the network. Cannot be updated. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;
-
addPorts
List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default "0.0.0.0" address inside a container will be accessible from the network. Cannot be updated. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;
-
addAllPorts
List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default "0.0.0.0" address inside a container will be accessible from the network. Cannot be updated. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;
-
clearPorts
List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default "0.0.0.0" address inside a container will be accessible from the network. Cannot be updated. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;
-
removePorts
List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default "0.0.0.0" address inside a container will be accessible from the network. Cannot be updated. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;
-
getPortsBuilder
List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default "0.0.0.0" address inside a container will be accessible from the network. Cannot be updated. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;
-
getPortsOrBuilder
List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default "0.0.0.0" address inside a container will be accessible from the network. Cannot be updated. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;
- Specified by:
getPortsOrBuilder
in interfaceV1.ContainerOrBuilder
-
getPortsOrBuilderList
List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default "0.0.0.0" address inside a container will be accessible from the network. Cannot be updated. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;
- Specified by:
getPortsOrBuilderList
in interfaceV1.ContainerOrBuilder
-
addPortsBuilder
List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default "0.0.0.0" address inside a container will be accessible from the network. Cannot be updated. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;
-
addPortsBuilder
List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default "0.0.0.0" address inside a container will be accessible from the network. Cannot be updated. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;
-
getPortsBuilderList
List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default "0.0.0.0" address inside a container will be accessible from the network. Cannot be updated. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;
-
getEnvFromList
List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. +optional
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
- Specified by:
getEnvFromList
in interfaceV1.ContainerOrBuilder
-
getEnvFromCount
public int getEnvFromCount()List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. +optional
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
- Specified by:
getEnvFromCount
in interfaceV1.ContainerOrBuilder
-
getEnvFrom
List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. +optional
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
- Specified by:
getEnvFrom
in interfaceV1.ContainerOrBuilder
-
setEnvFrom
List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. +optional
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
-
setEnvFrom
List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. +optional
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
-
addEnvFrom
List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. +optional
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
-
addEnvFrom
List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. +optional
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
-
addEnvFrom
List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. +optional
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
-
addEnvFrom
List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. +optional
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
-
addAllEnvFrom
List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. +optional
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
-
clearEnvFrom
List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. +optional
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
-
removeEnvFrom
List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. +optional
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
-
getEnvFromBuilder
List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. +optional
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
-
getEnvFromOrBuilder
List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. +optional
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
- Specified by:
getEnvFromOrBuilder
in interfaceV1.ContainerOrBuilder
-
getEnvFromOrBuilderList
List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. +optional
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
- Specified by:
getEnvFromOrBuilderList
in interfaceV1.ContainerOrBuilder
-
addEnvFromBuilder
List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. +optional
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
-
addEnvFromBuilder
List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. +optional
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
-
getEnvFromBuilderList
List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. +optional
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
-
getEnvList
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.EnvVar env = 7;
- Specified by:
getEnvList
in interfaceV1.ContainerOrBuilder
-
getEnvCount
public int getEnvCount()List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.EnvVar env = 7;
- Specified by:
getEnvCount
in interfaceV1.ContainerOrBuilder
-
getEnv
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.EnvVar env = 7;
- Specified by:
getEnv
in interfaceV1.ContainerOrBuilder
-
setEnv
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.EnvVar env = 7;
-
setEnv
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.EnvVar env = 7;
-
addEnv
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.EnvVar env = 7;
-
addEnv
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.EnvVar env = 7;
-
addEnv
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.EnvVar env = 7;
-
addEnv
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.EnvVar env = 7;
-
addAllEnv
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.EnvVar env = 7;
-
clearEnv
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.EnvVar env = 7;
-
removeEnv
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.EnvVar env = 7;
-
getEnvBuilder
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.EnvVar env = 7;
-
getEnvOrBuilder
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.EnvVar env = 7;
- Specified by:
getEnvOrBuilder
in interfaceV1.ContainerOrBuilder
-
getEnvOrBuilderList
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.EnvVar env = 7;
- Specified by:
getEnvOrBuilderList
in interfaceV1.ContainerOrBuilder
-
addEnvBuilder
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.EnvVar env = 7;
-
addEnvBuilder
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.EnvVar env = 7;
-
getEnvBuilderList
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.EnvVar env = 7;
-
hasResources
public boolean hasResources()Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +optional
optional .k8s.io.api.core.v1.ResourceRequirements resources = 8;
- Specified by:
hasResources
in interfaceV1.ContainerOrBuilder
-
getResources
Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +optional
optional .k8s.io.api.core.v1.ResourceRequirements resources = 8;
- Specified by:
getResources
in interfaceV1.ContainerOrBuilder
-
setResources
Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +optional
optional .k8s.io.api.core.v1.ResourceRequirements resources = 8;
-
setResources
Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +optional
optional .k8s.io.api.core.v1.ResourceRequirements resources = 8;
-
mergeResources
Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +optional
optional .k8s.io.api.core.v1.ResourceRequirements resources = 8;
-
clearResources
Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +optional
optional .k8s.io.api.core.v1.ResourceRequirements resources = 8;
-
getResourcesBuilder
Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +optional
optional .k8s.io.api.core.v1.ResourceRequirements resources = 8;
-
getResourcesOrBuilder
Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +optional
optional .k8s.io.api.core.v1.ResourceRequirements resources = 8;
- Specified by:
getResourcesOrBuilder
in interfaceV1.ContainerOrBuilder
-
getVolumeMountsList
Pod volumes to mount into the container's filesystem. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
- Specified by:
getVolumeMountsList
in interfaceV1.ContainerOrBuilder
-
getVolumeMountsCount
public int getVolumeMountsCount()Pod volumes to mount into the container's filesystem. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
- Specified by:
getVolumeMountsCount
in interfaceV1.ContainerOrBuilder
-
getVolumeMounts
Pod volumes to mount into the container's filesystem. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
- Specified by:
getVolumeMounts
in interfaceV1.ContainerOrBuilder
-
setVolumeMounts
Pod volumes to mount into the container's filesystem. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
-
setVolumeMounts
Pod volumes to mount into the container's filesystem. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
-
addVolumeMounts
Pod volumes to mount into the container's filesystem. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
-
addVolumeMounts
Pod volumes to mount into the container's filesystem. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
-
addVolumeMounts
Pod volumes to mount into the container's filesystem. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
-
addVolumeMounts
Pod volumes to mount into the container's filesystem. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
-
addAllVolumeMounts
Pod volumes to mount into the container's filesystem. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
-
clearVolumeMounts
Pod volumes to mount into the container's filesystem. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
-
removeVolumeMounts
Pod volumes to mount into the container's filesystem. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
-
getVolumeMountsBuilder
Pod volumes to mount into the container's filesystem. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
-
getVolumeMountsOrBuilder
Pod volumes to mount into the container's filesystem. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
- Specified by:
getVolumeMountsOrBuilder
in interfaceV1.ContainerOrBuilder
-
getVolumeMountsOrBuilderList
Pod volumes to mount into the container's filesystem. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
- Specified by:
getVolumeMountsOrBuilderList
in interfaceV1.ContainerOrBuilder
-
addVolumeMountsBuilder
Pod volumes to mount into the container's filesystem. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
-
addVolumeMountsBuilder
Pod volumes to mount into the container's filesystem. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
-
getVolumeMountsBuilderList
Pod volumes to mount into the container's filesystem. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
-
getVolumeDevicesList
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
- Specified by:
getVolumeDevicesList
in interfaceV1.ContainerOrBuilder
-
getVolumeDevicesCount
public int getVolumeDevicesCount()volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
- Specified by:
getVolumeDevicesCount
in interfaceV1.ContainerOrBuilder
-
getVolumeDevices
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
- Specified by:
getVolumeDevices
in interfaceV1.ContainerOrBuilder
-
setVolumeDevices
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
-
setVolumeDevices
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
-
addVolumeDevices
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
-
addVolumeDevices
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
-
addVolumeDevices
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
-
addVolumeDevices
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
-
addAllVolumeDevices
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
-
clearVolumeDevices
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
-
removeVolumeDevices
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
-
getVolumeDevicesBuilder
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
-
getVolumeDevicesOrBuilder
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
- Specified by:
getVolumeDevicesOrBuilder
in interfaceV1.ContainerOrBuilder
-
getVolumeDevicesOrBuilderList
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
- Specified by:
getVolumeDevicesOrBuilderList
in interfaceV1.ContainerOrBuilder
-
addVolumeDevicesBuilder
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
-
addVolumeDevicesBuilder
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
-
getVolumeDevicesBuilderList
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
-
hasLivenessProbe
public boolean hasLivenessProbe()Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
optional .k8s.io.api.core.v1.Probe livenessProbe = 10;
- Specified by:
hasLivenessProbe
in interfaceV1.ContainerOrBuilder
-
getLivenessProbe
Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
optional .k8s.io.api.core.v1.Probe livenessProbe = 10;
- Specified by:
getLivenessProbe
in interfaceV1.ContainerOrBuilder
-
setLivenessProbe
Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
optional .k8s.io.api.core.v1.Probe livenessProbe = 10;
-
setLivenessProbe
Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
optional .k8s.io.api.core.v1.Probe livenessProbe = 10;
-
mergeLivenessProbe
Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
optional .k8s.io.api.core.v1.Probe livenessProbe = 10;
-
clearLivenessProbe
Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
optional .k8s.io.api.core.v1.Probe livenessProbe = 10;
-
getLivenessProbeBuilder
Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
optional .k8s.io.api.core.v1.Probe livenessProbe = 10;
-
getLivenessProbeOrBuilder
Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
optional .k8s.io.api.core.v1.Probe livenessProbe = 10;
- Specified by:
getLivenessProbeOrBuilder
in interfaceV1.ContainerOrBuilder
-
hasReadinessProbe
public boolean hasReadinessProbe()Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
optional .k8s.io.api.core.v1.Probe readinessProbe = 11;
- Specified by:
hasReadinessProbe
in interfaceV1.ContainerOrBuilder
-
getReadinessProbe
Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
optional .k8s.io.api.core.v1.Probe readinessProbe = 11;
- Specified by:
getReadinessProbe
in interfaceV1.ContainerOrBuilder
-
setReadinessProbe
Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
optional .k8s.io.api.core.v1.Probe readinessProbe = 11;
-
setReadinessProbe
Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
optional .k8s.io.api.core.v1.Probe readinessProbe = 11;
-
mergeReadinessProbe
Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
optional .k8s.io.api.core.v1.Probe readinessProbe = 11;
-
clearReadinessProbe
Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
optional .k8s.io.api.core.v1.Probe readinessProbe = 11;
-
getReadinessProbeBuilder
Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
optional .k8s.io.api.core.v1.Probe readinessProbe = 11;
-
getReadinessProbeOrBuilder
Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
optional .k8s.io.api.core.v1.Probe readinessProbe = 11;
- Specified by:
getReadinessProbeOrBuilder
in interfaceV1.ContainerOrBuilder
-
hasStartupProbe
public boolean hasStartupProbe()StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
optional .k8s.io.api.core.v1.Probe startupProbe = 22;
- Specified by:
hasStartupProbe
in interfaceV1.ContainerOrBuilder
-
getStartupProbe
StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
optional .k8s.io.api.core.v1.Probe startupProbe = 22;
- Specified by:
getStartupProbe
in interfaceV1.ContainerOrBuilder
-
setStartupProbe
StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
optional .k8s.io.api.core.v1.Probe startupProbe = 22;
-
setStartupProbe
StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
optional .k8s.io.api.core.v1.Probe startupProbe = 22;
-
mergeStartupProbe
StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
optional .k8s.io.api.core.v1.Probe startupProbe = 22;
-
clearStartupProbe
StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
optional .k8s.io.api.core.v1.Probe startupProbe = 22;
-
getStartupProbeBuilder
StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
optional .k8s.io.api.core.v1.Probe startupProbe = 22;
-
getStartupProbeOrBuilder
StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
optional .k8s.io.api.core.v1.Probe startupProbe = 22;
- Specified by:
getStartupProbeOrBuilder
in interfaceV1.ContainerOrBuilder
-
hasLifecycle
public boolean hasLifecycle()Actions that the management system should take in response to container lifecycle events. Cannot be updated. +optional
optional .k8s.io.api.core.v1.Lifecycle lifecycle = 12;
- Specified by:
hasLifecycle
in interfaceV1.ContainerOrBuilder
-
getLifecycle
Actions that the management system should take in response to container lifecycle events. Cannot be updated. +optional
optional .k8s.io.api.core.v1.Lifecycle lifecycle = 12;
- Specified by:
getLifecycle
in interfaceV1.ContainerOrBuilder
-
setLifecycle
Actions that the management system should take in response to container lifecycle events. Cannot be updated. +optional
optional .k8s.io.api.core.v1.Lifecycle lifecycle = 12;
-
setLifecycle
Actions that the management system should take in response to container lifecycle events. Cannot be updated. +optional
optional .k8s.io.api.core.v1.Lifecycle lifecycle = 12;
-
mergeLifecycle
Actions that the management system should take in response to container lifecycle events. Cannot be updated. +optional
optional .k8s.io.api.core.v1.Lifecycle lifecycle = 12;
-
clearLifecycle
Actions that the management system should take in response to container lifecycle events. Cannot be updated. +optional
optional .k8s.io.api.core.v1.Lifecycle lifecycle = 12;
-
getLifecycleBuilder
Actions that the management system should take in response to container lifecycle events. Cannot be updated. +optional
optional .k8s.io.api.core.v1.Lifecycle lifecycle = 12;
-
getLifecycleOrBuilder
Actions that the management system should take in response to container lifecycle events. Cannot be updated. +optional
optional .k8s.io.api.core.v1.Lifecycle lifecycle = 12;
- Specified by:
getLifecycleOrBuilder
in interfaceV1.ContainerOrBuilder
-
hasTerminationMessagePath
public boolean hasTerminationMessagePath()Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated. +optional
optional string terminationMessagePath = 13;
- Specified by:
hasTerminationMessagePath
in interfaceV1.ContainerOrBuilder
-
getTerminationMessagePath
Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated. +optional
optional string terminationMessagePath = 13;
- Specified by:
getTerminationMessagePath
in interfaceV1.ContainerOrBuilder
-
getTerminationMessagePathBytes
public com.google.protobuf.ByteString getTerminationMessagePathBytes()Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated. +optional
optional string terminationMessagePath = 13;
- Specified by:
getTerminationMessagePathBytes
in interfaceV1.ContainerOrBuilder
-
setTerminationMessagePath
Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated. +optional
optional string terminationMessagePath = 13;
-
clearTerminationMessagePath
Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated. +optional
optional string terminationMessagePath = 13;
-
setTerminationMessagePathBytes
Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated. +optional
optional string terminationMessagePath = 13;
-
hasTerminationMessagePolicy
public boolean hasTerminationMessagePolicy()Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. +optional
optional string terminationMessagePolicy = 20;
- Specified by:
hasTerminationMessagePolicy
in interfaceV1.ContainerOrBuilder
-
getTerminationMessagePolicy
Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. +optional
optional string terminationMessagePolicy = 20;
- Specified by:
getTerminationMessagePolicy
in interfaceV1.ContainerOrBuilder
-
getTerminationMessagePolicyBytes
public com.google.protobuf.ByteString getTerminationMessagePolicyBytes()Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. +optional
optional string terminationMessagePolicy = 20;
- Specified by:
getTerminationMessagePolicyBytes
in interfaceV1.ContainerOrBuilder
-
setTerminationMessagePolicy
Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. +optional
optional string terminationMessagePolicy = 20;
-
clearTerminationMessagePolicy
Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. +optional
optional string terminationMessagePolicy = 20;
-
setTerminationMessagePolicyBytes
Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. +optional
optional string terminationMessagePolicy = 20;
-
hasImagePullPolicy
public boolean hasImagePullPolicy()Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images +optional
optional string imagePullPolicy = 14;
- Specified by:
hasImagePullPolicy
in interfaceV1.ContainerOrBuilder
-
getImagePullPolicy
Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images +optional
optional string imagePullPolicy = 14;
- Specified by:
getImagePullPolicy
in interfaceV1.ContainerOrBuilder
-
getImagePullPolicyBytes
public com.google.protobuf.ByteString getImagePullPolicyBytes()Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images +optional
optional string imagePullPolicy = 14;
- Specified by:
getImagePullPolicyBytes
in interfaceV1.ContainerOrBuilder
-
setImagePullPolicy
Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images +optional
optional string imagePullPolicy = 14;
-
clearImagePullPolicy
Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images +optional
optional string imagePullPolicy = 14;
-
setImagePullPolicyBytes
Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images +optional
optional string imagePullPolicy = 14;
-
hasSecurityContext
public boolean hasSecurityContext()SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ +optional
optional .k8s.io.api.core.v1.SecurityContext securityContext = 15;
- Specified by:
hasSecurityContext
in interfaceV1.ContainerOrBuilder
-
getSecurityContext
SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ +optional
optional .k8s.io.api.core.v1.SecurityContext securityContext = 15;
- Specified by:
getSecurityContext
in interfaceV1.ContainerOrBuilder
-
setSecurityContext
SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ +optional
optional .k8s.io.api.core.v1.SecurityContext securityContext = 15;
-
setSecurityContext
SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ +optional
optional .k8s.io.api.core.v1.SecurityContext securityContext = 15;
-
mergeSecurityContext
SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ +optional
optional .k8s.io.api.core.v1.SecurityContext securityContext = 15;
-
clearSecurityContext
SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ +optional
optional .k8s.io.api.core.v1.SecurityContext securityContext = 15;
-
getSecurityContextBuilder
SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ +optional
optional .k8s.io.api.core.v1.SecurityContext securityContext = 15;
-
getSecurityContextOrBuilder
SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ +optional
optional .k8s.io.api.core.v1.SecurityContext securityContext = 15;
- Specified by:
getSecurityContextOrBuilder
in interfaceV1.ContainerOrBuilder
-
hasStdin
public boolean hasStdin()Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false. +optional
optional bool stdin = 16;
- Specified by:
hasStdin
in interfaceV1.ContainerOrBuilder
-
getStdin
public boolean getStdin()Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false. +optional
optional bool stdin = 16;
- Specified by:
getStdin
in interfaceV1.ContainerOrBuilder
-
setStdin
Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false. +optional
optional bool stdin = 16;
-
clearStdin
Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false. +optional
optional bool stdin = 16;
-
hasStdinOnce
public boolean hasStdinOnce()Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false +optional
optional bool stdinOnce = 17;
- Specified by:
hasStdinOnce
in interfaceV1.ContainerOrBuilder
-
getStdinOnce
public boolean getStdinOnce()Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false +optional
optional bool stdinOnce = 17;
- Specified by:
getStdinOnce
in interfaceV1.ContainerOrBuilder
-
setStdinOnce
Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false +optional
optional bool stdinOnce = 17;
-
clearStdinOnce
Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false +optional
optional bool stdinOnce = 17;
-
hasTty
public boolean hasTty()Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false. +optional
optional bool tty = 18;
- Specified by:
hasTty
in interfaceV1.ContainerOrBuilder
-
getTty
public boolean getTty()Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false. +optional
optional bool tty = 18;
- Specified by:
getTty
in interfaceV1.ContainerOrBuilder
-
setTty
Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false. +optional
optional bool tty = 18;
-
clearTty
Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false. +optional
optional bool tty = 18;
-
setUnknownFields
public final V1.Container.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.Container.Builder>
-
mergeUnknownFields
public final V1.Container.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.Container.Builder>
-