# ingressclass

The describe ingressclass command retrieves detailed information about a specific Ingress Class in the Kubernetes cluster. This includes metadata, controller, parameter reference, and any annotations related to ingress configuration.

## Usage

```
cldkctl describe ingressclass [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 ingressclass [name] 
```

2. Replace `[name]` with the Ingress Class name you want to inspect.
3. To view the available ingress class names, refer to the get ingressclass section.
4. 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]
```

5. Once completed successfully, the detailed information about the specified Ingress Class will appear in your terminal. The output includes metadata, controller type, and annotations.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2F5F02YG75Zu9DMLFT3gNk%2Funknown.png?alt=media&#x26;token=7b494e3a-2ef5-48e1-9e40-1c74888bc873" alt=""><figcaption></figcaption></figure>

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

| Column                                                           | Description                                                               |
| ---------------------------------------------------------------- | ------------------------------------------------------------------------- |
| spec.controller                                                  | Identifies the controller responsible for implementing this Ingress Class |
| metadata.annotations.ingressclass.kubernetes.io/is-default-class | Indicates whether this ingress class is set as the default                |

## Flags

{% hint style="info" %}

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.
   {% endhint %}

| Flag       | Description                |
| ---------- | -------------------------- |
| -h, --help | Help for describe command. |
