# cldkctl status

The status command provides an overview of the current state of Kubernetes resources within a project or cluster. This command helps users monitor resource availability, detect potential issues, and assess overall cluster health at a glance.

## Usage

```
cldkctl status [flags]
```

## Steps

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

1. Run the following command in your terminal:

```
./cldkctl status
```

2. Wait for the CLI to retrieve real-time cluster data.
3. Review the output to monitor workload status, warning events, service information, and persistent volumes.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FJHby4JJj094FDOzkz2Cj%2Funknown.png?alt=media&#x26;token=11ec4ab4-4d99-461a-a703-24aba4667e8a" alt=""><figcaption></figcaption></figure>

| Column                     | Description                                                                                        |
| -------------------------- | -------------------------------------------------------------------------------------------------- |
| Workloads                  |                                                                                                    |
| Deployments                | Number of running deployment resources.                                                            |
| Stateful Sets              | Number of stateful workloads such as databases or persistent applications.                         |
| Services                   | Number of active services associated with deployments.                                             |
| Events                     |                                                                                                    |
| Level                      | Indicates the event’s severity level (e.g., Warning, Info).                                        |
| Type                       | Classifies the event type (e.g., BackOff, FailedScheduling).                                       |
| Message                    | Describes the event details, including the affected pod or volume, and any related error messages. |
| Services                   |                                                                                                    |
| Name                       | The service name.                                                                                  |
| Namespace                  | The namespace in which the service runs.                                                           |
| Type                       | The service type (e.g., ClusterIP, LoadBalancer, ExternalName).                                    |
| Cluster IP / External IP   | IP address assignments within and outside the cluster.                                             |
| Ports                      | Open service ports and communication protocols (e.g., 80/TCP, 443/TCP).                            |
| Age                        | Duration since the service was created.                                                            |
| Selector                   | The assigned selector labels for workload targeting.                                               |
| Persistent Volumes         |                                                                                                    |
| Name                       | The volume identifier.                                                                             |
| Capacity                   | Allocated storage capacity.                                                                        |
| Access Mode                | Defines how volumes are mounted (e.g., ReadWriteOnce, ReadOnlyMany).                               |
| Reclaim Policy             | Describes how storage is handled after release (e.g., Delete, Retain).                             |
| Status                     | Current volume condition (e.g., Bound, Available).                                                 |
| Storage Class              | Storage provisioning class used.                                                                   |
| Reason / Age / Volume Mode | Additional information on usage state, creation time, and configuration mode.                      |

## 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 the status command.                           |
| `-p, --project string` | Specify a project ID to retrieve its Kubernetes status |
