DaemonSet [page]deterministic
DaemonSet represents the configuration of a daemon set.
`apiVersion: apps/v1`
`import "k8s.io/api/apps/v1"`
## DaemonSet {#DaemonSet}
DaemonSet represents the configuration of a daemon set.
<hr>
<table> <thead><tr><th>Field</th><th>Description</th></tr></thead> <tbody> <tr> <td><code>apiVersion</code><br/><em>string</em></td> <td>APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources</td> </tr> <tr> <td><code>kind</code><br/><em>string</em></td> <td>Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds</td> </tr> <tr> <td><code>metadata</code><br/><em><a href="">ObjectMeta</a></em></td> <td>Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata</td> </tr> <tr> <td><code>spec</code><br/><em><a href="">DaemonSetSpec</a></em></td> <td>The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status</td> </tr> <tr> <td><code>status</code><br/><em><a href="">DaemonSetStatus</a></em></td> <td>The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status</td> </tr> </tbody> </table>
## DaemonSetSpec {#DaemonSetSpec}
DaemonSetSpec is the specification of a daemon set.
<hr>
<table> <thead><tr><th>Field</th><th>Description</th></tr></thead> <tbody> <tr> <td><code>minReadySeconds</code><br/><em>integer</em></td> <td>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).</td> </tr> <tr> <td><code>revisionHistoryLimit</code><br/><em>integer</em></td> <td>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.</td> </tr> <tr> <td><code>selector</code> <strong>*</strong><br/><em><a href="">LabelSelector</a></em></td> <td>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</td> </tr> <tr> <td><code>template</code> <strong>*</strong><br/><em><a href="">PodTemplateSpec</a></em></td> <td>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</td> </tr> <tr> <td><code>updateStrategy</code><br/><em><a href="">DaemonSetUpdateStrategy</a></em></td> <td>An update strategy to replace existing DaemonSet pods with new pods.</td> </tr> </tbody> </table>
## DaemonSetStatus {#DaemonSetStatus}
DaemonSetStatus represents the current status of a daemon set.
<hr>
<table> <thead><tr><th>Field</th><th>Description</th></tr></thead> <tbody> <tr> <td><code>collisionCount</code><br/><em>integer</em></td …(trimmed)