Class IoK8sApiCoreV1ReplicationControllerSpec


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]")
    public class IoK8sApiCoreV1ReplicationControllerSpec
    extends Object
    ReplicationControllerSpec is the specification of a replication controller.
    • Constructor Detail

      • IoK8sApiCoreV1ReplicationControllerSpec

        public IoK8sApiCoreV1ReplicationControllerSpec()
    • Method Detail

      • getMinReadySeconds

        @Nullable
        public Integer 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)
        Returns:
        minReadySeconds
      • setMinReadySeconds

        public void setMinReadySeconds​(Integer minReadySeconds)
      • getReplicas

        @Nullable
        public Integer 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
        Returns:
        replicas
      • setReplicas

        public void setReplicas​(Integer replicas)
      • getSelector

        @Nullable
        public 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
        Returns:
        selector
      • setSelector

        public void setSelector​(Map<String,​String> selector)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object