Package io.kubernetes.client.proto
Class V1Apps.StatefulSetSpec.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1Apps.StatefulSetSpec.Builder>
io.kubernetes.client.proto.V1Apps.StatefulSetSpec.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,V1Apps.StatefulSetSpecOrBuilder
,Cloneable
- Enclosing class:
- V1Apps.StatefulSetSpec
public static final class V1Apps.StatefulSetSpec.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<V1Apps.StatefulSetSpec.Builder>
implements V1Apps.StatefulSetSpecOrBuilder
A StatefulSetSpec is the specification of a StatefulSet.Protobuf type
k8s.io.api.apps.v1.StatefulSetSpec
-
Method Summary
Modifier and TypeMethodDescriptionaddAllVolumeClaimTemplates
(Iterable<? extends V1.PersistentVolumeClaim> values) volumeClaimTemplates is a list of claims that pods are allowed to reference.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addVolumeClaimTemplates
(int index, V1.PersistentVolumeClaim value) volumeClaimTemplates is a list of claims that pods are allowed to reference.addVolumeClaimTemplates
(int index, V1.PersistentVolumeClaim.Builder builderForValue) volumeClaimTemplates is a list of claims that pods are allowed to reference.volumeClaimTemplates is a list of claims that pods are allowed to reference.addVolumeClaimTemplates
(V1.PersistentVolumeClaim.Builder builderForValue) volumeClaimTemplates is a list of claims that pods are allowed to reference.volumeClaimTemplates is a list of claims that pods are allowed to reference.addVolumeClaimTemplatesBuilder
(int index) volumeClaimTemplates is a list of claims that pods are allowed to reference.build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Minimum number of seconds for which a newly created pod should be ready without any of its container crashing for it to be considered available.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down.replicas is the desired number of replicas of the given Template.revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history.selector is a label query over pods that should match the replica count.serviceName is the name of the service that governs this StatefulSet.template is the object that describes the pod that will be created if insufficient replicas are detected.updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.volumeClaimTemplates is a list of claims that pods are allowed to reference.clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
int
Minimum number of seconds for which a newly created pod should be ready without any of its container crashing for it to be considered available.podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down.com.google.protobuf.ByteString
podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down.int
replicas is the desired number of replicas of the given Template.int
revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history.selector is a label query over pods that should match the replica count.selector is a label query over pods that should match the replica count.selector is a label query over pods that should match the replica count.serviceName is the name of the service that governs this StatefulSet.com.google.protobuf.ByteString
serviceName is the name of the service that governs this StatefulSet.template is the object that describes the pod that will be created if insufficient replicas are detected.template is the object that describes the pod that will be created if insufficient replicas are detected.template is the object that describes the pod that will be created if insufficient replicas are detected.updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.getVolumeClaimTemplates
(int index) volumeClaimTemplates is a list of claims that pods are allowed to reference.getVolumeClaimTemplatesBuilder
(int index) volumeClaimTemplates is a list of claims that pods are allowed to reference.volumeClaimTemplates is a list of claims that pods are allowed to reference.int
volumeClaimTemplates is a list of claims that pods are allowed to reference.volumeClaimTemplates is a list of claims that pods are allowed to reference.getVolumeClaimTemplatesOrBuilder
(int index) volumeClaimTemplates is a list of claims that pods are allowed to reference.List<? extends V1.PersistentVolumeClaimOrBuilder>
volumeClaimTemplates is a list of claims that pods are allowed to reference.boolean
Minimum number of seconds for which a newly created pod should be ready without any of its container crashing for it to be considered available.boolean
podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down.boolean
replicas is the desired number of replicas of the given Template.boolean
revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history.boolean
selector is a label query over pods that should match the replica count.boolean
serviceName is the name of the service that governs this StatefulSet.boolean
template is the object that describes the pod that will be created if insufficient replicas are detected.boolean
updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.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
(V1Apps.StatefulSetSpec other) mergeSelector
(Meta.LabelSelector value) selector is a label query over pods that should match the replica count.mergeTemplate
(V1.PodTemplateSpec value) template is the object that describes the pod that will be created if insufficient replicas are detected.mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.removeVolumeClaimTemplates
(int index) volumeClaimTemplates is a list of claims that pods are allowed to reference.setMinReadySeconds
(int value) Minimum number of seconds for which a newly created pod should be ready without any of its container crashing for it to be considered available.setPodManagementPolicy
(String value) podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down.setPodManagementPolicyBytes
(com.google.protobuf.ByteString value) podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setReplicas
(int value) replicas is the desired number of replicas of the given Template.setRevisionHistoryLimit
(int value) revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history.setSelector
(Meta.LabelSelector value) selector is a label query over pods that should match the replica count.setSelector
(Meta.LabelSelector.Builder builderForValue) selector is a label query over pods that should match the replica count.setServiceName
(String value) serviceName is the name of the service that governs this StatefulSet.setServiceNameBytes
(com.google.protobuf.ByteString value) serviceName is the name of the service that governs this StatefulSet.setTemplate
(V1.PodTemplateSpec value) template is the object that describes the pod that will be created if insufficient replicas are detected.setTemplate
(V1.PodTemplateSpec.Builder builderForValue) template is the object that describes the pod that will be created if insufficient replicas are detected.setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.setUpdateStrategy
(V1Apps.StatefulSetUpdateStrategy.Builder builderForValue) updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.setVolumeClaimTemplates
(int index, V1.PersistentVolumeClaim value) volumeClaimTemplates is a list of claims that pods are allowed to reference.setVolumeClaimTemplates
(int index, V1.PersistentVolumeClaim.Builder builderForValue) volumeClaimTemplates is a list of claims that pods are allowed to reference.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<V1Apps.StatefulSetSpec.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<V1Apps.StatefulSetSpec.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<V1Apps.StatefulSetSpec.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<V1Apps.StatefulSetSpec.Builder>
-
setField
public V1Apps.StatefulSetSpec.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<V1Apps.StatefulSetSpec.Builder>
-
clearField
public V1Apps.StatefulSetSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Apps.StatefulSetSpec.Builder>
-
clearOneof
public V1Apps.StatefulSetSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Apps.StatefulSetSpec.Builder>
-
setRepeatedField
public V1Apps.StatefulSetSpec.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<V1Apps.StatefulSetSpec.Builder>
-
addRepeatedField
public V1Apps.StatefulSetSpec.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<V1Apps.StatefulSetSpec.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1Apps.StatefulSetSpec.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Apps.StatefulSetSpec.Builder>
-
mergeFrom
public V1Apps.StatefulSetSpec.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<V1Apps.StatefulSetSpec.Builder>
- Throws:
IOException
-
hasReplicas
public boolean hasReplicas()replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. TODO: Consider a rename of this field. +optional
optional int32 replicas = 1;
- Specified by:
hasReplicas
in interfaceV1Apps.StatefulSetSpecOrBuilder
-
getReplicas
public int getReplicas()replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. TODO: Consider a rename of this field. +optional
optional int32 replicas = 1;
- Specified by:
getReplicas
in interfaceV1Apps.StatefulSetSpecOrBuilder
-
setReplicas
replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. TODO: Consider a rename of this field. +optional
optional int32 replicas = 1;
-
clearReplicas
replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. TODO: Consider a rename of this field. +optional
optional int32 replicas = 1;
-
hasSelector
public boolean hasSelector()selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;
- Specified by:
hasSelector
in interfaceV1Apps.StatefulSetSpecOrBuilder
-
getSelector
selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;
- Specified by:
getSelector
in interfaceV1Apps.StatefulSetSpecOrBuilder
-
setSelector
selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;
-
setSelector
selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;
-
mergeSelector
selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;
-
clearSelector
selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;
-
getSelectorBuilder
selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;
-
getSelectorOrBuilder
selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;
- Specified by:
getSelectorOrBuilder
in interfaceV1Apps.StatefulSetSpecOrBuilder
-
hasTemplate
public boolean hasTemplate()template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet.
optional .k8s.io.api.core.v1.PodTemplateSpec template = 3;
- Specified by:
hasTemplate
in interfaceV1Apps.StatefulSetSpecOrBuilder
-
getTemplate
template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet.
optional .k8s.io.api.core.v1.PodTemplateSpec template = 3;
- Specified by:
getTemplate
in interfaceV1Apps.StatefulSetSpecOrBuilder
-
setTemplate
template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet.
optional .k8s.io.api.core.v1.PodTemplateSpec template = 3;
-
setTemplate
template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet.
optional .k8s.io.api.core.v1.PodTemplateSpec template = 3;
-
mergeTemplate
template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet.
optional .k8s.io.api.core.v1.PodTemplateSpec template = 3;
-
clearTemplate
template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet.
optional .k8s.io.api.core.v1.PodTemplateSpec template = 3;
-
getTemplateBuilder
template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet.
optional .k8s.io.api.core.v1.PodTemplateSpec template = 3;
-
getTemplateOrBuilder
template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet.
optional .k8s.io.api.core.v1.PodTemplateSpec template = 3;
- Specified by:
getTemplateOrBuilder
in interfaceV1Apps.StatefulSetSpecOrBuilder
-
getVolumeClaimTemplatesList
volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name. TODO: Define the behavior if a claim already exists with the same name. +optional
repeated .k8s.io.api.core.v1.PersistentVolumeClaim volumeClaimTemplates = 4;
- Specified by:
getVolumeClaimTemplatesList
in interfaceV1Apps.StatefulSetSpecOrBuilder
-
getVolumeClaimTemplatesCount
public int getVolumeClaimTemplatesCount()volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name. TODO: Define the behavior if a claim already exists with the same name. +optional
repeated .k8s.io.api.core.v1.PersistentVolumeClaim volumeClaimTemplates = 4;
- Specified by:
getVolumeClaimTemplatesCount
in interfaceV1Apps.StatefulSetSpecOrBuilder
-
getVolumeClaimTemplates
volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name. TODO: Define the behavior if a claim already exists with the same name. +optional
repeated .k8s.io.api.core.v1.PersistentVolumeClaim volumeClaimTemplates = 4;
- Specified by:
getVolumeClaimTemplates
in interfaceV1Apps.StatefulSetSpecOrBuilder
-
setVolumeClaimTemplates
public V1Apps.StatefulSetSpec.Builder setVolumeClaimTemplates(int index, V1.PersistentVolumeClaim value) volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name. TODO: Define the behavior if a claim already exists with the same name. +optional
repeated .k8s.io.api.core.v1.PersistentVolumeClaim volumeClaimTemplates = 4;
-
setVolumeClaimTemplates
public V1Apps.StatefulSetSpec.Builder setVolumeClaimTemplates(int index, V1.PersistentVolumeClaim.Builder builderForValue) volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name. TODO: Define the behavior if a claim already exists with the same name. +optional
repeated .k8s.io.api.core.v1.PersistentVolumeClaim volumeClaimTemplates = 4;
-
addVolumeClaimTemplates
volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name. TODO: Define the behavior if a claim already exists with the same name. +optional
repeated .k8s.io.api.core.v1.PersistentVolumeClaim volumeClaimTemplates = 4;
-
addVolumeClaimTemplates
public V1Apps.StatefulSetSpec.Builder addVolumeClaimTemplates(int index, V1.PersistentVolumeClaim value) volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name. TODO: Define the behavior if a claim already exists with the same name. +optional
repeated .k8s.io.api.core.v1.PersistentVolumeClaim volumeClaimTemplates = 4;
-
addVolumeClaimTemplates
public V1Apps.StatefulSetSpec.Builder addVolumeClaimTemplates(V1.PersistentVolumeClaim.Builder builderForValue) volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name. TODO: Define the behavior if a claim already exists with the same name. +optional
repeated .k8s.io.api.core.v1.PersistentVolumeClaim volumeClaimTemplates = 4;
-
addVolumeClaimTemplates
public V1Apps.StatefulSetSpec.Builder addVolumeClaimTemplates(int index, V1.PersistentVolumeClaim.Builder builderForValue) volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name. TODO: Define the behavior if a claim already exists with the same name. +optional
repeated .k8s.io.api.core.v1.PersistentVolumeClaim volumeClaimTemplates = 4;
-
addAllVolumeClaimTemplates
public V1Apps.StatefulSetSpec.Builder addAllVolumeClaimTemplates(Iterable<? extends V1.PersistentVolumeClaim> values) volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name. TODO: Define the behavior if a claim already exists with the same name. +optional
repeated .k8s.io.api.core.v1.PersistentVolumeClaim volumeClaimTemplates = 4;
-
clearVolumeClaimTemplates
volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name. TODO: Define the behavior if a claim already exists with the same name. +optional
repeated .k8s.io.api.core.v1.PersistentVolumeClaim volumeClaimTemplates = 4;
-
removeVolumeClaimTemplates
volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name. TODO: Define the behavior if a claim already exists with the same name. +optional
repeated .k8s.io.api.core.v1.PersistentVolumeClaim volumeClaimTemplates = 4;
-
getVolumeClaimTemplatesBuilder
volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name. TODO: Define the behavior if a claim already exists with the same name. +optional
repeated .k8s.io.api.core.v1.PersistentVolumeClaim volumeClaimTemplates = 4;
-
getVolumeClaimTemplatesOrBuilder
volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name. TODO: Define the behavior if a claim already exists with the same name. +optional
repeated .k8s.io.api.core.v1.PersistentVolumeClaim volumeClaimTemplates = 4;
- Specified by:
getVolumeClaimTemplatesOrBuilder
in interfaceV1Apps.StatefulSetSpecOrBuilder
-
getVolumeClaimTemplatesOrBuilderList
volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name. TODO: Define the behavior if a claim already exists with the same name. +optional
repeated .k8s.io.api.core.v1.PersistentVolumeClaim volumeClaimTemplates = 4;
- Specified by:
getVolumeClaimTemplatesOrBuilderList
in interfaceV1Apps.StatefulSetSpecOrBuilder
-
addVolumeClaimTemplatesBuilder
volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name. TODO: Define the behavior if a claim already exists with the same name. +optional
repeated .k8s.io.api.core.v1.PersistentVolumeClaim volumeClaimTemplates = 4;
-
addVolumeClaimTemplatesBuilder
volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name. TODO: Define the behavior if a claim already exists with the same name. +optional
repeated .k8s.io.api.core.v1.PersistentVolumeClaim volumeClaimTemplates = 4;
-
getVolumeClaimTemplatesBuilderList
volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name. TODO: Define the behavior if a claim already exists with the same name. +optional
repeated .k8s.io.api.core.v1.PersistentVolumeClaim volumeClaimTemplates = 4;
-
hasServiceName
public boolean hasServiceName()serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller.
optional string serviceName = 5;
- Specified by:
hasServiceName
in interfaceV1Apps.StatefulSetSpecOrBuilder
-
getServiceName
serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller.
optional string serviceName = 5;
- Specified by:
getServiceName
in interfaceV1Apps.StatefulSetSpecOrBuilder
-
getServiceNameBytes
public com.google.protobuf.ByteString getServiceNameBytes()serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller.
optional string serviceName = 5;
- Specified by:
getServiceNameBytes
in interfaceV1Apps.StatefulSetSpecOrBuilder
-
setServiceName
serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller.
optional string serviceName = 5;
-
clearServiceName
serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller.
optional string serviceName = 5;
-
setServiceNameBytes
serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller.
optional string serviceName = 5;
-
hasPodManagementPolicy
public boolean hasPodManagementPolicy()podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once. +optional
optional string podManagementPolicy = 6;
- Specified by:
hasPodManagementPolicy
in interfaceV1Apps.StatefulSetSpecOrBuilder
-
getPodManagementPolicy
podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once. +optional
optional string podManagementPolicy = 6;
- Specified by:
getPodManagementPolicy
in interfaceV1Apps.StatefulSetSpecOrBuilder
-
getPodManagementPolicyBytes
public com.google.protobuf.ByteString getPodManagementPolicyBytes()podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once. +optional
optional string podManagementPolicy = 6;
- Specified by:
getPodManagementPolicyBytes
in interfaceV1Apps.StatefulSetSpecOrBuilder
-
setPodManagementPolicy
podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once. +optional
optional string podManagementPolicy = 6;
-
clearPodManagementPolicy
podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once. +optional
optional string podManagementPolicy = 6;
-
setPodManagementPolicyBytes
public V1Apps.StatefulSetSpec.Builder setPodManagementPolicyBytes(com.google.protobuf.ByteString value) podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once. +optional
optional string podManagementPolicy = 6;
-
hasUpdateStrategy
public boolean hasUpdateStrategy()updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.
optional .k8s.io.api.apps.v1.StatefulSetUpdateStrategy updateStrategy = 7;
- Specified by:
hasUpdateStrategy
in interfaceV1Apps.StatefulSetSpecOrBuilder
-
getUpdateStrategy
updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.
optional .k8s.io.api.apps.v1.StatefulSetUpdateStrategy updateStrategy = 7;
- Specified by:
getUpdateStrategy
in interfaceV1Apps.StatefulSetSpecOrBuilder
-
setUpdateStrategy
updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.
optional .k8s.io.api.apps.v1.StatefulSetUpdateStrategy updateStrategy = 7;
-
setUpdateStrategy
public V1Apps.StatefulSetSpec.Builder setUpdateStrategy(V1Apps.StatefulSetUpdateStrategy.Builder builderForValue) updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.
optional .k8s.io.api.apps.v1.StatefulSetUpdateStrategy updateStrategy = 7;
-
mergeUpdateStrategy
updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.
optional .k8s.io.api.apps.v1.StatefulSetUpdateStrategy updateStrategy = 7;
-
clearUpdateStrategy
updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.
optional .k8s.io.api.apps.v1.StatefulSetUpdateStrategy updateStrategy = 7;
-
getUpdateStrategyBuilder
updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.
optional .k8s.io.api.apps.v1.StatefulSetUpdateStrategy updateStrategy = 7;
-
getUpdateStrategyOrBuilder
updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.
optional .k8s.io.api.apps.v1.StatefulSetUpdateStrategy updateStrategy = 7;
- Specified by:
getUpdateStrategyOrBuilder
in interfaceV1Apps.StatefulSetSpecOrBuilder
-
hasRevisionHistoryLimit
public boolean hasRevisionHistoryLimit()revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.
optional int32 revisionHistoryLimit = 8;
- Specified by:
hasRevisionHistoryLimit
in interfaceV1Apps.StatefulSetSpecOrBuilder
-
getRevisionHistoryLimit
public int getRevisionHistoryLimit()revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.
optional int32 revisionHistoryLimit = 8;
- Specified by:
getRevisionHistoryLimit
in interfaceV1Apps.StatefulSetSpecOrBuilder
-
setRevisionHistoryLimit
revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.
optional int32 revisionHistoryLimit = 8;
-
clearRevisionHistoryLimit
revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.
optional int32 revisionHistoryLimit = 8;
-
hasMinReadySeconds
public boolean hasMinReadySeconds()Minimum number of seconds for which a newly created pod should be ready without any of its container crashing for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) This is an alpha field and requires enabling StatefulSetMinReadySeconds feature gate. +optional
optional int32 minReadySeconds = 9;
- Specified by:
hasMinReadySeconds
in interfaceV1Apps.StatefulSetSpecOrBuilder
-
getMinReadySeconds
public int getMinReadySeconds()Minimum number of seconds for which a newly created pod should be ready without any of its container crashing for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) This is an alpha field and requires enabling StatefulSetMinReadySeconds feature gate. +optional
optional int32 minReadySeconds = 9;
- Specified by:
getMinReadySeconds
in interfaceV1Apps.StatefulSetSpecOrBuilder
-
setMinReadySeconds
Minimum number of seconds for which a newly created pod should be ready without any of its container crashing for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) This is an alpha field and requires enabling StatefulSetMinReadySeconds feature gate. +optional
optional int32 minReadySeconds = 9;
-
clearMinReadySeconds
Minimum number of seconds for which a newly created pod should be ready without any of its container crashing for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) This is an alpha field and requires enabling StatefulSetMinReadySeconds feature gate. +optional
optional int32 minReadySeconds = 9;
-
setUnknownFields
public final V1Apps.StatefulSetSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Apps.StatefulSetSpec.Builder>
-
mergeUnknownFields
public final V1Apps.StatefulSetSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Apps.StatefulSetSpec.Builder>
-