Class ReplicaSetSpec

    • Constructor Detail

      • ReplicaSetSpec

        public ReplicaSetSpec()
        No args constructor for use in serialization
    • Method Detail

      • getMinReadySeconds

        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)
      • setMinReadySeconds

        public void setMinReadySeconds​(Integer minReadySeconds)
        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)
      • getReplicas

        public Integer getReplicas()
        Replicas is the number of desired pods. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset
      • setReplicas

        public void setReplicas​(Integer replicas)
        Replicas is the number of desired pods. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset
      • getSelector

        public LabelSelector getSelector()
        ReplicaSetSpec is the specification of a ReplicaSet.
      • setSelector

        public void setSelector​(LabelSelector selector)
        ReplicaSetSpec is the specification of a ReplicaSet.
      • getTemplate

        public PodTemplateSpec getTemplate()
        ReplicaSetSpec is the specification of a ReplicaSet.
      • setTemplate

        public void setTemplate​(PodTemplateSpec template)
        ReplicaSetSpec is the specification of a ReplicaSet.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)