Kong Ingress Controller FAQs

Observability

How do I gather Kong Ingress Controller metrics?

By default, the Kong Ingress Controller exposes a /metrics endpoint over port 10255.

  1. Port forward the controller pod on port 10255:

    kubectl port-forward -n kong <KIC pod name> 10255:10255
  2. Query the metrics endpoint:

    curl http://localhost:10255/metrics

The output lists all available metrics with an explanation of their meanings. To export these metrics to Prometheus, see the Prometheus and Grafana documentation.

Helm chart

How do I create additional Kubernetes resources with the Helm chart?

The Kong Helm charts support an array parameter, extraObjects, that you can use to create additional Kubernetes resources on deployment. Each new resource is an entry in the array. For example, the following array contains two manifests that create Kubernetes Secret objects:

image:
  repository: kong/kong-gateway

extraObjects:
  - apiVersion: v1
    data:
      kongCredType: YmFzaWMtYXV0aA==
      password: a29uZw==
      username: Z3J1YmVy
    kind: Secret
    metadata:
      name: basic-auth
  - apiVersion: v1
    data:
      password: a29uZw==
      username: bWNjbGFuZQo=
    kind: Secret
    metadata:
      name: uid-pw

For the full list of chart options, see the Kong Helm chart parameters.

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!