Show / Hide Table of Contents

Class V1DaemonSetSpec

DaemonSetSpec is the specification of a daemon set.

Inheritance
object
V1DaemonSetSpec
Implements
IEquatable<V1DaemonSetSpec>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: k8s.Models
Assembly: KubernetesClient.dll
Syntax
public record V1DaemonSetSpec : IEquatable<V1DaemonSetSpec>

Constructors

View Source

V1DaemonSetSpec()

Declaration
public V1DaemonSetSpec()
View Source

V1DaemonSetSpec(V1DaemonSetSpec)

Declaration
protected V1DaemonSetSpec(V1DaemonSetSpec original)
Parameters
Type Name Description
V1DaemonSetSpec original

Properties

View Source

EqualityContract

Declaration
protected virtual Type EqualityContract { get; }
Property Value
Type Description
Type
View Source

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).

Declaration
[JsonPropertyName("minReadySeconds")]
public int? MinReadySeconds { get; set; }
Property Value
Type Description
int?
View Source

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.

Declaration
[JsonPropertyName("revisionHistoryLimit")]
public int? RevisionHistoryLimit { get; set; }
Property Value
Type Description
int?
View Source

Selector

A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors

Declaration
[JsonPropertyName("selector")]
public V1LabelSelector Selector { get; set; }
Property Value
Type Description
V1LabelSelector
View Source

Template

An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). The only allowed template.spec.restartPolicy value is "Always". More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template

Declaration
[JsonPropertyName("template")]
public V1PodTemplateSpec Template { get; set; }
Property Value
Type Description
V1PodTemplateSpec
View Source

UpdateStrategy

An update strategy to replace existing DaemonSet pods with new pods.

Declaration
[JsonPropertyName("updateStrategy")]
public V1DaemonSetUpdateStrategy UpdateStrategy { get; set; }
Property Value
Type Description
V1DaemonSetUpdateStrategy

Methods

View Source

Equals(object?)

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)
View Source

Equals(V1DaemonSetSpec?)

Declaration
public virtual bool Equals(V1DaemonSetSpec? other)
Parameters
Type Name Description
V1DaemonSetSpec other
Returns
Type Description
bool
View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()
View Source

PrintMembers(StringBuilder)

Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Type Name Description
StringBuilder builder
Returns
Type Description
bool
View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Operators

View Source

operator ==(V1DaemonSetSpec?, V1DaemonSetSpec?)

Declaration
public static bool operator ==(V1DaemonSetSpec? left, V1DaemonSetSpec? right)
Parameters
Type Name Description
V1DaemonSetSpec left
V1DaemonSetSpec right
Returns
Type Description
bool
View Source

operator !=(V1DaemonSetSpec?, V1DaemonSetSpec?)

Declaration
public static bool operator !=(V1DaemonSetSpec? left, V1DaemonSetSpec? right)
Parameters
Type Name Description
V1DaemonSetSpec left
V1DaemonSetSpec right
Returns
Type Description
bool

Implements

IEquatable<T>
  • View Source
In this article
Back to top Generated by DocFX