Page cover

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

This command supports global flags. Refer to the Global Flags section for details

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.

Last updated