Skip to content
Install the CLI

Reference experimental

cilium

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

Cilium: CNI and CiliumNetworkPolicy enforcer. Installs the chart, configures an environment’s bundled Cilium, or uses one the environment installed

This page is generated from kix/packages/experimental/cilium.

StabilityExperimental
package valuepackages.experimental.cilium
Default software version1.20.5
Rolescni, network-policy-enforcer

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
platform-ciliumOptional

Allow every pod in the cluster to reach cluster DNS, as the CiliumClusterwideNetworkPolicy cilium-cluster-dns-egress. Emitted only when the instance configures Cilium (chart or helmChartConfig delivery) and the effective policyEnforcementMode is “always”, which it is by default when networkPolicy.enable is true.

In that mode every pod in the cluster is in default deny, including the ones Kix never writes a policy for: a kubectl run debug pod, an operator’s own Job, anything in a namespace Kix does not manage. Kix writes DNS egress for the workloads it renders and for nothing else, so without this those pods cannot resolve a name, and the failure reads as a DNS outage rather than as a policy decision.

Set it false to write that policy yourself.

  • Type: boolean
  • Default: true

Policy that helm-controller follows when Cilium’s Helm install or upgrade job fails. Kix writes this value to spec.failurePolicy on the HelmChartConfig, such as kube-system/rke2-cilium on RKE2. Setting failurePolicy fails evaluation when this instance writes no HelmChartConfig (when Kix installs the Cilium Helm chart directly, or when the platform-cilium import sets out.helmChartConfig = null).

When null (the default), Kix omits spec.failurePolicy and the cluster’s default applies. RKE2 releases from 4 August 2026 onward (1.33.13, 1.34.10, 1.35.7, 1.36.3, and later) default to "retry" on their bundled charts. Earlier RKE2 releases default to "reinstall"; set "abort" on those releases.

  • "abort": leave the failed Helm release in place to fix and keep the running Cilium installation unchanged.

  • "reinstall": uninstall the Helm release and install it again. No node runs Cilium until the reinstall succeeds: open connections keep working, while new pods get no networking.

  • "retry": retry the install or upgrade without uninstalling Cilium. RKE2 releases before 4 August 2026 do not recognize "retry", and their API server rejects the HelmChartConfig.

  • Type: null or one of "abort", "reinstall", "retry"

  • Default: null

Helm values, merged with lib.recursiveUpdate over the package’s defaults for the delivery; a list replaces the default list.

Chart delivery: values for the cilium chart. helmChartConfig delivery: the values written to the environment’s HelmChartConfig, which its helm-controller merges over its own chart defaults. Must be empty when the platform-cilium dependency’s out.helmChartConfig is null, because the instance then writes no Cilium configuration.

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