# 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="/files/wfOMCu38W2gR6vBicowJ" 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.](/cloudeka-api-list/global-flags.md) 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 |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloudeka.ai/cloudeka-api-list/command-reference/cldkctl-status.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
