Page cover

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
  1. Wait for the CLI to retrieve real-time cluster data.

  2. Review the output to monitor workload status, warning events, service information, and persistent volumes.

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

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

Flag
Description

-h, --help

Help for the status command.

-p, --project string

Specify a project ID to retrieve its Kubernetes status

Last updated