# cldkctl create

The create command is used to provision a new Kubernetes resource in your project. It allows you to create resources such as Pods, Services, Deployments, Volumes, and more, based on the configurations you specify. You can either define the resource directly through the command or by providing a YAML configuration file.

## Usage

```
cldkctl create [flags]
```

## Available command

| Command                 | Description                                          |
| ----------------------- | ---------------------------------------------------- |
| `clusterrole`           | Create a new ClusterRole.                            |
| `clusterrolebinding`    | Create a new ClusterRoleBinding.                     |
| `configmap`             | Create a new ConfigMap in the cluster.               |
| `daemonset`             | Create a new DaemonSet in the cluster.               |
| `datavolume`            | Create a new Data Volume in the cluster.             |
| `deployment`            | Create a new Deployment in the cluster.              |
| `ingress`               | Create a new Ingress resource.                       |
| `ingressclass`          | Create a new Ingress Class in the cluster.           |
| `persistentvolume`      | Create a new Persistent Volume in the cluster.       |
| `persistentvolumeclaim` | Create a new Persistent Volume Claim in the cluster. |
| `pod`                   | Create a new Pod in the cluster.                     |
| `role`                  | Create a new Role in the cluster.                    |
| `secret`                | Create a new Secret in the cluster.                  |
| `service`               | Create a new Service in the cluster.                 |
| `serviceaccount`        | Create a new Service Account in the cluster.         |
| `statefulset`           | Create a new StatefulSet in the cluster.             |

## 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                                                          |
| ---------------------- | -------------------------------------------------------------------- |
| `-f, --file string`    | Specify the path to a YAML file used to create Kubernetes resources. |
| `-h, --help`           | Help for the create command.                                         |
| `-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-create.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.
