Page cover

configmap

The describe configmap command retrieves detailed information about a specific ConfigMap in the Kubernetes cluster. This includes metadata, data stored in the ConfigMap, annotations, and any labels applied to it.

Usage

cldkctl describe configmap [name] [flags]

Steps

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

  1. Run the following command in your terminal:

./cldkctl describe configmap [name] 
  1. Replace [name] with the ConfigMap name you want to inspect.

  2. To view the resource name, refer to the corresponding get configmap section.

  3. If the resource is located in a non-default namespace, include the -n or --namespace flag followed by the namespace name.

./cldkctl describe [resource] [name] -n [namespace]
  1. Once completed successfully, the detailed information about the specified ConfigMap will appear in your terminal. The output includes metadata, managed fields, and key-value pairs stored in the ConfigMap.

The following table describes the additional fields specific to the ConfigMap resource.

Column
Description

data

Contains key-value pairs that define configuration data for applications.

data.[key]

The name of each configuration.

data.[value]

The corresponding value for each key stored in the ConfigMap.

managedFields

Tracks information about how and when specific fields were last changed.

managedFields.manager

The component or user that made the change.

managedFields.operation

The type of operation performed on the ConfigMap.

Flags

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

  2. For common metadata fields, refer to the Common Output Fields table at the beginning of this section.

Flag

-h, --help

Help for describe configmap command.

Last updated