# daemonset

The get daemonset command retrieves a list of all DaemonSets running in the Kubernetes cluster. This command provides detailed information such as DaemonSet names, node scheduling, update strategies, and resource utilization.

## Usage

```
cldkctl get daemonset [flags]
```

## Steps

Follow the steps below to run and view the result of this command:

1. Open your terminal in the directory containing the cldkctl binary.
2. Run the following command in your terminal:

```
./cldkctl get daemonset
```

3. The command will display all DaemonSets with details such as desired pods, current pods, readiness, and node scheduling status.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FF5yfGxHrjBahPNKTlYzH%2Funknown.png?alt=media&#x26;token=f91b260c-4575-4c22-9b76-a06656e6cf80" alt=""><figcaption></figcaption></figure>

| Column        | Description                                                       |
| ------------- | ----------------------------------------------------------------- |
| Name          | Displays the name of each DaemonSet running in the cluster.       |
| Desired       | Number of nodes that should be running a pod from this DaemonSet. |
| Current       | Number of currently scheduled pods.                               |
| Ready         | Number of pods that are ready and running successfully.           |
| Up-To-Date    | Number of pods updated to match the DaemonSet's desired state.    |
| Available     | Number of pods available for scheduling.                          |
| Node Selector | Node label selector used by the DaemonSet for scheduling.         |
| Age           | Time duration since the DaemonSet was created.                    |
| Containers    | Lists the container(s) used in each DaemonSet.                    |

## Flags

{% hint style="info" %}
This command supports [global flags.](https://docs.cloudeka.ai/cloudeka-api-list/global-flags) Refer to the Global Flags section for details.
{% endhint %}

| Flag       | Description                     |
| ---------- | ------------------------------- |
| -h, --help | Help for get daemonset command. |
