Class DaemonSetSpec
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.apps.DaemonSetSpec
-
- All Implemented Interfaces:
Editable<DaemonSetSpecBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class DaemonSetSpec extends Object implements Editable<DaemonSetSpecBuilder>, KubernetesResource
DaemonSetSpec is the specification of a daemon set.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DaemonSetSpec()No args constructor for use in serializationDaemonSetSpec(Integer minReadySeconds, Integer revisionHistoryLimit, LabelSelector selector, PodTemplateSpec template, DaemonSetUpdateStrategy updateStrategy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DaemonSetSpecBuilderedit()Map<String,Object>getAdditionalProperties()IntegergetMinReadySeconds()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.IntegergetRevisionHistoryLimit()The number of old history to retain to allow rollback.LabelSelectorgetSelector()DaemonSetSpec is the specification of a daemon set.PodTemplateSpecgetTemplate()DaemonSetSpec is the specification of a daemon set.DaemonSetUpdateStrategygetUpdateStrategy()DaemonSetSpec is the specification of a daemon set.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetMinReadySeconds(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.voidsetRevisionHistoryLimit(Integer revisionHistoryLimit)The number of old history to retain to allow rollback.voidsetSelector(LabelSelector selector)DaemonSetSpec is the specification of a daemon set.voidsetTemplate(PodTemplateSpec template)DaemonSetSpec is the specification of a daemon set.voidsetUpdateStrategy(DaemonSetUpdateStrategy updateStrategy)DaemonSetSpec is the specification of a daemon set.DaemonSetSpecBuildertoBuilder()
-
-
-
Constructor Detail
-
DaemonSetSpec
public DaemonSetSpec()
No args constructor for use in serialization
-
DaemonSetSpec
public DaemonSetSpec(Integer minReadySeconds, Integer revisionHistoryLimit, LabelSelector selector, PodTemplateSpec template, 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 LabelSelector getSelector()
DaemonSetSpec is the specification of a daemon set.
-
setSelector
public void setSelector(LabelSelector selector)
DaemonSetSpec is the specification of a daemon set.
-
getTemplate
public PodTemplateSpec getTemplate()
DaemonSetSpec is the specification of a daemon set.
-
setTemplate
public void setTemplate(PodTemplateSpec template)
DaemonSetSpec is the specification of a daemon set.
-
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.
-
edit
public DaemonSetSpecBuilder edit()
- Specified by:
editin interfaceEditable<DaemonSetSpecBuilder>
-
toBuilder
public DaemonSetSpecBuilder toBuilder()
-
-