Class DaemonSetSpec
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.extensions.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.KubernetesResourceDaemonSetSpec 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, io.fabric8.kubernetes.api.model.LabelSelector selector, io.fabric8.kubernetes.api.model.PodTemplateSpec template, Long templateGeneration, 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.io.fabric8.kubernetes.api.model.LabelSelectorgetSelector()DaemonSetSpec is the specification of a daemon set.io.fabric8.kubernetes.api.model.PodTemplateSpecgetTemplate()DaemonSetSpec is the specification of a daemon set.LonggetTemplateGeneration()DEPRECATED.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(io.fabric8.kubernetes.api.model.LabelSelector selector)DaemonSetSpec is the specification of a daemon set.voidsetTemplate(io.fabric8.kubernetes.api.model.PodTemplateSpec template)DaemonSetSpec is the specification of a daemon set.voidsetTemplateGeneration(Long templateGeneration)DEPRECATED.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, 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.
-
edit
public DaemonSetSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<DaemonSetSpecBuilder>
-
toBuilder
public DaemonSetSpecBuilder toBuilder()
-
-