Page cover

configmap

The get configmap command retrieves a list of all ConfigMaps in the Kubernetes cluster. This command provides details such as names, namespaces, data keys, and annotations associated with each ConfigMap.

Usage

cldkctl get configmap [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 configmap
  1. The command displays all available ConfigMaps, their namespaces, and creation dates.

Column
Description

Name

Displays the name of each ConfigMap defined in the cluster.

Namespace

Indicates the namespace where the ConfigMap resides.

Created At

Shows the date when the ConfigMap was created.

Flags

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

Column
Description

-h, --help

Help for get configmap command.

Last updated