Interface ReplicationControllerSpec
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ReplicationControllerSpec.Jsii$Proxy
@Generated(value="jsii-pacmak/1.68.0 (build b45f2f6)", date="2022-09-25T03:33:25.814Z") @Stability(Stable) public interface ReplicationControllerSpec extends software.amazon.jsii.JsiiSerializable
ReplicationControllerSpec is the specification of a replication controller.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ReplicationControllerSpec.Builder
A builder forReplicationControllerSpec
static class
ReplicationControllerSpec.Jsii$Proxy
An implementation forReplicationControllerSpec
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ReplicationControllerSpec.Builder
builder()
default Number
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.default Number
getReplicas()
Replicas is the number of desired replicas.default Map<String,String>
getSelector()
Selector is a label query over pods that should match the Replicas count.default PodTemplateSpec
getTemplate()
Template is the object that describes the pod that will be created if insufficient replicas are detected.
-
-
-
Method Detail
-
getMinReadySeconds
@Stability(Stable) @Nullable default Number 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)
Default: 0 (pod will be considered available as soon as it is ready)
-
getReplicas
@Stability(Stable) @Nullable default Number 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
Default: 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller
-
getSelector
@Stability(Stable) @Nullable default Map<String,String> getSelector()
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
-
getTemplate
@Stability(Stable) @Nullable default 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
-
builder
@Stability(Stable) static ReplicationControllerSpec.Builder builder()
- Returns:
- a
ReplicationControllerSpec.Builder
ofReplicationControllerSpec
-
-