---
title: "Helm Chart - Pilot Docs"
description: "Install Calinora Pilot on Kubernetes, standalone or in High Availability mode, with one Helm chart"
url: "https://docs.calinora.io/deployment/helm/"
---

# Helm Chart

The Helm chart installs Pilot on Kubernetes with one `helm install`, standalone or in [High Availability](https://docs.calinora.io/deployment/high-availability/) mode. It is published as the OCI chart `oci://registry-1.docker.io/calinora/pilot-chart`.

The commands on this page use the release `pilot` in the namespace `pilot`. Objects are named after the release. If the release name does not contain `pilot`, the chart appends `-pilot`. The HA [kept objects](https://docs.calinora.io/deployment/helm/#kept-objects) take their names from `ha.names`.

## Requirements

- Helm 3.9 or later, or Helm 4.
- Kubernetes 1.30 or later.
- A namespace that you create and label. The chart does not create it.
- Secrets that you create. The chart never generates credentials; see [Secrets](https://docs.calinora.io/deployment/helm/#secrets).
- For HA mode, the [Kafka requirements](https://docs.calinora.io/deployment/high-availability/#requirements-and-installation) and [Kafka ACLs](https://docs.calinora.io/deployment/high-availability/#kafka-acls) of High Availability.

## Install

Create the namespace with the restricted Pod Security Standard:

```bash
kubectl create namespace pilot
kubectl label namespace pilot pod-security.kubernetes.io/enforce=restricted
```

Create the Secrets your values reference, for example the license:

```bash
kubectl -n pilot create secret generic pilot-license --from-literal=license='eyJ...'
```

Write a values file. `kafka.bootstrapServers` is the only required value:

```yaml title="values.yaml"
kafka:
  bootstrapServers: "kafka-0.kafka:9092,kafka-1.kafka:9092,kafka-2.kafka:9092"
license:
  secret:
    secretName: pilot-license
    key: license
```

Install the chart and wait for the rollout:

```bash
helm install pilot oci://registry-1.docker.io/calinora/pilot-chart --version 0.29.0 -n pilot -f values.yaml
kubectl -n pilot rollout status deployment/pilot
```

Open standalone Pilot through a port forward, or expose it as under [Exposure](https://docs.calinora.io/deployment/helm/#exposure):

```bash
kubectl -n pilot port-forward service/pilot 8080:8080
```

## Secrets

The chart reads credentials only from Secrets you create. Each value takes the Secret’s name (`secretName`) and the key inside it (`key`). The Kafka client certificate and the agent CA take two keys (`certKey` and `keyKey`), and `krb5.conf` comes from a ConfigMap.

| Credential | Value |
| - | - |
| Kafka SASL password | `kafka.sasl.password` |
| Kafka OAUTHBEARER client secret | `kafka.sasl.oauth.clientSecret` |
| Kerberos keytab or password, and `krb5.conf` from a ConfigMap | `kafka.sasl.kerberos.keytab`, `kafka.sasl.kerberos.password`, `kafka.sasl.kerberos.krb5Conf` |
| Kafka TLS CA, client certificate and key, key password | `kafka.tls.ca`, `kafka.tls.clientCert`, `kafka.tls.keyPassword` |
| Session cookie secret (`AUTH_COOKIE_SECRET`) | `auth.cookieSecret` |
| OAuth/OIDC client secret | `auth.providers.<provider>.clientSecret` |
| PAT hash secret (`AUTH_PAT_HASH_SECRET`) | `auth.pat.hashSecret` |
| License (`LICENSE_STRING`) | `license.secret` |
| Agent bootstrap token (`PILOT_AGENT_BOOTSTRAP_TOKEN`) | `agent.bootstrapToken` |
| Agent CA, `ca.crt` and `ca.key` | `agent.ca` |

HA replicas share the cookie secret and the PAT hash secret, at least 32 bytes each. Generate them once:

```bash
kubectl -n pilot create secret generic pilot-auth \
  --from-literal=cookie-secret="$(openssl rand -hex 32)" \
  --from-literal=hash-secret="$(openssl rand -hex 32)"
```

`helm upgrade` restarts the pods when the chart’s ConfigMap changes, not when a Secret does. After rotating a Secret, restart them. Rotating the cookie secret ends every session, and rotating the PAT hash secret invalidates every PAT.

```bash
kubectl -n pilot rollout restart deployment/pilot
```

## Values

[Values reference](https://docs.calinora.io/deployment/helm/#values-reference) lists every value with its type and default. `helm show values` prints them with the chart’s comments:

```bash
helm show values oci://registry-1.docker.io/calinora/pilot-chart --version 0.29.0
```

### Other settings

`config` takes any other non-secret environment variable, which the chart writes to its ConfigMap:

```yaml
config:
  PILOT_BALANCE_THRESHOLD: "5.0"
  PILOT_EXCLUDE_TOPICS: "__consumer_offsets,__transaction_state"
  PILOT_THROTTLE_MANAGED: "true"
```

The chart refuses a variable in `config` or `extraEnv` that it already sets, such as `KAFKA_BOOTSTRAP_SERVERS` (`kafka.bootstrapServers`) or `LOG_LEVEL` (`logLevel`). The error names the value to use.

`config` also refuses secrets, such as names ending in `_PASSWORD` or `_TOKEN`. Put a secret without its own value, such as `PILOT_CHAT_API_KEY`, in `extraEnv` with a `secretKeyRef`, or in a Secret listed in `extraEnvFrom`.

These checks also run under `helm template` and in GitOps tools.

### Extra manifests

`extraManifests` installs further Kubernetes objects with the release, in both modes. This item gives the group `kafka-operators` read access to the release namespace, Secrets excepted:

```yaml
extraManifests:
  - |
    apiVersion: rbac.authorization.k8s.io/v1
    kind: RoleBinding
    metadata:
      name: {{ include "pilot.fullname" . }}-viewers
      labels:
        {{- include "pilot.labels" . | nindent 4 }}
    roleRef:
      apiGroup: rbac.authorization.k8s.io
      kind: ClusterRole
      name: view
    subjects:
      - apiGroup: rbac.authorization.k8s.io
        kind: Group
        name: kafka-operators
```

- Each item is one object, written as a map or as a string of YAML. Items are templates, so they can use the release name, the values and the chart’s helpers.
- Removing an item on upgrade deletes its object, unless the object carries `helm.sh/resource-policy: keep` or is a hook.
- Text with `{{` that is not a template, such as a Grafana legend `{{instance}}`, needs escaping as `{{ "{{" }}instance}}`.
- Do not put Secrets here: their data is stored in the Helm release. Create Secrets outside the release.
- In HA mode, do not add your own Service or PodDisruptionBudget for Pilot’s pods. Only the chart’s Service reaches the active replica.

The chart refuses an item that collides with one of its own objects. The error starts with `extraManifests[N]` and names the problem.

## Standalone

Without `ha.enabled`, the chart installs one Pilot pod and a Service.

- An upgrade stops the old pod before it starts the new one, so expect a short interruption.
- The liveness and readiness probes use `/api/v1/health`; see [Health Probes](https://docs.calinora.io/deployment/kubernetes/#health-probes).
- The pod meets the restricted Pod Security Standard and sets no fixed user ID, so OpenShift can assign one.
- A memory limit is required; see [Memory Limit](https://docs.calinora.io/deployment/sizing/#memory-limit).

## High Availability

Set `ha.enabled`:

```yaml title="values.yaml"
kafka:
  bootstrapServers: "kafka-0.kafka:9093,kafka-1.kafka:9093,kafka-2.kafka:9093"
ha:
  enabled: true
  replicas: 3
auth:
  pat:
    enabled: false   # fixed after the first install
```

Configure a sign-in provider under `auth.providers` before exposing Pilot. In HA mode, PATs need one.

The chart installs `ha.replicas` replicas (default 3) spread across nodes, a PodDisruptionBudget, a Role and RoleBinding that let Pilot update its four [kept objects](https://docs.calinora.io/deployment/helm/#kept-objects), and the kept objects themselves. The `ha` values tune all of this.

The first start sets up the installation and logs `HA enrollment finished`. Check the log line and the binding. Then [back up](https://docs.calinora.io/deployment/high-availability/#back-up-the-binding) the binding ConfigMap: without it, the installation’s topics cannot be used again.

```bash
kubectl -n pilot rollout status deployment/pilot
kubectl -n pilot logs -l app.kubernetes.io/name=pilot --prefix --tail=-1 | grep 'HA enrollment finished'
kubectl -n pilot get configmap pilot-ha-binding -o jsonpath='{.data.binding\.yaml}'
```

If the first start stops with `HA enrollment conflict`, see [Requirements and installation](https://docs.calinora.io/deployment/high-availability/#requirements-and-installation).

Optional: after the first start, set `ha.rbac.enrollmentFinished: true` to remove permissions Pilot no longer needs from the chart’s Role. Set it back to `false` before a reinstall.

Where the installer may not create Roles, set `ha.rbac.create: false` and let a cluster administrator create the Role and RoleBinding; see [Kubernetes RBAC](https://docs.calinora.io/deployment/high-availability/#kubernetes-rbac).

HA behavior, the Kafka prerequisites and the ACLs of the runtime principal are under [High Availability](https://docs.calinora.io/deployment/high-availability/).

### Kept objects

| Object | Value | Default name |
| - | - | - |
| Binding ConfigMap | `ha.names.binding` | `pilot-ha-binding` |
| Lease | `ha.names.lease` | `pilot-ha` |
| Selectorless Service | `ha.names.service` | `pilot` |
| EndpointSlice | `ha.names.endpointSlice` | `pilot-active` |

`helm uninstall` leaves these four objects in place, because Pilot stores the installation’s identity in them. A later install reuses them only under the same release name and namespace.

A GitOps tool must not prune, delete, recreate or revert them. For Argo CD, use the sync options below; other tools need their own equivalent:

```yaml
ha:
  keptObjectAnnotations:
    argocd.argoproj.io/sync-options: Prune=false,Delete=false
```

`helm upgrade` recreates a deleted kept object, but not what Pilot wrote to it. Follow [Recover a deleted Lease, Service or EndpointSlice](https://docs.calinora.io/deployment/high-availability/#recover-a-deleted-lease-service-or-endpointslice).

### Decide before the first install

These settings cannot change after the first HA install:

- `ha.names`: the object names. Replicas configured with other names stay NotReady.
- `auth.pat.enabled`: an installation set up without PATs cannot turn them on later. Its replicas stay NotReady while PATs are on.
- `ha.ipFamily`: `IPv4` or `IPv6`. Kubernetes cannot change it on an existing Service.
- `port` and `agent.grpcPort`: the Service routes these ports, and agents dial the gRPC port.

### Flags to avoid

- `--force` (Helm 3) or `--force-replace` (Helm 4) on `helm upgrade` or `helm rollback` of an HA release: it replaces the kept objects with the chart’s empty versions and erases what Pilot wrote.
- `--atomic` (Helm 3) or `--rollback-on-failure` (Helm 4) on the first install: a failed or timed-out install is uninstalled, which removes the RBAC of a replica that may be enrolling.

## Exposure

- `service`: the Service type. Standalone allows `ClusterIP`, `NodePort` or `LoadBalancer`; HA allows only `ClusterIP`.
- `ingress`: an Ingress to the Service’s `http` port. Chat streams over Server-Sent Events, so set long proxy timeouts as under [Kubernetes](https://docs.calinora.io/deployment/kubernetes/#ingress).
- `route`: an OpenShift Route to the Service’s `http` port, with edge TLS termination.
- `networkPolicy`: a NetworkPolicy that limits who reaches the `http` and `grpc` ports, with optional egress rules.

In HA mode, Pilot publishes the active replica in its own EndpointSlice, and nothing mirrors it into Endpoints. Ingress, Route and Gateway controllers must read EndpointSlices; check that yours does.

The chart has not been tested on OpenShift; see [Kubernetes and OpenShift maintenance](https://docs.calinora.io/deployment/high-availability/#kubernetes-and-openshift-maintenance).

## Pilot Agents

The chart installs the Pilot server only; agents run beside the brokers. Create the agent CA and the bootstrap token, and keep `ca.key` in your secret management:

```bash
openssl req -x509 -newkey ec -pkeyopt ec_paramgen_curve:P-256 -nodes -days 3650 \
  -subj "/CN=Pilot Agent CA" -addext basicConstraints=critical,CA:TRUE \
  -addext keyUsage=critical,keyCertSign,cRLSign -keyout ca.key -out ca.crt
kubectl -n pilot create secret generic pilot-agent-ca --from-file=ca.crt --from-file=ca.key
kubectl -n pilot create secret generic pilot-agent-bootstrap \
  --from-literal=token="$(openssl rand -hex 32)"
```

```yaml
agent:
  enabled: true
  bootstrapToken:
    secretName: pilot-agent-bootstrap
    key: token
  ca:
    secretName: pilot-agent-ca
```

- The `grpc` port defaults to `9190` (`agent.grpcPort`).
- HA requires the CA Secret and refuses `agent.insecure`.
- Standalone Pilot may instead keep its generated CA on a PersistentVolumeClaim (`agent.autoTls.existingClaim`).
- Agents outside the Kubernetes cluster need a TLS-passthrough route to the `grpc` port. Add its name to `agent.tlsSans`, because agents verify the name they dial.

Set on each agent:

| Variable | Value | Release `pilot` in namespace `pilot` |
| - | - | - |
| `AGENT_SERVER` | `<service>.<namespace>.svc:<grpc port>` | `pilot.pilot.svc:9190` |
| `AGENT_BOOTSTRAP_URL` | `http://<service>.<namespace>.svc:<port>/api/v1/agents/bootstrap-cert` | `http://pilot.pilot.svc:8080/api/v1/agents/bootstrap-cert` |
| `AGENT_BOOTSTRAP_TOKEN` | The bootstrap token | |

The bootstrap URL uses `https` when Pilot serves TLS itself (`SERVER_TLS_ENABLED`).

The chart’s install notes print these values (`helm get notes pilot -n pilot`). Run the agents as sidecars in the broker pods, as under [Kubernetes](https://docs.calinora.io/features/agents/#kubernetes), with a copy of the token Secret in the brokers’ namespace, or on the broker hosts, as under [VM / Bare Metal](https://docs.calinora.io/features/agents/#vm--bare-metal). In HA mode, agents connect to the active replica; see [Pilot Agents in HA](https://docs.calinora.io/deployment/high-availability/#pilot-agents).

## Upgrade

Upgrade with the same values file:

```bash
helm upgrade pilot oci://registry-1.docker.io/calinora/pilot-chart --version 0.29.0 -n pilot -f values.yaml
```

Do not use `--reuse-values`: it keeps the old chart’s defaults, so a value that a newer chart adds is missing and the chart’s schema refuses the upgrade. Without the values file, `--reset-then-reuse-values` (Helm 3.14 or later, or Helm 4) applies the last release’s values on top of the new chart’s defaults.

A rotated Secret needs a restart; see [Secrets](https://docs.calinora.io/deployment/helm/#secrets).

In HA mode, test a new Pilot version before you run `helm upgrade`; follow [Kubernetes and OpenShift maintenance](https://docs.calinora.io/deployment/high-availability/#kubernetes-and-openshift-maintenance). Read [Rollback](https://docs.calinora.io/deployment/high-availability/#rollback) before you go back to an older version, also with `helm rollback`.

In HA mode, `helm upgrade --wait` returns a few seconds before the new active replica answers. A script that continues after the upgrade should poll `/api/v1/health` through the Service, which needs no sign-in, or wait until `GET /api/v1/ha` reports `role` `active`.

## Uninstall

Standalone:

```bash
helm uninstall pilot -n pilot
```

In HA mode, stop every replica first, so that the active pod does not lose its RBAC while it shuts down. Repeat the second command until it lists no pod:

```bash
kubectl -n pilot scale deployment/pilot --replicas=0
kubectl -n pilot get pods -l app.kubernetes.io/name=pilot
helm uninstall pilot -n pilot
```

Pilot’s topics stay in Kafka. In HA mode, the kept objects and any [throttle leftovers](https://docs.calinora.io/deployment/high-availability/#leftovers) stay as well, and with `ha.rbac.create: false` the administrator’s Role and RoleBinding.

## Change the Mode

From standalone to HA:

1. Check that `__pilot_broker_state`, `__pilot_pat_tokens` and the audit topic (`AUDIT_TOPIC`, default `__pilot_audit_log`) each have one partition, replication factor 3 or more and `min.insync.replicas` 2 or more, and that the first two have `cleanup.policy=compact`. HA refuses them otherwise. Standalone Pilot creates all three with the cluster’s default replication factor and no `min.insync.replicas` of its own.
2. Uninstall the standalone release. No standalone Pilot may keep running against this cluster.
3. Install with `ha.enabled: true` against the same Kafka cluster. HA keeps using the existing `__pilot_broker_state`, `__pilot_pat_tokens` (with PATs on) and audit topics.

`__pilot_conditions`, the topic of the [cluster conditions](https://docs.calinora.io/features/conditions/#history-topic), needs no check: HA uses the standalone topic as it is, without these requirements, and creates it when it is missing; see [Conditions topic](https://docs.calinora.io/deployment/high-availability/#conditions-topic).

From HA to standalone:

1. [Back up the binding](https://docs.calinora.io/deployment/high-availability/#back-up-the-binding).
2. Uninstall as under [Uninstall](https://docs.calinora.io/deployment/helm/#uninstall).
3. Delete the four kept objects. Otherwise the new release reuses the old Service, which still routes to a stopped pod. With `ha.rbac.create: false`, have the administrator delete the Role and RoleBinding as well.
4. Install without `ha.enabled`.

## Values reference

A Secret reference is a map of `secretName` and `key`, or of `secretName`, `certKey` and `keyKey` for a certificate and its private key, naming a Secret that exists before the install. An empty `secretName` leaves the setting out. A ConfigMap reference has `configMapName` and `key`. A Probe is a map of the Kubernetes probe fields `initialDelaySeconds`, `periodSeconds`, `timeoutSeconds`, `failureThreshold` and `successThreshold`. Unset values have no default in `values.yaml`; the schema accepts them.

### Image and names

| Value | Type | Default | Description |
| - | - | - | - |
| `fullnameOverride` | string | `""` | Name of the Deployment, the standalone Service and the other objects. Empty uses the release name if it contains `pilot`, else `<release>-pilot` |
| `image.repository` | string | `calinora/pilot` | Image repository |
| `image.tag` | string | `""` | Image tag. Empty uses the chart’s app version |
| `image.digest` | string | `""` | A `sha256:` digest that pins the image; the tag is then ignored |
| `image.pullPolicy` | string | `IfNotPresent` | `Always`, `IfNotPresent` or `Never` |
| `imagePullSecrets` | list | `[]` | Secrets for pulling the image |

### Pilot

| Value | Type | Default | Description |
| - | - | - | - |
| `port` | integer | `8080` | HTTP port of the UI, the API and the MCP endpoint (`PORT`). HA refuses 8081, its private probe port. Fixed after the first HA install |
| `logLevel` | string | `INFO` | `LOG_LEVEL`: `DEBUG`, `INFO` or `WARN` |
| `metadataUpdateIntervalSeconds` | integer | `10` | Metadata refresh interval in seconds (`METADATA_UPDATE_INTERVAL`). HA allows at most 20 |
| `audit.enabled` | boolean | `true` | Writes every change to the audit log topic (`AUDIT_ENABLED`). HA requires it |
| `license.secret` | Secret reference | `key: license` | The license (`LICENSE_STRING`). Without one, monitoring and proposals stay free |
| `config` | map | `{}` | Further non-secret settings as environment variables; see [Other settings](https://docs.calinora.io/deployment/helm/#other-settings) |

### Kafka

The `kafka.sasl` values apply with `SASL_PLAINTEXT` and `SASL_SSL`, the `kafka.tls` values with `SSL` and `SASL_SSL`. Under `SASL_PLAINTEXT` with `OAUTHBEARER`, `kafka.tls.ca` and `kafka.tls.insecureSkipVerify` apply to the HTTPS token endpoint.

| Value | Type | Default | Description |
| - | - | - | - |
| `kafka.bootstrapServers` | string | `""` | Required. Comma-separated `host:port` list (`KAFKA_BOOTSTRAP_SERVERS`) |
| `kafka.securityProtocol` | string | `PLAINTEXT` | `PLAINTEXT`, `SSL`, `SASL_PLAINTEXT` or `SASL_SSL` |
| `kafka.sasl.mechanism` | string | `PLAIN` | `PLAIN`, `SCRAM-SHA-256`, `SCRAM-SHA-512`, `GSSAPI` or `OAUTHBEARER` |
| `kafka.sasl.username` | string | `""` | User for PLAIN and SCRAM |
| `kafka.sasl.password` | Secret reference | `key: password` | Password for PLAIN and SCRAM |
| `kafka.sasl.kerberos.realm` | string | `""` | GSSAPI: Kerberos realm |
| `kafka.sasl.kerberos.serviceName` | string | `kafka` | GSSAPI: Kafka’s Kerberos service name |
| `kafka.sasl.kerberos.username` | string | `""` | GSSAPI: Kerberos principal |
| `kafka.sasl.kerberos.krb5Conf` | ConfigMap reference | `key: krb5.conf` | GSSAPI: `krb5.conf`, required with GSSAPI |
| `kafka.sasl.kerberos.keytab` | Secret reference | `key: krb5.keytab` | GSSAPI: the keytab. GSSAPI needs a keytab or a password |
| `kafka.sasl.kerberos.password` | Secret reference | `key: password` | GSSAPI: the password, instead of a keytab |
| `kafka.sasl.oauth.tokenEndpointUrl` | string | `""` | OAUTHBEARER: token endpoint of the client credentials flow |
| `kafka.sasl.oauth.clientId` | string | `""` | OAUTHBEARER: client ID |
| `kafka.sasl.oauth.clientSecret` | Secret reference | `key: client-secret` | OAUTHBEARER: client secret |
| `kafka.sasl.oauth.scope` | string | `""` | OAUTHBEARER: scope |
| `kafka.sasl.oauth.extensions` | string | `""` | OAUTHBEARER: SASL extensions, `key=value` pairs separated by commas |
| `kafka.tls.ca` | Secret reference | `key: ca.crt` | CA that signed the broker certificates. Empty uses the image’s system CAs |
| `kafka.tls.clientCert` | Secret reference | `certKey: tls.crt`, `keyKey: tls.key` | Client certificate and key for mutual TLS |
| `kafka.tls.keyPassword` | Secret reference | `key: password` | Password of an encrypted client key |
| `kafka.tls.insecureSkipVerify` | boolean | `false` | Skips certificate verification. For tests only |

### Sign-in

`<name>` is `entraid`, `google`, `github` or `oidc`, and a provider’s values set `AUTH_<NAME>_*`; see [Authentication](https://docs.calinora.io/configuration/authentication/). Without an enabled provider, Pilot runs without sign-in.

| Value | Type | Default | Description |
| - | - | - | - |
| `auth.cookieSecret` | Secret reference | `key: cookie-secret` | Signs session cookies (`AUTH_COOKIE_SECRET`, at least 32 bytes). HA needs it with any provider |
| `auth.providers.<name>.enabled` | boolean | `false` | Turns the provider on |
| `auth.providers.<name>.name` | string | `""` | Display name on the sign-in page |
| `auth.providers.<name>.clientId` | string | `""` | OAuth client ID |
| `auth.providers.<name>.clientSecret` | Secret reference | `key: client-secret` | OAuth client secret |
| `auth.providers.entraid.tenant` | string | `""` | Entra ID tenant ID; Pilot derives the endpoints from it |
| `auth.providers.<name>.issuer` | string | `""` | OIDC issuer URL |
| `auth.providers.<name>.authUrl`, `auth.providers.<name>.tokenUrl`, `auth.providers.<name>.apiUrl` | string | `""` | Authorization, token and user info endpoints |
| `auth.providers.<name>.scopes` | string | `""` | Scopes, comma- or space-separated. Empty uses `openid email profile` |
| `auth.providers.<name>.allowedGroups` | string | `""` | Groups allowed to sign in, comma-separated |
| `auth.providers.<name>.allowedDomains` | string | `""` | Email domains allowed to sign in, comma-separated |
| `auth.providers.<name>.allowedOrganizations` | string | `""` | Organizations allowed to sign in, comma-separated |
| `auth.pat.enabled` | boolean | `false` | Personal access tokens for MCP clients and automation (`AUTH_PAT_ENABLED`). They need an enabled provider. Fixed after the first HA install |
| `auth.pat.hashSecret` | Secret reference | `key: hash-secret` | Secret for hashing PATs (`AUTH_PAT_HASH_SECRET`, at least 32 bytes). Required for PATs. Rotating it revokes every PAT |

### Pilot Agents

| Value | Type | Default | Description |
| - | - | - | - |
| `agent.enabled` | boolean | `false` | Turns the Pilot Agent server on (`PILOT_AGENT_ENABLED`); see [Pilot Agents](https://docs.calinora.io/deployment/helm/#pilot-agents) |
| `agent.grpcPort` | integer | `9190` | gRPC port for agents (`PILOT_AGENT_GRPC_PORT`). Differs from `port`, and in HA from 8081. Fixed after the first HA install |
| `agent.insecure` | boolean | `false` | Plain gRPC without TLS. Standalone only, for tests |
| `agent.bootstrapToken` | Secret reference | `key: bootstrap-token` | Token agents present for their first certificate. Required with agents on |
| `agent.ca` | Secret reference | `certKey: ca.crt`, `keyKey: ca.key` | CA that signs and verifies agent certificates. Required in HA with agents on |
| `agent.autoTls.existingClaim` | string | `""` | Standalone without `agent.ca`: a PersistentVolumeClaim that keeps Pilot’s own CA, mounted at `/data/agent-certs` |
| `agent.autoTls.fsGroup` | integer or null | `null` | Pod `fsGroup` so the claim is writable. Use `65532` on plain Kubernetes; leave null on OpenShift. Standalone only |
| `agent.tlsSans` | list | `[]` | Extra names in the agent server certificate, for agents that dial another name |
| `agent.binaryCache.sizeLimit` | string or integer | `256Mi` | Size of the agent binary cache volume |
| `agent.clusterDomain` | string | `cluster.local` | Cluster DNS domain for the Service names in the agent certificate. Standalone only |

### Exposure

| Value | Type | Default | Description |
| - | - | - | - |
| `service.type` | string | `ClusterIP` | Standalone: `ClusterIP`, `NodePort` or `LoadBalancer`. HA: `ClusterIP` only |
| `service.annotations` | map | `{}` | Service annotations; in HA on the kept Service |
| `ingress.enabled` | boolean | `false` | Renders an Ingress to the `http` port |
| `ingress.className` | string | `""` | IngressClass name |
| `ingress.annotations` | map | `{}` | Ingress annotations |
| `ingress.hosts` | list | `[]` | Hosts with their `paths` |
| `ingress.tls` | list | `[]` | TLS entries, each with a `secretName` and its `hosts` |
| `route.enabled` | boolean | `false` | Renders an OpenShift Route to the `http` port |
| `route.host` | string | `""` | Route host. Empty lets the router choose one |
| `route.annotations` | map | `haproxy.router.openshift.io/timeout: 1h`, `haproxy.router.openshift.io/disable_cookies: "true"` | Route annotations. The defaults keep long-lived streams open |
| `route.tls.termination` | string | `edge` | `edge`, `reencrypt` or `passthrough`. When Pilot serves TLS itself, use `reencrypt` or `passthrough`. `route.tls: null` gives a plain-HTTP Route |
| `route.tls.insecureEdgeTerminationPolicy` | string | `Redirect` | `Allow`, `Redirect`, `None` or empty |
| `route.tls.certificate`, `route.tls.caCertificate` | string | Unset | Certificate and CA certificate in PEM |
| `route.tls.destinationCACertificate` | string | Unset | CA certificate of the backend in PEM, for `reencrypt` |
| `route.tls.externalCertificate.name` | string | Unset | Secret with the certificate and private key. A private key never goes inline |
| `networkPolicy.enabled` | boolean | `false` | Renders a NetworkPolicy for the Pilot pods |
| `networkPolicy.httpFrom` | list | `[]` | Peers allowed to reach the `http` port. Empty allows any source |
| `networkPolicy.grpcFrom` | list | `[]` | Peers allowed to reach the `grpc` port with agents on. Empty allows any source |
| `networkPolicy.egress` | list | `[]` | Egress rules. Non-empty allows only these, so include Kafka, DNS, the sign-in providers and, in HA, the Kubernetes API |

### Pod

| Value | Type | Default | Description |
| - | - | - | - |
| `serviceAccount.create` | boolean | `true` | Creates the ServiceAccount |
| `serviceAccount.name` | string | `""` | ServiceAccount name. Empty uses the fullname with `create`, else `default`. HA with `create: false` needs a name |
| `serviceAccount.annotations` | map | `{}` | ServiceAccount annotations |
| `resources.requests` | map | `cpu: 500m`, `memory: 512Mi` | Container requests |
| `resources.limits.cpu` | string | `"2"` | CPU limit |
| `resources.limits.memory` | string or integer | `2Gi` | Required. Pilot sets its Go memory limit to 90% of it; see [Resource Sizing](https://docs.calinora.io/deployment/sizing/) |
| `terminationGracePeriodSeconds` | integer or null | `null` | Null uses 180 seconds standalone and 60 in HA |
| `podAnnotations` | map | `{}` | Extra pod annotations. `checksum/config` is reserved |
| `podLabels` | map | `{}` | Extra pod labels. The selector labels and `pilot.calinora.io/lease-name` are reserved |
| `nodeSelector` | map | `{}` | Node selector |
| `tolerations` | list | `[]` | Tolerations |
| `affinity` | map | `{}` | Affinity |
| `topologySpreadConstraints` | list | `[]` | Standalone only; HA uses `ha.topologySpread` |
| `priorityClassName` | string | `""` | PriorityClass of the pods |
| `extraEnv` | list | `[]` | Extra env entries, after the chart’s own; see [Other settings](https://docs.calinora.io/deployment/helm/#other-settings) |
| `extraEnvFrom` | list | `[]` | Extra `envFrom` sources, after the config ConfigMap; later sources win. The chart checks none of their variables |
| `extraVolumes`, `extraVolumeMounts` | list | `[]` | Extra volumes, and their mounts in the Pilot container |
| `extraContainers`, `initContainers` | list | `[]` | Extra containers and init containers |
| `extraManifests` | list | `[]` | Further objects installed with the release; see [Extra manifests](https://docs.calinora.io/deployment/helm/#extra-manifests) |

### Probes

| Value | Type | Default | Description |
| - | - | - | - |
| `probes.standalone.scheme` | string | `HTTP` | `HTTP`, or `HTTPS` when Pilot serves TLS itself (`SERVER_TLS_ENABLED`); the chart refuses HTTP then |
| `probes.standalone.liveness` | Probe | `initialDelaySeconds: 5`, `periodSeconds: 10`, `timeoutSeconds: 5`, `failureThreshold: 6` | Liveness probe on `/api/v1/health` |
| `probes.standalone.readiness` | Probe | `initialDelaySeconds: 10`, `periodSeconds: 10`, `timeoutSeconds: 5`, `failureThreshold: 3` | Readiness probe on `/api/v1/health` |
| `probes.ha.liveness` | Probe | `periodSeconds: 5`, `timeoutSeconds: 1`, `failureThreshold: 3` | Liveness probe on `/livez` of the private port 8081 |
| `probes.ha.readiness` | Probe | `periodSeconds: 2`, `timeoutSeconds: 1`, `failureThreshold: 1` | Readiness probe on `/readyz` of the private port 8081 |

### High Availability values

| Value | Type | Default | Description |
| - | - | - | - |
| `ha.enabled` | boolean | `false` | Runs Pilot in HA mode; see [High Availability](https://docs.calinora.io/deployment/helm/#high-availability) |
| `ha.replicas` | integer | `3` | Replicas, one of them active. At least 2 |
| `ha.ipFamily` | string | `IPv4` | Address family of the pod IPs: `IPv4` or `IPv6`. Fixed after the first install |
| `ha.names.binding` | string | `pilot-ha-binding` | Binding ConfigMap. The `ha.names` are fixed after the first install |
| `ha.names.lease` | string | `pilot-ha` | Lease, also the pods’ `pilot.calinora.io/lease-name` label, so at most 63 characters |
| `ha.names.service` | string | `pilot` | Service that clients and agents connect to |
| `ha.names.endpointSlice` | string | `pilot-active` | EndpointSlice that routes to the active replica |
| `ha.keptObjectAnnotations` | map | `{}` | Extra annotations on the four [kept objects](https://docs.calinora.io/deployment/helm/#kept-objects) |
| `ha.adoptOperationsTopic` | string | `""` | Operations topic ID of an earlier installation whose history this one continues |
| `ha.maxRequestPartitions` | integer or null | `null` | Most partitions in one Kafka request of an HA operation (`PILOT_HA_MAX_REQUEST_PARTITIONS`, 1 to 10000); larger operations go out in several requests. Null uses Pilot’s default, 1000 |
| `ha.rbac.create` | boolean | `true` | Renders the runtime Role and its RoleBinding. False leaves both to a cluster administrator; see [Kubernetes RBAC](https://docs.calinora.io/deployment/high-availability/#kubernetes-rbac) |
| `ha.rbac.enrollmentFinished` | boolean | `false` | After the first start has enrolled the installation, true removes the update permission on the binding ConfigMap and the Service. Set it back to false before a reinstall. Requires `ha.rbac.create: true` |
| `ha.strategy.maxSurge` | integer or string | `1` | Pods the rolling update adds above `ha.replicas` |
| `ha.strategy.maxUnavailable` | integer or string | `0` | Pods the rolling update may take down |
| `ha.topologySpread.maxSkew` | integer | `1` | Largest difference in Pilot pods between two domains. The `ha.topologySpread` values form the pods’ one topology spread constraint; the chart adds the label selector |
| `ha.topologySpread.minDomains` | integer | `3` | Minimum number of domains (nodes, by default) to spread over. With fewer, the extra pods stay Pending |
| `ha.topologySpread.topologyKey` | string | `kubernetes.io/hostname` | Node label of a domain |
| `ha.topologySpread.whenUnsatisfiable` | string | `DoNotSchedule` | `DoNotSchedule` or `ScheduleAnyway` |
| `ha.topologySpread.matchLabelKeys` | list | `[pod-template-hash]` | Pod labels whose values split the spread, so a rollout’s new pods spread on their own |
| `ha.topologySpread.nodeAffinityPolicy`, `ha.topologySpread.nodeTaintsPolicy` | string | Unset | `Honor` or `Ignore` |
| `ha.pdb.maxUnavailable` | integer or string | `1` | Pods the PodDisruptionBudget lets an eviction take down |
| `ha.pdb.unhealthyPodEvictionPolicy` | string or null | `AlwaysAllow` | `IfHealthyBudget` or `AlwaysAllow`. Null leaves the field out, which means `IfHealthyBudget` |
