Package io.kubernetes.client.proto
Interface V1beta2Apps.ReplicaSetSpecOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
V1beta2Apps.ReplicaSetSpec
,V1beta2Apps.ReplicaSetSpec.Builder
- Enclosing class:
- V1beta2Apps
public static interface V1beta2Apps.ReplicaSetSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionint
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.int
Replicas is the number of desired replicas.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.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.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
Replicas is the number of desired replicas.boolean
Selector is a label query over pods that should match the replica count.boolean
Template is the object that describes the pod that will be created if insufficient replicas are detected.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasReplicas
boolean hasReplicas()Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller +optional
optional int32 replicas = 1;
-
getReplicas
int getReplicas()Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller +optional
optional int32 replicas = 1;
-
hasMinReadySeconds
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) +optional
optional int32 minReadySeconds = 4;
-
getMinReadySeconds
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) +optional
optional int32 minReadySeconds = 4;
-
hasSelector
boolean hasSelector()Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. 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;
-
getSelector
Meta.LabelSelector getSelector()Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. 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
Meta.LabelSelectorOrBuilder getSelectorOrBuilder()Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. 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;
-
hasTemplate
boolean hasTemplate()Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template +optional
optional .k8s.io.api.core.v1.PodTemplateSpec template = 3;
-
getTemplate
V1.PodTemplateSpec getTemplate()Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template +optional
optional .k8s.io.api.core.v1.PodTemplateSpec template = 3;
-
getTemplateOrBuilder
V1.PodTemplateSpecOrBuilder getTemplateOrBuilder()Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template +optional
optional .k8s.io.api.core.v1.PodTemplateSpec template = 3;
-