# cldkctl get

The get command retrieves a list of Kubernetes resources within the project. It displays detailed information about existing objects such as pods, services, deployments, daemonsets, and other resources currently deployed in the cluster. This command provides a quick overview of resource states, namespaces, and configurations — similar to the kubectl get functionality.

## Usage

```
cldkctl get [flags]
```

```
cldkctl get [subcommand] [flags]
```

## Available command

| Command                 | Description                                      |
| ----------------------- | ------------------------------------------------ |
| `all`                   | List all Kubernetes resources in the cluster     |
| `clusterrole`           | List all ClusterRoles in the cluster             |
| `clusterrolebinding`    | List all ClusterRoleBindings in the cluster      |
| `configmap`             | List all ConfigMaps in the cluster               |
| `daemonset`             | List all DaemonSets in the cluster               |
| `datavolume`            | List all Data Volumes in the cluster             |
| `deployment`            | List all Deployments in the cluster              |
| `ingress`               | List all Ingress resources in the cluster        |
| `ingressclass`          | List all Ingress Classes in the cluster          |
| `namespace`             | List all Namespaces in the cluster               |
| `persistentvolume`      | List all Persistent Volumes in the cluster       |
| `persistentvolumeclaim` | List all Persistent Volume Claims in the cluster |
| `pod`                   | List all Pods in the cluster                     |
| `role`                  | List all Roles in the cluster                    |
| `secret`                | List all Secrets in the cluster                  |
| `service`               | List all Services in the cluster                 |
| `serviceaccount`        | List all Service Accounts in the cluster         |
| `statefulset`           | List all StatefulSets in the cluster             |

## Flags

{% hint style="info" %}
This command supports global flags. Refer to the Global Flags section for details.
{% endhint %}

| Flag                     | Description                                        |
| ------------------------ | -------------------------------------------------- |
| `-h, --help`             | Help for the get command.                          |
| `-n, --namespace string` | Specify the Kubernetes namespace for the resource. |
| `-p, --project string`   | Specify the project ID.                            |


---

# 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-get.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.
