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.
| Stability | Experimental |
package value | packages.experimental.ingress-nginx |
| Default software version | 1.15.1 |
| Default aliases | ingressNginx |
How-to guides
Section titled “How-to guides”Dependencies
Section titled “Dependencies”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.
| Dependency | Requirement |
|---|---|
prometheus | Optional |
Options
Section titled “Options”certgen.image
Section titled “certgen.image”Image of the Jobs that create the admission webhook certificate and patch its CA into the webhook configuration.
-
Type:
submodule -
Default:
1{2digest = "sha256:01038e7de14b78d702d2849c3aad72fd25903c4765af63cf16aa3398f5d5f2dd";3pullPolicy = "IfNotPresent";4repository = "registry.k8s.io/ingress-nginx/kube-webhook-certgen";5tag = "v1.6.9";6}
certgen.image.digest
Section titled “certgen.image.digest”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
tagis the package’s tag, otherwise null
certgen.image.note
Section titled “certgen.image.note”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
certgen.image.promotedBy
Section titled “certgen.image.promotedBy”Who resolved this pin, for the record. Null when unknown.
- Type:
null or string - Default:
null
certgen.image.pullPolicy
Section titled “certgen.image.pullPolicy”imagePullPolicy for containers using this image. Null leaves it to Kubernetes.
- Type:
null or string - Default:
"IfNotPresent"
certgen.image.repository
Section titled “certgen.image.repository”Image repository, registry host included.
- Type:
string - Default:
"registry.k8s.io/ingress-nginx/kube-webhook-certgen"
certgen.image.resolvedAt
Section titled “certgen.image.resolvedAt”When this pin was resolved, RFC 3339. Null when unknown.
- Type:
null or string - Default:
null
certgen.image.sourceRev
Section titled “certgen.image.sourceRev”Revision of the source the image was built from, when Kix built it. Null for upstream images.
- Type:
null or string - Default:
null
certgen.image.tag
Section titled “certgen.image.tag”Image tag. What was asked for.
- Type:
string - Default:
"v1.6.9"
certgen.resources
Section titled “certgen.resources”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:
1{2requests = {3cpu = "10m";4memory = "20Mi";5};6}
certgen.resources.claims
Section titled “certgen.resources.claims”Dynamic resource claims the container uses. Null leaves it unset.
- Type:
null or (list of (submodule)) - Default:
null
certgen.resources.claims.*.name
Section titled “certgen.resources.claims.*.name”Name of an entry in the pod’s resourceClaims.
- Type:
string
certgen.resources.claims.*.request
Section titled “certgen.resources.claims.*.request”Request within the claim to use. Null uses the whole claim.
- Type:
null or string - Default:
null
certgen.resources.limits
Section titled “certgen.resources.limits”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:
{ }
certgen.resources.limits.cpu
Section titled “certgen.resources.limits.cpu”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
certgen.resources.limits.memory
Section titled “certgen.resources.limits.memory”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
certgen.resources.requests
Section titled “certgen.resources.requests”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:
{ }
certgen.resources.requests.cpu
Section titled “certgen.resources.requests.cpu”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
certgen.resources.requests.memory
Section titled “certgen.resources.requests.memory”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:
{ }
extraArgs
Section titled “extraArgs”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:
1[2"--watch-ingress-without-class=true"3]
Image of the controller.
-
Type:
submodule -
Default:
1{2digest = "sha256:594ceea76b01c592858f803f9ff4d2cb40542cae2060410b2c95f75907d659e1";3pullPolicy = "IfNotPresent";4repository = "registry.k8s.io/ingress-nginx/controller";5tag = "v1.15.1";6}
image.digest
Section titled “image.digest”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
tagis the package’s tag, otherwise null
image.note
Section titled “image.note”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
image.promotedBy
Section titled “image.promotedBy”Who resolved this pin, for the record. Null when unknown.
- Type:
null or string - Default:
null
image.pullPolicy
Section titled “image.pullPolicy”imagePullPolicy for containers using this image. Null leaves it to Kubernetes.
- Type:
null or string - Default:
"IfNotPresent"
image.repository
Section titled “image.repository”Image repository, registry host included.
- Type:
string - Default:
"registry.k8s.io/ingress-nginx/controller"
image.resolvedAt
Section titled “image.resolvedAt”When this pin was resolved, RFC 3339. Null when unknown.
- Type:
null or string - Default:
null
image.sourceRev
Section titled “image.sourceRev”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
Section titled “image.tag”Image tag. What was asked for.
- Type:
string - Default:
"v1.15.1"
ingressClassName
Section titled “ingressClassName”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
isDefaultClass
Section titled “isDefaultClass”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
metrics.enabled
Section titled “metrics.enabled”Enable metrics endpoint and monitoring resources (ServiceMonitor, PrometheusRules) when prometheus is available.
- Type:
boolean - Default:
true
metrics.interval
Section titled “metrics.interval”Scrape interval (e.g. ”30s”). Null = use Prometheus default.
- Type:
null or string - Default:
null
replicas
Section titled “replicas”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, orzone
resources
Section titled “resources”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:
1{2requests = {3cpu = "100m";4memory = "90Mi";5};6}
resources.claims
Section titled “resources.claims”Dynamic resource claims the container uses. Null leaves it unset.
- Type:
null or (list of (submodule)) - Default:
null
resources.claims.*.name
Section titled “resources.claims.*.name”Name of an entry in the pod’s resourceClaims.
- Type:
string
resources.claims.*.request
Section titled “resources.claims.*.request”Request within the claim to use. Null uses the whole claim.
- Type:
null or string - Default:
null
resources.limits
Section titled “resources.limits”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:
{ }
resources.limits.cpu
Section titled “resources.limits.cpu”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
resources.limits.ephemeral-storage
Section titled “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
resources.limits.memory
Section titled “resources.limits.memory”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
resources.requests
Section titled “resources.requests”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:
{ }
resources.requests.cpu
Section titled “resources.requests.cpu”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"
resources.requests.ephemeral-storage
Section titled “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
resources.requests.memory
Section titled “resources.requests.memory”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"
service.annotations
Section titled “service.annotations”Annotations on the controller Service, such as a cloud provider’s load balancer settings.
- Type:
attribute set of string - Default:
{ }
service.nodePorts.http
Section titled “service.nodePorts.http”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
service.nodePorts.https
Section titled “service.nodePorts.https”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
service.spec
Section titled “service.spec”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:
{ }
service.spec.externalTrafficPolicy
Section titled “service.spec.externalTrafficPolicy”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.spec.type
Section titled “service.spec.type”Service type. LoadBalancer needs a load balancer provider in the cluster.
- Type:
one of "ClusterIP", "NodePort", "LoadBalancer" - Default:
"ClusterIP"
settings
Section titled “settings”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:
1{2proxy-body-size = "50m";3ssl-protocols = "TLSv1.3";4}