The following store types are available when deploying a Universal control plane:
|
store.type
|
Use case
|
postgres
|
Production. The only store that survives a restart and supports more than one control plane instance.
|
memory
|
A single instance, for trying things out. Everything is lost when the process stops.
|
kubernetes
|
Only for a zone control plane running inside a cluster. Not valid for mode: global.
|
Configure PostgreSQL under store.postgres, or through the matching environment variables:
store:
type: postgres
postgres:
host: postgres.internal
port: 5432
user: kuma
dbName: kuma
tls:
mode: verifyCa
caPath: /etc/kuma/postgres-ca.pem
verifyCa and verifyFull need caPath; without it, startup fails with CAPath cannot be
empty.
Every field has a KUMA_STORE_POSTGRES_* equivalent: KUMA_STORE_POSTGRES_HOST,
_PORT, _USER, _PASSWORD, _DB_NAME. Provide the password with
KUMA_STORE_POSTGRES_PASSWORD. The config file doesn’t expand environment variables, so a
value like ${POSTGRES_PASSWORD} is used literally.