Skip to content
Install the CLI

Reference experimental

ingress-nginx

These docs describe Kix's main branch, which can include changes not yet released. Read the docs for the latest release.

NGINX Ingress controller (deprecated: retired by Kubernetes in March 2026, no security fixes; use traefik)

This page is generated from kix/packages/experimental/ingress-nginx.

StabilityExperimental
package valuepackages.experimental.ingress-nginx
Default software version1.15.1
Default aliasesingressNginx

Kix matches each dependency below to another package instance by instance name, alias, or role. To bind a specific instance, set deps.<name> in your cluster definition. See Declaring dependencies for how required and optional dependencies work.

DependencyRequirement
prometheusOptional

Image of the Jobs that create the admission webhook certificate and patch its CA into the webhook configuration.

  • Type: submodule

  • Default:

    {
    digest = "sha256:01038e7de14b78d702d2849c3aad72fd25903c4765af63cf16aa3398f5d5f2dd";
    pullPolicy = "IfNotPresent";
    repository = "registry.k8s.io/ingress-nginx/kube-webhook-certgen";
    tag = "v1.6.9";
    }

Resolved manifest digest, sha256: followed by 64 hex characters. What will actually run. Null means not resolved.

  • Type: null or string
  • Default: the package’s digest while tag is the package’s tag, otherwise null

Whatever a person wanted to say about this pin. Kix never reads it and a promotion never discards it. Declared here for the same reason as the three fields above: a pin carries its own record-keeping, and the option accepts the whole pin rather than a subset of it.

  • Type: null or string
  • Default: null

Who resolved this pin, for the record. Null when unknown.

  • Type: null or string
  • Default: null

imagePullPolicy for containers using this image. Null leaves it to Kubernetes.

  • Type: null or string
  • Default: "IfNotPresent"

Image repository, registry host included.

  • Type: string
  • Default: "registry.k8s.io/ingress-nginx/kube-webhook-certgen"

When this pin was resolved, RFC 3339. Null when unknown.

  • Type: null or string
  • Default: null

Revision of the source the image was built from, when Kix built it. Null for upstream images.

  • Type: null or string
  • Default: null

Image tag. What was asked for.

  • Type: string
  • Default: "v1.6.9"

Resource requests and limits for the two certgen Jobs, which run for a few seconds per deploy. Each field keeps its default until set, and null removes a default.

  • Type: submodule

  • Default:

    {
    requests = {
    cpu = "10m";
    memory = "20Mi";
    };
    }

Dynamic resource claims the container uses. Null leaves it unset.

  • Type: null or (list of (submodule))
  • Default: null

Name of an entry in the pod’s resourceClaims.

  • Type: string

Request within the claim to use. Null uses the whole claim.

  • Type: null or string
  • Default: null

Resource quantities by name.

  • Type: open submodule of attribute set of Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: { }

The cpu quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: null

certgen.resources.limits.ephemeral-storage

Section titled “certgen.resources.limits.ephemeral-storage”

The ephemeral-storage quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: null

The memory quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: null

Resource quantities by name.

  • Type: open submodule of attribute set of Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: { }

The cpu quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: "10m"

certgen.resources.requests.ephemeral-storage

Section titled “certgen.resources.requests.ephemeral-storage”

The ephemeral-storage quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: null

The memory quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: "20Mi"

Extra environment variables for the controller. A value is a string, a fieldRef source, or a secretKeyRef source naming a Secret managed outside Kix with kix.untrackedRef. The package sets POD_NAME, POD_NAMESPACE, and LD_PRELOAD.

  • Type: attribute set of (null or string or env var source with `valueFrom`)
  • Default: { }

Flags appended to the controller’s arguments. A flag the package sets or derives from (--publish-service, --election-id, --controller-class, --ingress-class, --configmap, --enable-metrics, the port flags --http-port, --https-port, and --healthz-port, and the --validating-webhook* flags) is refused, and the error says what to do instead.

  • Type: list of string

  • Default: [ ]

  • Example:

    [
    "--watch-ingress-without-class=true"
    ]

Image of the controller.

  • Type: submodule

  • Default:

    {
    digest = "sha256:594ceea76b01c592858f803f9ff4d2cb40542cae2060410b2c95f75907d659e1";
    pullPolicy = "IfNotPresent";
    repository = "registry.k8s.io/ingress-nginx/controller";
    tag = "v1.15.1";
    }

Resolved manifest digest, sha256: followed by 64 hex characters. What will actually run. Null means not resolved.

  • Type: null or string
  • Default: the package’s digest while tag is the package’s tag, otherwise null

Whatever a person wanted to say about this pin. Kix never reads it and a promotion never discards it. Declared here for the same reason as the three fields above: a pin carries its own record-keeping, and the option accepts the whole pin rather than a subset of it.

  • Type: null or string
  • Default: null

Who resolved this pin, for the record. Null when unknown.

  • Type: null or string
  • Default: null

imagePullPolicy for containers using this image. Null leaves it to Kubernetes.

  • Type: null or string
  • Default: "IfNotPresent"

Image repository, registry host included.

  • Type: string
  • Default: "registry.k8s.io/ingress-nginx/controller"

When this pin was resolved, RFC 3339. Null when unknown.

  • Type: null or string
  • Default: null

Revision of the source the image was built from, when Kix built it. Null for upstream images.

  • Type: null or string
  • Default: null

Image tag. What was asked for.

  • Type: string
  • Default: "v1.15.1"

Name of the IngressClass this controller serves, the name an Ingress sets in spec.ingressClassName: lowercase letters, digits, -, and ., starting and ending with a letter or digit. The class’s controller value is k8s.io/ingress-nginx/<namespace>/<name>, which must fit in 250 characters. IngressClasses are cluster-scoped, so instances in different namespaces need different names.

  • Type: string matching the pattern [a-z0-9]([-a-z0-9.]*[a-z0-9])?
  • Default: scope.instanceName

Mark the IngressClass as the cluster default, so Ingresses that name no class use this controller. Ingresses rendered by Kix always name their class. A cluster may have only one default class; with two, the API server rejects every Ingress that names none.

  • Type: boolean
  • Default: false

Enable metrics endpoint and monitoring resources (ServiceMonitor, PrometheusRules) when prometheus is available.

  • Type: boolean
  • Default: true

Scrape interval (e.g. ”30s”). Null = use Prometheus default.

  • Type: null or string
  • Default: null

Controller replicas. Every replica serves traffic; leader election only decides which one writes Ingress status.

  • Type: positive integer, meaning >0
  • Default: 1, 2, 2, or 3 for the cluster’s availability level none, pod, node, or zone

Resource requests and limits for the controller container. There is no default limit: nginx starts one worker per CPU, so memory use follows the node’s CPU count. Each field keeps its default until set, and null removes a default.

  • Type: submodule

  • Default:

    {
    requests = {
    cpu = "100m";
    memory = "90Mi";
    };
    }

Dynamic resource claims the container uses. Null leaves it unset.

  • Type: null or (list of (submodule))
  • Default: null

Name of an entry in the pod’s resourceClaims.

  • Type: string

Request within the claim to use. Null uses the whole claim.

  • Type: null or string
  • Default: null

Resource quantities by name.

  • Type: open submodule of attribute set of Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: { }

The cpu quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: null

The ephemeral-storage quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: null

The memory quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: null

Resource quantities by name.

  • Type: open submodule of attribute set of Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: { }

The cpu quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: "100m"

The ephemeral-storage quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: null

The memory quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: "90Mi"

Annotations on the controller Service, such as a cloud provider’s load balancer settings.

  • Type: attribute set of string
  • Default: { }

nodePort of the Service’s http port. Null lets Kubernetes choose. Needs service.spec.type NodePort or LoadBalancer.

  • Type: null or 16 bit unsigned integer; between 0 and 65535 (both inclusive)
  • Default: null

nodePort of the Service’s https port. Null lets Kubernetes choose. Needs service.spec.type NodePort or LoadBalancer.

  • Type: null or 16 bit unsigned integer; between 0 and 65535 (both inclusive)
  • Default: null

Fields of the controller Service’s spec, with Kubernetes field names (loadBalancerClass, loadBalancerSourceRanges, ipFamilyPolicy, …). The package sets selector and ports; set node ports through service.nodePorts.

  • Type: open submodule of attribute set of anything
  • Default: { }

Local keeps client source addresses on NodePort and LoadBalancer Services. Null leaves the Kubernetes default, Cluster.

  • Type: null or one of "Cluster", "Local"
  • Default: null

Service type. LoadBalancer needs a load balancer provider in the cluster.

  • Type: one of "ClusterIP", "NodePort", "LoadBalancer"
  • Default: "ClusterIP"

Data of the controller’s ConfigMap, with upstream’s keys and string values (ingress-nginx “ConfigMap” documentation). Snippet annotations need both allow-snippet-annotations = "true" and annotations-risk-level = "Critical". Trust X-Forwarded-* headers (use-forwarded-headers) only behind a proxy that sets them.

  • Type: attribute set of string

  • Default: { }

  • Example:

    {
    proxy-body-size = "50m";
    ssl-protocols = "TLSv1.3";
    }