Class ReplicaSetSpec

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<ReplicaSetSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class ReplicaSetSpec
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<ReplicaSetSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    ReplicaSetSpec is the specification of a ReplicaSet.
    See Also:
    Serialized Form
    • Constructor Detail

      • ReplicaSetSpec

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

        public ReplicaSetSpec​(Integer minReadySeconds,
                              Integer replicas,
                              io.fabric8.kubernetes.api.model.LabelSelector selector,
                              io.fabric8.kubernetes.api.model.PodTemplateSpec template)
    • 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 io.fabric8.kubernetes.api.model.LabelSelector getSelector()
        ReplicaSetSpec is the specification of a ReplicaSet.
      • setSelector

        public void setSelector​(io.fabric8.kubernetes.api.model.LabelSelector selector)
        ReplicaSetSpec is the specification of a ReplicaSet.
      • getTemplate

        public io.fabric8.kubernetes.api.model.PodTemplateSpec getTemplate()
        ReplicaSetSpec is the specification of a ReplicaSet.
      • setTemplate

        public void setTemplate​(io.fabric8.kubernetes.api.model.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)