public static interface V1.ReplicationControllerSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsSelector(String key)
Selector is a label query over pods that should match the Replicas count.
|
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.
|
int |
getReplicas()
Replicas is the number of desired replicas.
|
Map<String,String> |
getSelector()
Deprecated.
|
int |
getSelectorCount()
Selector is a label query over pods that should match the Replicas count.
|
Map<String,String> |
getSelectorMap()
Selector is a label query over pods that should match the Replicas count.
|
String |
getSelectorOrDefault(String key,
String defaultValue)
Selector is a label query over pods that should match the Replicas count.
|
String |
getSelectorOrThrow(String key)
Selector is a label query over pods that should match the Replicas count.
|
V1.PodTemplateSpec |
getTemplate()
Template is the object that describes the pod that will be created if
insufficient replicas are detected.
|
V1.PodTemplateSpecOrBuilder |
getTemplateOrBuilder()
Template is the object that describes the pod that will be created if
insufficient replicas are detected.
|
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.
|
boolean |
hasReplicas()
Replicas is the number of desired replicas.
|
boolean |
hasTemplate()
Template is the object that describes the pod that will be created if
insufficient replicas are detected.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean 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;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;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;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;int getSelectorCount()
Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors +optional
map<string, string> selector = 2;boolean containsSelector(String key)
Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors +optional
map<string, string> selector = 2;@Deprecated Map<String,String> getSelector()
getSelectorMap() instead.Map<String,String> getSelectorMap()
Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors +optional
map<string, string> selector = 2;String getSelectorOrDefault(String key, String defaultValue)
Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors +optional
map<string, string> selector = 2;String getSelectorOrThrow(String key)
Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors +optional
map<string, string> selector = 2;boolean hasTemplate()
Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template +optional
optional .k8s.io.api.core.v1.PodTemplateSpec template = 3;V1.PodTemplateSpec getTemplate()
Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template +optional
optional .k8s.io.api.core.v1.PodTemplateSpec template = 3;V1.PodTemplateSpecOrBuilder getTemplateOrBuilder()
Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template +optional
optional .k8s.io.api.core.v1.PodTemplateSpec template = 3;Copyright © 2018. All rights reserved.