Class DaemonSetSpec

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

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

      • DaemonSetSpec

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

        public DaemonSetSpec​(Integer minReadySeconds,
                             Integer revisionHistoryLimit,
                             io.fabric8.kubernetes.api.model.LabelSelector selector,
                             io.fabric8.kubernetes.api.model.PodTemplateSpec template,
                             Long templateGeneration,
                             DaemonSetUpdateStrategy updateStrategy)
    • Method Detail

      • getMinReadySeconds

        public Integer getMinReadySeconds()
        The minimum number of seconds for which a newly created DaemonSet 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)
        The minimum number of seconds for which a newly created DaemonSet 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).
      • getRevisionHistoryLimit

        public Integer getRevisionHistoryLimit()
        The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.
      • setRevisionHistoryLimit

        public void setRevisionHistoryLimit​(Integer revisionHistoryLimit)
        The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.
      • getSelector

        public io.fabric8.kubernetes.api.model.LabelSelector getSelector()
        DaemonSetSpec is the specification of a daemon set.
      • setSelector

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

        public io.fabric8.kubernetes.api.model.PodTemplateSpec getTemplate()
        DaemonSetSpec is the specification of a daemon set.
      • setTemplate

        public void setTemplate​(io.fabric8.kubernetes.api.model.PodTemplateSpec template)
        DaemonSetSpec is the specification of a daemon set.
      • getTemplateGeneration

        public Long getTemplateGeneration()
        DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.
      • setTemplateGeneration

        public void setTemplateGeneration​(Long templateGeneration)
        DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.
      • getUpdateStrategy

        public DaemonSetUpdateStrategy getUpdateStrategy()
        DaemonSetSpec is the specification of a daemon set.
      • setUpdateStrategy

        public void setUpdateStrategy​(DaemonSetUpdateStrategy updateStrategy)
        DaemonSetSpec is the specification of a daemon set.
      • getAdditionalProperties

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

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

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