Class V1DaemonSetSpec

java.lang.Object
io.kubernetes.client.openapi.models.V1DaemonSetSpec

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-02-02T21:37:40.170033Z[Etc/UTC]") public class V1DaemonSetSpec extends Object
DaemonSetSpec is the specification of a daemon set.
  • Field Details

  • Constructor Details

    • V1DaemonSetSpec

      public V1DaemonSetSpec()
  • Method Details

    • minReadySeconds

      public V1DaemonSetSpec minReadySeconds(Integer minReadySeconds)
    • getMinReadySeconds

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

      public void setMinReadySeconds(Integer minReadySeconds)
    • revisionHistoryLimit

      public V1DaemonSetSpec revisionHistoryLimit(Integer revisionHistoryLimit)
    • getRevisionHistoryLimit

      @Nullable 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.
      Returns:
      revisionHistoryLimit
    • setRevisionHistoryLimit

      public void setRevisionHistoryLimit(Integer revisionHistoryLimit)
    • selector

      public V1DaemonSetSpec selector(V1LabelSelector selector)
    • getSelector

      public V1LabelSelector getSelector()
      Get selector
      Returns:
      selector
    • setSelector

      public void setSelector(V1LabelSelector selector)
    • template

      public V1DaemonSetSpec template(V1PodTemplateSpec template)
    • getTemplate

      public V1PodTemplateSpec getTemplate()
      Get template
      Returns:
      template
    • setTemplate

      public void setTemplate(V1PodTemplateSpec template)
    • updateStrategy

      public V1DaemonSetSpec updateStrategy(V1DaemonSetUpdateStrategy updateStrategy)
    • getUpdateStrategy

      @Nullable public V1DaemonSetUpdateStrategy getUpdateStrategy()
      Get updateStrategy
      Returns:
      updateStrategy
    • setUpdateStrategy

      public void setUpdateStrategy(V1DaemonSetUpdateStrategy updateStrategy)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object