Page cover

namespace

The get namespace command retrieves a list of all namespaces in the Kubernetes cluster. This command provides details such as namespace names, statuses, and resource quotas.

Usage

cldkctl get namespace [flags]

Steps

Follow the steps below to run and view the result of this command:

  1. Open your terminal in the directory containing the cldkctl binary.

  2. Run the following command in your terminal:

./cldkctl get namespace
  1. The command displays a table containing all existing namespaces and their creation dates.

Column
Description

Namespace

Displays the name of each namespace available in the cluster.

Created At

Shows the date when the namespace was created in the cluster.

Flags

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

Flag
Description

-h, --help

Help for get namespace command.

Last updated