Adding labels and annotations to Kubernetes Ingress

You can configure Kubernetes Ingress labels and annotations, if your organization requires them.

Prerequisites
  • An active kubectl session with administrative permissions to the destination Kubernetes cluster. See Overview of kubectl.

  • An instance of Che running in Kubernetes.

Procedure
  • Configure the CheCluster Custom Resource. See Using the CLI to configure the CheCluster Custom Resource.

    spec:
      networking:
        labels: <labels> (1)
        annotations: <annotations> (2)
    1 An unstructured key value map of labels for Kubernetes Ingress.
    2 An unstructured key value map of annotations for Kubernetes Ingress.