kubernetes reference kind ResourceClaimTemplate title ResourceClaimTemplate v1alpha3 weight 17 contenttype apireference apiVersion resource k8s io v1alpha3 import k8s io api resource v1alpha3 apimetadata autogenerated true ResourceClaimTemplate is used to produce ResourceClaim objects

Answer:
---
api_metadata:
  apiVersion: "resource.k8s.io/v1alpha3"
  import: "k8s.io/api/resource/v1alpha3"
  kind: "ResourceClaimTemplate"
content_type: "api_reference"
description: "ResourceClaimTemplate is used to produce ResourceClaim objects."
title: "ResourceClaimTemplate v1alpha3"
weight: 17
auto_generated: true
---

`apiVersion: resource.k8s.io/v1alpha3`

`import "k8s.io/api/resource/v1alpha3"`

## ResourceClaimTemplate {#ResourceClaimTemplate}

ResourceClaimTemplate is used to produce ResourceClaim objects.

This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

- **apiVersion**: resource.k8s.io/v1alpha3

- **kind**: ResourceClaimTemplate

- **metadata** (ObjectMeta)

  Standard object metadata

- **spec** (ResourceClaimTemplateSpec), required

  Describes the ResourceClaim that is to be generated.

  This field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore.

## ResourceClaimTemplateSpec {#ResourceClaimTemplateSpec}

ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.

- **spec** (ResourceClaimSpec), required

  Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here.

- **metadata** (ObjectMeta)

  ObjectMeta may contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation.

## ResourceClaimTemplateList {#ResourceClaimTemplateList}

ResourceClaimTemplateList is a collection of claim templates.

- **apiVersion**: resource.k8s.io/v1alpha3

- **kind**: ResourceClaimTemplateList

- **metadata** (ListMeta)

  Standard list metadata

- **items** ([]ResourceClaimTemplate), required

  Items is the list of resource claim templates.

## Operations {#Operations}

### `get` read the specified ResourceClaimTemplate

#### HTTP Request

GET /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name}

#### Parameters

- **name** (*in path*): string, required

  name of the ResourceClaimTemplate

- **namespace** (*in path*): string, required

  namespace

- **pretty** (*in query*): string

  pretty

#### Response

200 (ResourceClaimTemplate): OK

401: Unauthorized

### `list` list or watch objects of kind ResourceClaimTemplate

#### HTTP Request

GET /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates

#### Parameters

- **namespace** (*in path*): string, required

  namespace

- **allowWatchBookmarks** (*in query*): boolean

  allowWatchBookmarks

- **continue** (*in query*): string

  continue

- **fieldSelector** (*in query*): string

  fieldSelector

- **labelSelector** (*in query*): string

  labelSelector

- **limit** (*in query*): integer

  limit

- **pretty** (*in query*): string

  pretty

- **resourceVersion** (*in query*): string

  resourceVersion

- **resourceVersionMatch** (*in query*): string

  resourceVersionMatch

- **sendInitialEvents** (*in query*): boolean

  sendInitialEvents

- **timeoutSeconds** (*in query*): integer

  timeoutSeconds

- **watch** (*in query*): boolean

  watch

#### Response

200 (ResourceClaimTemplateList): OK

401: Unauthorized

### `list` list or watch objects of kind ResourceClaimTemplate

#### HTTP Request

GET /apis/resource.k8s.io/v1alpha3/resourceclaimtemplates

#### Parameters

- **allowWatchBookmarks** (*in query*): boolean

  allowWatchBookmarks

- **continue** (*in query*): string

  continue

- **fieldSelector** (*in query*): string

  fieldSelector

- **labelSelector** (*in query*): string

  labelSelector

- **limit** (*in query*): integer

  limit

- **pretty** (*in query*): string

  pretty

- **resourceVersion** (*in query*): string

  resourceVersion

- **resourceVersionMatch** (*in query*): string

  resourceVersionMatch

- **sendInitialEvents** (*in query*): boolean

  sendInitialEvents

- **timeoutSeconds** (*in query*): integer

  timeoutSeconds

- **watch** (*in query*): boolean

  watch

#### Response

200 (ResourceClaimTemplateList): OK

401: Unauthorized

### `create` create a ResourceClaimTemplate

#### HTTP Request

POST /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates

#### Parameters

- **namespace** (*in path*): string, required

  namespace

- **body**: ResourceClaimTemplate, required

- **dryRun** (*in query*): string

  dryRun

- **fieldManager** (*in query*): string

  fieldManager

- **fieldValidation** (*in query*): string

  fieldValidation

- **pretty** (*in query*): string

  pretty

#### Response

200 (ResourceClaimTemplate): OK

201 (ResourceClaimTemplate): Created

202 (ResourceClaimTemplate): Accepted

401: Unauthorized

### `update` replace the specified ResourceClaimTemplate

#### HTTP Request

PUT /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name}

#### Parameters

- **name** (*in path*): string, required

  name of the ResourceClaimTemplate

- **namespace** (*in path*): string, required

  namespace

- **body**: ResourceClaimTemplate, required

- **dryRun** (*in query*): string

  dryRun

- **fieldManager** (*in query*): string

  fieldManager

- **fieldValidation** (*in query*): string

  fieldValidation

- **pretty** (*in query*): string

  pretty

#### Response

200 (ResourceClaimTemplate): OK

201 (ResourceClaimTemplate): Created

401: Unauthorized

### `patch` partially update the specified ResourceClaimTemplate

#### HTTP Request

PATCH /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name}

#### Parameters

- **name** (*in path*): string, required

  name of the ResourceClaimTemplate

- **namespace** (*in path*): string, required

  namespace

- **body**: Patch, required

- **dryRun** (*in query*): string

  dryRun

- **fieldManager** (*in query*): string

  fieldManager

- **fieldValidation** (*in query*): string

  fieldValidation

- **force** (*in query*): boolean

  force

- **pretty** (*in query*): string

  pretty

#### Response

200 (ResourceClaimTemplate): OK

201 (ResourceClaimTemplate): Created

401: Unauthorized

### `delete` delete a ResourceClaimTemplate

#### HTTP Request

DELETE /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name}

#### Parameters

- **name** (*in path*): string, required

  name of the ResourceClaimTemplate

- **namespace** (*in path*): string, required

  namespace

- **body**: DeleteOptions

- **dryRun** (*in query*): string

  dryRun

- **gracePeriodSeconds** (*in query*): integer

  gracePeriodSeconds

- **pretty** (*in query*): string

  pretty

- **propagationPolicy** (*in query*): string

  propagationPolicy

#### Response

200 (ResourceClaimTemplate): OK

202 (ResourceClaimTemplate): Accepted

401: Unauthorized

### `deletecollection` delete collection of ResourceClaimTemplate

#### HTTP Request

DELETE /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates

#### Parameters

- **namespace** (*in path*): string, required

  namespace

- **body**: DeleteOptions

- **continue** (*in query*): string

  continue

- **dryRun** (*in query*): string

  dryRun

- **fieldSelector** (*in query*): string

  fieldSelector

- **gracePeriodSeconds** (*in query*): integer

  gracePeriodSeconds

- **labelSelector** (*in query*): string

  labelSelector

- **limit** (*in query*): integer

  limit

- **pretty** (*in query*): string

  pretty

- **propagationPolicy** (*in query*): string

  propagationPolicy

- **resourceVersion** (*in query*): string

  resourceVersion

- **resourceVersionMatch** (*in query*): string

  resourceVersionMatch

- **sendInitialEvents** (*in query*): boolean

  sendInitialEvents

- **timeoutSeconds** (*in query*): integer

  timeoutSeconds

#### Response

200 (Status): OK

401: Unauthorized

api metadata    apiVersion   resource k8s io v1alpha3    import   k8s io api resource v1alpha3    kind   ResourceClaimTemplate  content type   api reference  description   ResourceClaimTemplate is used to produce ResourceClaim objects   title   ResourceClaimTemplate v1alpha3  weight  17 auto generated  true           The file is auto generated from the Go source code of the component using a generic  generator  https   github com kubernetes sigs reference docs    To learn how to generate the reference documentation  please read  Contributing to the reference documentation   docs contribute generate ref docs    To update the reference content  please follow the   Contributing upstream   docs contribute generate ref docs contribute upstream   guide  You can file document formatting bugs against the  reference docs  https   github com kubernetes sigs reference docs   project        apiVersion  resource k8s io v1alpha3    import  k8s io api resource v1alpha3        ResourceClaimTemplate   ResourceClaimTemplate   ResourceClaimTemplate is used to produce ResourceClaim objects   This is an alpha type and requires enabling the DynamicResourceAllocation feature gate    hr       apiVersion    resource k8s io v1alpha3       kind    ResourceClaimTemplate       metadata     a href    ObjectMeta  a      Standard object metadata      spec     a href    ResourceClaimTemplateSpec  a    required    Describes the ResourceClaim that is to be generated       This field is immutable  A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore          ResourceClaimTemplateSpec   ResourceClaimTemplateSpec   ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim    hr       spec     a href    ResourceClaimSpec  a    required    Spec for the ResourceClaim  The entire content is copied unchanged into the ResourceClaim that gets created from this template  The same fields as in a ResourceClaim are also valid here       metadata     a href    ObjectMeta  a      ObjectMeta may contain labels and annotations that will be copied into the PVC when creating it  No other fields are allowed and will be rejected during validation          ResourceClaimTemplateList   ResourceClaimTemplateList   ResourceClaimTemplateList is a collection of claim templates    hr       apiVersion    resource k8s io v1alpha3       kind    ResourceClaimTemplateList       metadata     a href    ListMeta  a      Standard list metadata      items       a href    ResourceClaimTemplate  a    required    Items is the list of resource claim templates          Operations   Operations      hr             get  read the specified ResourceClaimTemplate       HTTP Request  GET  apis resource k8s io v1alpha3 namespaces  namespace  resourceclaimtemplates  name        Parameters       name     in path    string  required    name of the ResourceClaimTemplate       namespace     in path    string  required     a href    namespace  a        pretty     in query    string     a href    pretty  a          Response   200   a href    ResourceClaimTemplate  a    OK  401  Unauthorized        list  list or watch objects of kind ResourceClaimTemplate       HTTP Request  GET  apis resource k8s io v1alpha3 namespaces  namespace  resourceclaimtemplates       Parameters       namespace     in path    string  required     a href    namespace  a        allowWatchBookmarks     in query    boolean     a href    allowWatchBookmarks  a        continue     in query    string     a href    continue  a        fieldSelector     in query    string     a href    fieldSelector  a        labelSelector     in query    string     a href    labelSelector  a        limit     in query    integer     a href    limit  a        pretty     in query    string     a href    pretty  a        resourceVersion     in query    string     a href    resourceVersion  a        resourceVersionMatch     in query    string     a href    resourceVersionMatch  a        sendInitialEvents     in query    boolean     a href    sendInitialEvents  a        timeoutSeconds     in query    integer     a href    timeoutSeconds  a        watch     in query    boolean     a href    watch  a          Response   200   a href    ResourceClaimTemplateList  a    OK  401  Unauthorized        list  list or watch objects of kind ResourceClaimTemplate       HTTP Request  GET  apis resource k8s io v1alpha3 resourceclaimtemplates       Parameters       allowWatchBookmarks     in query    boolean     a href    allowWatchBookmarks  a        continue     in query    string     a href    continue  a        fieldSelector     in query    string     a href    fieldSelector  a        labelSelector     in query    string     a href    labelSelector  a        limit     in query    integer     a href    limit  a        pretty     in query    string     a href    pretty  a        resourceVersion     in query    string     a href    resourceVersion  a        resourceVersionMatch     in query    string     a href    resourceVersionMatch  a        sendInitialEvents     in query    boolean     a href    sendInitialEvents  a        timeoutSeconds     in query    integer     a href    timeoutSeconds  a        watch     in query    boolean     a href    watch  a          Response   200   a href    ResourceClaimTemplateList  a    OK  401  Unauthorized        create  create a ResourceClaimTemplate       HTTP Request  POST  apis resource k8s io v1alpha3 namespaces  namespace  resourceclaimtemplates       Parameters       namespace     in path    string  required     a href    namespace  a        body     a href    ResourceClaimTemplate  a   required           dryRun     in query    string     a href    dryRun  a        fieldManager     in query    string     a href    fieldManager  a        fieldValidation     in query    string     a href    fieldValidation  a        pretty     in query    string     a href    pretty  a          Response   200   a href    ResourceClaimTemplate  a    OK  201   a href    ResourceClaimTemplate  a    Created  202   a href    ResourceClaimTemplate  a    Accepted  401  Unauthorized        update  replace the specified ResourceClaimTemplate       HTTP Request  PUT  apis resource k8s io v1alpha3 namespaces  namespace  resourceclaimtemplates  name        Parameters       name     in path    string  required    name of the ResourceClaimTemplate       namespace     in path    string  required     a href    namespace  a        body     a href    ResourceClaimTemplate  a   required           dryRun     in query    string     a href    dryRun  a        fieldManager     in query    string     a href    fieldManager  a        fieldValidation     in query    string     a href    fieldValidation  a        pretty     in query    string     a href    pretty  a          Response   200   a href    ResourceClaimTemplate  a    OK  201   a href    ResourceClaimTemplate  a    Created  401  Unauthorized        patch  partially update the specified ResourceClaimTemplate       HTTP Request  PATCH  apis resource k8s io v1alpha3 namespaces  namespace  resourceclaimtemplates  name        Parameters       name     in path    string  required    name of the ResourceClaimTemplate       namespace     in path    string  required     a href    namespace  a        body     a href    Patch  a   required           dryRun     in query    string     a href    dryRun  a        fieldManager     in query    string     a href    fieldManager  a        fieldValidation     in query    string     a href    fieldValidation  a        force     in query    boolean     a href    force  a        pretty     in query    string     a href    pretty  a          Response   200   a href    ResourceClaimTemplate  a    OK  201   a href    ResourceClaimTemplate  a    Created  401  Unauthorized        delete  delete a ResourceClaimTemplate       HTTP Request  DELETE  apis resource k8s io v1alpha3 namespaces  namespace  resourceclaimtemplates  name        Parameters       name     in path    string  required    name of the ResourceClaimTemplate       namespace     in path    string  required     a href    namespace  a        body     a href    DeleteOptions  a            dryRun     in query    string     a href    dryRun  a        gracePeriodSeconds     in query    integer     a href    gracePeriodSeconds  a        pretty     in query    string     a href    pretty  a        propagationPolicy     in query    string     a href    propagationPolicy  a          Response   200   a href    ResourceClaimTemplate  a    OK  202   a href    ResourceClaimTemplate  a    Accepted  401  Unauthorized        deletecollection  delete collection of ResourceClaimTemplate       HTTP Request  DELETE  apis resource k8s io v1alpha3 namespaces  namespace  resourceclaimtemplates       Parameters       namespace     in path    string  required     a href    namespace  a        body     a href    DeleteOptions  a            continue     in query    string     a href    continue  a        dryRun     in query    string     a href    dryRun  a        fieldSelector     in query    string     a href    fieldSelector  a        gracePeriodSeconds     in query    integer     a href    gracePeriodSeconds  a        labelSelector     in query    string     a href    labelSelector  a        limit     in query    integer     a href    limit  a        pretty     in query    string     a href    pretty  a        propagationPolicy     in query    string     a href    propagationPolicy  a        resourceVersion     in query    string     a href    resourceVersion  a        resourceVersionMatch     in query    string     a href    resourceVersionMatch  a        sendInitialEvents     in query    boolean     a href    sendInitialEvents  a        timeoutSeconds     in query    integer     a href    timeoutSeconds  a          Response   200   a href    Status  a    OK  401  Unauthorized


kubernetes reference apiVersion apps v1 contenttype apireference DaemonSet represents the configuration of a daemon set kind DaemonSet title DaemonSet apimetadata autogenerated true weight 9 import k8s io api apps v1

Answer:
---
api_metadata:
  apiVersion: "apps/v1"
  import: "k8s.io/api/apps/v1"
  kind: "DaemonSet"
content_type: "api_reference"
description: "DaemonSet represents the configuration of a daemon set."
title: "DaemonSet"
weight: 9
auto_generated: true
---

`apiVersion: apps/v1`

`import "k8s.io/api/apps/v1"`

## DaemonSet {#DaemonSet}

DaemonSet represents the configuration of a daemon set.

- **apiVersion**: apps/v1

- **kind**: DaemonSet

- **metadata** (ObjectMeta)

  Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

- **spec** (DaemonSetSpec)

  The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

- **status** (DaemonSetStatus)

  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

## DaemonSetSpec {#DaemonSetSpec}

DaemonSetSpec is the specification of a daemon set.

- **selector** (LabelSelector), required

  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

- **template** (PodTemplateSpec), required

  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

- **minReadySeconds** (int32)

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

- **updateStrategy** (DaemonSetUpdateStrategy)

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

  *DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.*

  - **updateStrategy.type** (string)

    Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate.

  - **updateStrategy.rollingUpdate** (RollingUpdateDaemonSet)

    Rolling update config params. Present only if type = "RollingUpdate".

    *Spec to control the desired behavior of daemon set rolling update.*

    - **updateStrategy.rollingUpdate.maxSurge** (IntOrString)

      The maximum number of nodes with an existing available DaemonSet pod that can have an updated DaemonSet pod during during an update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up to a minimum of 1. Default value is 0. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their a new pod created before the old pod is marked as deleted. The update starts by launching new pods on 30% of nodes. Once an updated pod is available (Ready for at least minReadySeconds) the old DaemonSet pod on that node is marked deleted. If the old pod becomes unavailable for any reason (Ready transitions to false, is evicted, or is drained) an updated pod is immediatedly created on that node without considering surge limits. Allowing surge implies the possibility that the resources consumed by the daemonset on any given node can double if the readiness check fails, and so resource intensive daemonsets should take into account that they may cause evictions during disruption.

      *IntOrString is a type that can hold an int32 or a string.  When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type.  This allows you to have, for example, a JSON field that can accept a name or number.*

    - **updateStrategy.rollingUpdate.maxUnavailable** (IntOrString)

      The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0 if MaxSurge is 0 Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update.

      *IntOrString is a type that can hold an int32 or a string.  When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type.  This allows you to have, for example, a JSON field that can accept a name or number.*

- **revisionHistoryLimit** (int32)

  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.

## DaemonSetStatus {#DaemonSetStatus}

DaemonSetStatus represents the current status of a daemon set.

- **numberReady** (int32), required

  numberReady is the number of nodes that should be running the daemon pod and have one or more of the daemon pod running with a Ready Condition.

- **numberAvailable** (int32)

  The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)

- **numberUnavailable** (int32)

  The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)

- **numberMisscheduled** (int32), required

  The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/

- **desiredNumberScheduled** (int32), required

  The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/

- **currentNumberScheduled** (int32), required

  The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/

- **updatedNumberScheduled** (int32)

  The total number of nodes that are running updated daemon pod

- **collisionCount** (int32)

  Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.

- **conditions** ([]DaemonSetCondition)

  *Patch strategy: merge on key `type`*

  *Map: unique values on key type will be kept during a merge*

  Represents the latest available observations of a DaemonSet's current state.

  *DaemonSetCondition describes the state of a DaemonSet at a certain point.*

  - **conditions.status** (string), required

    Status of the condition, one of True, False, Unknown.

  - **conditions.type** (string), required

    Type of DaemonSet condition.

  - **conditions.lastTransitionTime** (Time)

    Last time the condition transitioned from one status to another.

    *Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON.  Wrappers are provided for many of the factory methods that the time package offers.*

  - **conditions.message** (string)

    A human readable message indicating details about the transition.

  - **conditions.reason** (string)

    The reason for the condition's last transition.

- **observedGeneration** (int64)

  The most recent generation observed by the daemon set controller.

## DaemonSetList {#DaemonSetList}

DaemonSetList is a collection of daemon sets.

- **apiVersion**: apps/v1

- **kind**: DaemonSetList

- **metadata** (ListMeta)

  Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

- **items** ([]DaemonSet), required

  A list of daemon sets.

## Operations {#Operations}

### `get` read the specified DaemonSet

#### HTTP Request

GET /apis/apps/v1/namespaces/{namespace}/daemonsets/{name}

#### Parameters

- **name** (*in path*): string, required

  name of the DaemonSet

- **namespace** (*in path*): string, required

  namespace

- **pretty** (*in query*): string

  pretty

#### Response

200 (DaemonSet): OK

401: Unauthorized

### `get` read status of the specified DaemonSet

#### HTTP Request

GET /apis/apps/v1/namespaces/{namespace}/daemonsets/{name}/status

#### Parameters

- **name** (*in path*): string, required

  name of the DaemonSet

- **namespace** (*in path*): string, required

  namespace

- **pretty** (*in query*): string

  pretty

#### Response

200 (DaemonSet): OK

401: Unauthorized

### `list` list or watch objects of kind DaemonSet

#### HTTP Request

GET /apis/apps/v1/namespaces/{namespace}/daemonsets

#### Parameters

- **namespace** (*in path*): string, required

  namespace

- **allowWatchBookmarks** (*in query*): boolean

  allowWatchBookmarks

- **continue** (*in query*): string

  continue

- **fieldSelector** (*in query*): string

  fieldSelector

- **labelSelector** (*in query*): string

  labelSelector

- **limit** (*in query*): integer

  limit

- **pretty** (*in query*): string

  pretty

- **resourceVersion** (*in query*): string

  resourceVersion

- **resourceVersionMatch** (*in query*): string

  resourceVersionMatch

- **sendInitialEvents** (*in query*): boolean

  sendInitialEvents

- **timeoutSeconds** (*in query*): integer

  timeoutSeconds

- **watch** (*in query*): boolean

  watch

#### Response

200 (DaemonSetList): OK

401: Unauthorized

### `list` list or watch objects of kind DaemonSet

#### HTTP Request

GET /apis/apps/v1/daemonsets

#### Parameters

- **allowWatchBookmarks** (*in query*): boolean

  allowWatchBookmarks

- **continue** (*in query*): string

  continue

- **fieldSelector** (*in query*): string

  fieldSelector

- **labelSelector** (*in query*): string

  labelSelector

- **limit** (*in query*): integer

  limit

- **pretty** (*in query*): string

  pretty

- **resourceVersion** (*in query*): string

  resourceVersion

- **resourceVersionMatch** (*in query*): string

  resourceVersionMatch

- **sendInitialEvents** (*in query*): boolean

  sendInitialEvents

- **timeoutSeconds** (*in query*): integer

  timeoutSeconds

- **watch** (*in query*): boolean

  watch

#### Response

200 (DaemonSetList): OK

401: Unauthorized

### `create` create a DaemonSet

#### HTTP Request

POST /apis/apps/v1/namespaces/{namespace}/daemonsets

#### Parameters

- **namespace** (*in path*): string, required

  namespace

- **body**: DaemonSet, required

- **dryRun** (*in query*): string

  dryRun

- **fieldManager** (*in query*): string

  fieldManager

- **fieldValidation** (*in query*): string

  fieldValidation

- **pretty** (*in query*): string

  pretty

#### Response

200 (DaemonSet): OK

201 (DaemonSet): Created

202 (DaemonSet): Accepted

401: Unauthorized

### `update` replace the specified DaemonSet

#### HTTP Request

PUT /apis/apps/v1/namespaces/{namespace}/daemonsets/{name}

#### Parameters

- **name** (*in path*): string, required

  name of the DaemonSet

- **namespace** (*in path*): string, required

  namespace

- **body**: DaemonSet, required

- **dryRun** (*in query*): string

  dryRun

- **fieldManager** (*in query*): string

  fieldManager

- **fieldValidation** (*in query*): string

  fieldValidation

- **pretty** (*in query*): string

  pretty

#### Response

200 (DaemonSet): OK

201 (DaemonSet): Created

401: Unauthorized

### `update` replace status of the specified DaemonSet

#### HTTP Request

PUT /apis/apps/v1/namespaces/{namespace}/daemonsets/{name}/status

#### Parameters

- **name** (*in path*): string, required

  name of the DaemonSet

- **namespace** (*in path*): string, required

  namespace

- **body**: DaemonSet, required

- **dryRun** (*in query*): string

  dryRun

- **fieldManager** (*in query*): string

  fieldManager

- **fieldValidation** (*in query*): string

  fieldValidation

- **pretty** (*in query*): string

  pretty

#### Response

200 (DaemonSet): OK

201 (DaemonSet): Created

401: Unauthorized

### `patch` partially update the specified DaemonSet

#### HTTP Request

PATCH /apis/apps/v1/namespaces/{namespace}/daemonsets/{name}

#### Parameters

- **name** (*in path*): string, required

  name of the DaemonSet

- **namespace** (*in path*): string, required

  namespace

- **body**: Patch, required

- **dryRun** (*in query*): string

  dryRun

- **fieldManager** (*in query*): string

  fieldManager

- **fieldValidation** (*in query*): string

  fieldValidation

- **force** (*in query*): boolean

  force

- **pretty** (*in query*): string

  pretty

#### Response

200 (DaemonSet): OK

201 (DaemonSet): Created

401: Unauthorized

### `patch` partially update status of the specified DaemonSet

#### HTTP Request

PATCH /apis/apps/v1/namespaces/{namespace}/daemonsets/{name}/status

#### Parameters

- **name** (*in path*): string, required

  name of the DaemonSet

- **namespace** (*in path*): string, required

  namespace

- **body**: Patch, required

- **dryRun** (*in query*): string

  dryRun

- **fieldManager** (*in query*): string

  fieldManager

- **fieldValidation** (*in query*): string

  fieldValidation

- **force** (*in query*): boolean

  force

- **pretty** (*in query*): string

  pretty

#### Response

200 (DaemonSet): OK

201 (DaemonSet): Created

401: Unauthorized

### `delete` delete a DaemonSet

#### HTTP Request

DELETE /apis/apps/v1/namespaces/{namespace}/daemonsets/{name}

#### Parameters

- **name** (*in path*): string, required

  name of the DaemonSet

- **namespace** (*in path*): string, required

  namespace

- **body**: DeleteOptions

- **dryRun** (*in query*): string

  dryRun

- **gracePeriodSeconds** (*in query*): integer

  gracePeriodSeconds

- **pretty** (*in query*): string

  pretty

- **propagationPolicy** (*in query*): string

  propagationPolicy

#### Response

200 (Status): OK

202 (Status): Accepted

401: Unauthorized

### `deletecollection` delete collection of DaemonSet

#### HTTP Request

DELETE /apis/apps/v1/namespaces/{namespace}/daemonsets

#### Parameters

- **namespace** (*in path*): string, required

  namespace

- **body**: DeleteOptions

- **continue** (*in query*): string

  continue

- **dryRun** (*in query*): string

  dryRun

- **fieldSelector** (*in query*): string

  fieldSelector

- **gracePeriodSeconds** (*in query*): integer

  gracePeriodSeconds

- **labelSelector** (*in query*): string

  labelSelector

- **limit** (*in query*): integer

  limit

- **pretty** (*in query*): string

  pretty

- **propagationPolicy** (*in query*): string

  propagationPolicy

- **resourceVersion** (*in query*): string

  resourceVersion

- **resourceVersionMatch** (*in query*): string

  resourceVersionMatch

- **sendInitialEvents** (*in query*): boolean

  sendInitialEvents

- **timeoutSeconds** (*in query*): integer

  timeoutSeconds

#### Response

200 (Status): OK

401: Unauthorized

api metadata    apiVersion   apps v1    import   k8s io api apps v1    kind   DaemonSet  content type   api reference  description   DaemonSet represents the configuration of a daemon set   title   DaemonSet  weight  9 auto generated  true           The file is auto generated from the Go source code of the component using a generic  generator  https   github com kubernetes sigs reference docs    To learn how to generate the reference documentation  please read  Contributing to the reference documentation   docs contribute generate ref docs    To update the reference content  please follow the   Contributing upstream   docs contribute generate ref docs contribute upstream   guide  You can file document formatting bugs against the  reference docs  https   github com kubernetes sigs reference docs   project        apiVersion  apps v1    import  k8s io api apps v1        DaemonSet   DaemonSet   DaemonSet represents the configuration of a daemon set    hr       apiVersion    apps v1       kind    DaemonSet       metadata     a href    ObjectMeta  a      Standard object s metadata  More info  https   git k8s io community contributors devel sig architecture api conventions md metadata      spec     a href    DaemonSetSpec  a      The desired behavior of this daemon set  More info  https   git k8s io community contributors devel sig architecture api conventions md spec and status      status     a href    DaemonSetStatus  a      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         DaemonSetSpec   DaemonSetSpec   DaemonSetSpec is the specification of a daemon set    hr       selector     a href    LabelSelector  a    required    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      template     a href    PodTemplateSpec  a    required    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      minReadySeconds    int32     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        updateStrategy    DaemonSetUpdateStrategy     An update strategy to replace existing DaemonSet pods with new pods      a name  DaemonSetUpdateStrategy    a     DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet          updateStrategy type    string       Type of daemon set update  Can be  RollingUpdate  or  OnDelete   Default is RollingUpdate         updateStrategy rollingUpdate    RollingUpdateDaemonSet       Rolling update config params  Present only if type    RollingUpdate         a name  RollingUpdateDaemonSet    a       Spec to control the desired behavior of daemon set rolling update            updateStrategy rollingUpdate maxSurge    IntOrString         The maximum number of nodes with an existing available DaemonSet pod that can have an updated DaemonSet pod during during an update  Value can be an absolute number  ex  5  or a percentage of desired pods  ex  10    This can not be 0 if MaxUnavailable is 0  Absolute number is calculated from percentage by rounding up to a minimum of 1  Default value is 0  Example  when this is set to 30   at most 30  of the total number of nodes that should be running the daemon pod  i e  status desiredNumberScheduled  can have their a new pod created before the old pod is marked as deleted  The update starts by launching new pods on 30  of nodes  Once an updated pod is available  Ready for at least minReadySeconds  the old DaemonSet pod on that node is marked deleted  If the old pod becomes unavailable for any reason  Ready transitions to false  is evicted  or is drained  an updated pod is immediatedly created on that node without considering surge limits  Allowing surge implies the possibility that the resources consumed by the daemonset on any given node can double if the readiness check fails  and so resource intensive daemonsets should take into account that they may cause evictions during disruption          a name  IntOrString    a         IntOrString is a type that can hold an int32 or a string   When used in JSON or YAML marshalling and unmarshalling  it produces or consumes the inner type   This allows you to have  for example  a JSON field that can accept a name or number            updateStrategy rollingUpdate maxUnavailable    IntOrString         The maximum number of DaemonSet pods that can be unavailable during the update  Value can be an absolute number  ex  5  or a percentage of total number of DaemonSet pods at the start of the update  ex  10    Absolute number is calculated from percentage by rounding up  This cannot be 0 if MaxSurge is 0 Default value is 1  Example  when this is set to 30   at most 30  of the total number of nodes that should be running the daemon pod  i e  status desiredNumberScheduled  can have their pods stopped for an update at any given time  The update starts by stopping at most 30  of those DaemonSet pods and then brings up new DaemonSet pods in their place  Once the new pods are available  it then proceeds onto other DaemonSet pods  thus ensuring that at least 70  of original number of DaemonSet pods are available at all times during the update          a name  IntOrString    a         IntOrString is a type that can hold an int32 or a string   When used in JSON or YAML marshalling and unmarshalling  it produces or consumes the inner type   This allows you to have  for example  a JSON field that can accept a name or number        revisionHistoryLimit    int32     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          DaemonSetStatus   DaemonSetStatus   DaemonSetStatus represents the current status of a daemon set    hr       numberReady    int32   required    numberReady is the number of nodes that should be running the daemon pod and have one or more of the daemon pod running with a Ready Condition       numberAvailable    int32     The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available  ready for at least spec minReadySeconds       numberUnavailable    int32     The number of nodes that should be running the daemon pod and have none of the daemon pod running and available  ready for at least spec minReadySeconds       numberMisscheduled    int32   required    The number of nodes that are running the daemon pod  but are not supposed to run the daemon pod  More info  https   kubernetes io docs concepts workloads controllers daemonset       desiredNumberScheduled    int32   required    The total number of nodes that should be running the daemon pod  including nodes correctly running the daemon pod   More info  https   kubernetes io docs concepts workloads controllers daemonset       currentNumberScheduled    int32   required    The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod  More info  https   kubernetes io docs concepts workloads controllers daemonset       updatedNumberScheduled    int32     The total number of nodes that are running updated daemon pod      collisionCount    int32     Count of hash collisions for the DaemonSet  The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision       conditions      DaemonSetCondition      Patch strategy  merge on key  type         Map  unique values on key type will be kept during a merge       Represents the latest available observations of a DaemonSet s current state      a name  DaemonSetCondition    a     DaemonSetCondition describes the state of a DaemonSet at a certain point          conditions status    string   required      Status of the condition  one of True  False  Unknown         conditions type    string   required      Type of DaemonSet condition         conditions lastTransitionTime    Time       Last time the condition transitioned from one status to another        a name  Time    a       Time is a wrapper around time Time which supports correct marshaling to YAML and JSON   Wrappers are provided for many of the factory methods that the time package offers          conditions message    string       A human readable message indicating details about the transition         conditions reason    string       The reason for the condition s last transition       observedGeneration    int64     The most recent generation observed by the daemon set controller          DaemonSetList   DaemonSetList   DaemonSetList is a collection of daemon sets    hr       apiVersion    apps v1       kind    DaemonSetList       metadata     a href    ListMeta  a      Standard list metadata  More info  https   git k8s io community contributors devel sig architecture api conventions md metadata      items       a href    DaemonSet  a    required    A list of daemon sets          Operations   Operations      hr             get  read the specified DaemonSet       HTTP Request  GET  apis apps v1 namespaces  namespace  daemonsets  name        Parameters       name     in path    string  required    name of the DaemonSet       namespace     in path    string  required     a href    namespace  a        pretty     in query    string     a href    pretty  a          Response   200   a href    DaemonSet  a    OK  401  Unauthorized        get  read status of the specified DaemonSet       HTTP Request  GET  apis apps v1 namespaces  namespace  daemonsets  name  status       Parameters       name     in path    string  required    name of the DaemonSet       namespace     in path    string  required     a href    namespace  a        pretty     in query    string     a href    pretty  a          Response   200   a href    DaemonSet  a    OK  401  Unauthorized        list  list or watch objects of kind DaemonSet       HTTP Request  GET  apis apps v1 namespaces  namespace  daemonsets       Parameters       namespace     in path    string  required     a href    namespace  a        allowWatchBookmarks     in query    boolean     a href    allowWatchBookmarks  a        continue     in query    string     a href    continue  a        fieldSelector     in query    string     a href    fieldSelector  a        labelSelector     in query    string     a href    labelSelector  a        limit     in query    integer     a href    limit  a        pretty     in query    string     a href    pretty  a        resourceVersion     in query    string     a href    resourceVersion  a        resourceVersionMatch     in query    string     a href    resourceVersionMatch  a        sendInitialEvents     in query    boolean     a href    sendInitialEvents  a        timeoutSeconds     in query    integer     a href    timeoutSeconds  a        watch     in query    boolean     a href    watch  a          Response   200   a href    DaemonSetList  a    OK  401  Unauthorized        list  list or watch objects of kind DaemonSet       HTTP Request  GET  apis apps v1 daemonsets       Parameters       allowWatchBookmarks     in query    boolean     a href    allowWatchBookmarks  a        continue     in query    string     a href    continue  a        fieldSelector     in query    string     a href    fieldSelector  a        labelSelector     in query    string     a href    labelSelector  a        limit     in query    integer     a href    limit  a        pretty     in query    string     a href    pretty  a        resourceVersion     in query    string     a href    resourceVersion  a        resourceVersionMatch     in query    string     a href    resourceVersionMatch  a        sendInitialEvents     in query    boolean     a href    sendInitialEvents  a        timeoutSeconds     in query    integer     a href    timeoutSeconds  a        watch     in query    boolean     a href    watch  a          Response   200   a href    DaemonSetList  a    OK  401  Unauthorized        create  create a DaemonSet       HTTP Request  POST  apis apps v1 namespaces  namespace  daemonsets       Parameters       namespace     in path    string  required     a href    namespace  a        body     a href    DaemonSet  a   required           dryRun     in query    string     a href    dryRun  a        fieldManager     in query    string     a href    fieldManager  a        fieldValidation     in query    string     a href    fieldValidation  a        pretty     in query    string     a href    pretty  a          Response   200   a href    DaemonSet  a    OK  201   a href    DaemonSet  a    Created  202   a href    DaemonSet  a    Accepted  401  Unauthorized        update  replace the specified DaemonSet       HTTP Request  PUT  apis apps v1 namespaces  namespace  daemonsets  name        Parameters       name     in path    string  required    name of the DaemonSet       namespace     in path    string  required     a href    namespace  a        body     a href    DaemonSet  a   required           dryRun     in query    string     a href    dryRun  a        fieldManager     in query    string     a href    fieldManager  a        fieldValidation     in query    string     a href    fieldValidation  a        pretty     in query    string     a href    pretty  a          Response   200   a href    DaemonSet  a    OK  201   a href    DaemonSet  a    Created  401  Unauthorized        update  replace status of the specified DaemonSet       HTTP Request  PUT  apis apps v1 namespaces  namespace  daemonsets  name  status       Parameters       name     in path    string  required    name of the DaemonSet       namespace     in path    string  required     a href    namespace  a        body     a href    DaemonSet  a   required           dryRun     in query    string     a href    dryRun  a        fieldManager     in query    string     a href    fieldManager  a        fieldValidation     in query    string     a href    fieldValidation  a        pretty     in query    string     a href    pretty  a          Response   200   a href    DaemonSet  a    OK  201   a href    DaemonSet  a    Created  401  Unauthorized        patch  partially update the specified DaemonSet       HTTP Request  PATCH  apis apps v1 namespaces  namespace  daemonsets  name        Parameters       name     in path    string  required    name of the DaemonSet       namespace     in path    string  required     a href    namespace  a        body     a href    Patch  a   required           dryRun     in query    string     a href    dryRun  a        fieldManager     in query    string     a href    fieldManager  a        fieldValidation     in query    string     a href    fieldValidation  a        force     in query    boolean     a href    force  a        pretty     in query    string     a href    pretty  a          Response   200   a href    DaemonSet  a    OK  201   a href    DaemonSet  a    Created  401  Unauthorized        patch  partially update status of the specified DaemonSet       HTTP Request  PATCH  apis apps v1 namespaces  namespace  daemonsets  name  status       Parameters       name     in path    string  required    name of the DaemonSet       namespace     in path    string  required     a href    namespace  a        body     a href    Patch  a   required           dryRun     in query    string     a href    dryRun  a        fieldManager     in query    string     a href    fieldManager  a        fieldValidation     in query    string     a href    fieldValidation  a        force     in query    boolean     a href    force  a        pretty     in query    string     a href    pretty  a          Response   200   a href    DaemonSet  a    OK  201   a href    DaemonSet  a    Created  401  Unauthorized        delete  delete a DaemonSet       HTTP Request  DELETE  apis apps v1 namespaces  namespace  daemonsets  name        Parameters       name     in path    string  required    name of the DaemonSet       namespace     in path    string  required     a href    namespace  a        body     a href    DeleteOptions  a            dryRun     in query    string     a href    dryRun  a        gracePeriodSeconds     in query    integer     a href    gracePeriodSeconds  a        pretty     in query    string     a href    pretty  a        propagationPolicy     in query    string     a href    propagationPolicy  a          Response   200   a href    Status  a    OK  202   a href    Status  a    Accepted  401  Unauthorized        deletecollection  delete collection of DaemonSet       HTTP Request  DELETE  apis apps v1 namespaces  namespace  daemonsets       Parameters       namespace     in path    string  required     a href    namespace  a        body     a href    DeleteOptions  a            continue     in query    string     a href    continue  a        dryRun     in query    string     a href    dryRun  a        fieldSelector     in query    string     a href    fieldSelector  a        gracePeriodSeconds     in query    integer     a href    gracePeriodSeconds  a        labelSelector     in query    string     a href    labelSelector  a        limit     in query    integer     a href    limit  a        pretty     in query    string     a href    pretty  a        propagationPolicy     in query    string     a href    propagationPolicy  a        resourceVersion     in query    string     a href    resourceVersion  a        resourceVersionMatch     in query    string     a href    resourceVersionMatch  a        sendInitialEvents     in query    boolean     a href    sendInitialEvents  a        timeoutSeconds     in query    integer     a href    timeoutSeconds  a          Response   200   a href    Status  a    OK  401  Unauthorized