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.Descriptorcom.google.protobuf.Descriptors.DescriptorintMinimum 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.ByteStringpodManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down.intreplicas is the desired number of replicas of the given Template.intrevisionHistoryLimit 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.ByteStringserviceName 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.intvolumeClaimTemplates 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.booleanMinimum number of seconds for which a newly created pod should be ready without any of its container crashing for it to be considered available.booleanpodManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down.booleanreplicas is the desired number of replicas of the given Template.booleanrevisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history.booleanselector is a label query over pods that should match the replica count.booleanserviceName is the name of the service that governs this StatefulSet.booleantemplate is the object that describes the pod that will be created if insufficient replicas are detected.booleanupdateStrategy 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.FieldAccessorTablefinal booleanmergeFrom(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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<V1Apps.StatefulSetSpec.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Apps.StatefulSetSpec.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<V1Apps.StatefulSetSpec.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<V1Apps.StatefulSetSpec.Builder>
-
setField
public V1Apps.StatefulSetSpec.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Apps.StatefulSetSpec.Builder>
-
clearField
public V1Apps.StatefulSetSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Apps.StatefulSetSpec.Builder>
-
clearOneof
public V1Apps.StatefulSetSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Apps.StatefulSetSpec.Builder>
-
addRepeatedField
public V1Apps.StatefulSetSpec.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Apps.StatefulSetSpec.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1Apps.StatefulSetSpec.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
hasReplicasin 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:
getReplicasin 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:
hasSelectorin 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:
getSelectorin 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:
getSelectorOrBuilderin 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:
hasTemplatein 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:
getTemplatein 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:
getTemplateOrBuilderin 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:
getVolumeClaimTemplatesListin 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:
getVolumeClaimTemplatesCountin 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:
getVolumeClaimTemplatesin 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:
getVolumeClaimTemplatesOrBuilderin 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:
getVolumeClaimTemplatesOrBuilderListin 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:
hasServiceNamein 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:
getServiceNamein 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:
getServiceNameBytesin 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:
hasPodManagementPolicyin 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:
getPodManagementPolicyin 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:
getPodManagementPolicyBytesin 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:
hasUpdateStrategyin 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:
getUpdateStrategyin 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:
getUpdateStrategyOrBuilderin 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:
hasRevisionHistoryLimitin 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:
getRevisionHistoryLimitin 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:
hasMinReadySecondsin 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:
getMinReadySecondsin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Apps.StatefulSetSpec.Builder>
-
mergeUnknownFields
public final V1Apps.StatefulSetSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Apps.StatefulSetSpec.Builder>
-