Interface V1.ReplicationControllerSpecOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
V1.ReplicationControllerSpec, V1.ReplicationControllerSpec.Builder
Enclosing class:
V1

public static interface V1.ReplicationControllerSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Selector is a label query over pods that should match the Replicas count.
    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.
    int
    Replicas is the number of desired replicas.
    Deprecated.
    int
    Selector is a label query over pods that should match the Replicas count.
    Selector is a label query over pods that should match the Replicas count.
    getSelectorOrDefault(String key, String defaultValue)
    Selector is a label query over pods that should match the Replicas count.
    Selector is a label query over pods that should match the Replicas 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
    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;
    • getSelectorCount

      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
       +mapType=atomic
       
      map<string, string> selector = 2;
    • containsSelector

      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
       +mapType=atomic
       
      map<string, string> selector = 2;
    • getSelector

      @Deprecated Map<String,String> getSelector()
      Deprecated.
      Use getSelectorMap() instead.
    • getSelectorMap

      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
       +mapType=atomic
       
      map<string, string> selector = 2;
    • getSelectorOrDefault

      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
       +mapType=atomic
       
      map<string, string> selector = 2;
    • getSelectorOrThrow

      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
       +mapType=atomic
       
      map<string, string> selector = 2;
    • hasTemplate

      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;
    • getTemplate

      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;
    • getTemplateOrBuilder

      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;