Page cover

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

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

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.

Last updated