Configuring the management stack
The management plane is configured through the superphenix-operator Helm values, whether it runs inside an AZ or outside an AZ. Both install procedures use the file described here.
The console, the API, Kratos, Permify, and PostgreSQL are set under management.systemConfiguration. Argo CD is set under config.argocd.
Full upstream values:
- Configure a cluster: operator values for a workload availability zone.
- Cluster toolbox: enable a shell with access to every managed cluster.
- superphenix-operator
values.yaml - superphenix-system
values.yaml
Values file
Create values.yaml and pass it to Helm from the placement guide you are following. Replace every example secret and hostname.
# Set to true only while the management cluster has no CNI yet.
# Required for Installing inside an AZ until Kube-OVN is healthy.
# Leave false when the management cluster already has a CNI.
installOnClusterWithoutCNI: false
config:
argocd:
values:
server:
ingress:
hostname: argocd.example.org # or argocd.192.168.1.10.nip.io
management:
lifecycle:
# Set true to disable autosync of every management application.
# You'll have to apply any modification through ArgoCD by yourself.
manual: false
systemConfiguration:
apps:
superphenix-console:
values:
# Public domain for the console, the API, and Kratos.
domain: console.example.org # or console.192.168.1.10.nip.io
kratos:
values:
# Random string, at least 16 characters. Set before the first sync.
globalSecret: "replace-with-a-random-string-at-least-16-characters"
postgres:
values:
auth:
# Shared by the API, Kratos, and Permify. Replace before the first sync.
password: "replace-with-a-unique-password"
persistence:
size: 8Gi
Each application is configured under apps.<name>.values.
DNS
The console domain and the ArgoCD hostname must resolve to the management cluster.
On a Superphenix AZ, Traefik listens on every node on ports 80 and 443, so DNS only needs to point at one node. For high availability, use a load balancer or DNS round-robin.
No DNS?
Use nip.io against a node address, for example console.192.168.1.10.nip.io. Use the same pattern for the ArgoCD hostname.
NAT gateway traffic to a node
Due to a macvlan limitation, traffic from a NAT gateway is blackholed when its destination is an address on the node hosting that gateway. VMs and Kubernetes as a Service clusters can therefore lose access to the console when DNS points directly at a node. Put a load balancer in front of the nodes and point DNS at the load balancer. See Limitations.
TLS certificates are generated and updated automatically if the management is installed within an AZ. If you're installing the management on a standalone cluster and wish for certificates to be auto-generated, you need to install cert-manager.
Ingress class and storage class
The console, API, Kratos, and Argo CD use the cluster's default ingress class. PostgreSQL uses the cluster's default storage class. Name a different ingress class in Changing the ingress class. The database volume is covered in Configuring Postgres storage.
Management components
The system chart deploys an application on a cluster only when that cluster's effective mode is listed in the application's modes. The management Cluster has effective mode Management. These are the applications selected for that mode.
| Application | Role | Default |
|---|---|---|
superphenix-console |
Web UI for operators and tenants | Enabled |
superphenix-api |
Backend for the console and CLI. Stores organizations, projects, and API state in PostgreSQL. Delegates authentication to Kratos and authorization to Permify | Enabled, version follows the Superphenix release |
kratos |
Ory Kratos identity, sessions, and self-service flows | Enabled |
permify |
Authorization. The API calls it for permission checks | Enabled, chart |
postgres |
Shared PostgreSQL for the API, Kratos, and Permify | Enabled, chart |
talos-operator |
Bare-metal Talos: PXE boot and machine configuration | Disabled |
idrac-exporter |
Prometheus exporter for Dell iDRAC baseboard management controllers | Disabled |
Console
apps.superphenix-console.values.domain is the public name of the console. Ingress is enabled and serves / on that host.
The full list of configuration options can be found here: Helm Reference - Values.yaml
API
The API ingress is enabled on the console domain at /api. It connects to PostgreSQL with the password from the postgres application:
- Host
postgres.<namespace>.svc, port5432 - Database, username:
superphenix
userIsActiveOnCreate defaults to true, so a self-service registration can sign in immediately. Validating users manually holds new accounts until an administrator activates them. Accessing Superphenix describes the login page.
The chart's local AZ entry (config.azs.local) points the API at an in-cluster Superphenix controller named "Local AZ". Keep it when a hyperconverged AZ runs on this cluster. Set it to null when it does not, as in Installing outside an AZ. Register any other AZ with Add an availability zone.
The full list of configuration options can be found here: Helm Reference - Values.yaml
Kratos
apps.kratos.values.globalSecret derives the default, cookie, and cipher secrets. Use a random string of at least 16 characters and set it before the first sync. Rotating it invalidates existing sessions.
Kratos stores identities and sessions in the kratos database on the same PostgreSQL instance. The DSN is rendered from apps.postgres.values.auth.password.
Defaults that matter at install time:
- Code-based login is enabled (15-minute lifespan). Account recovery is enabled. Email verification is disabled.
- Courier SMTP is required by Kratos even when you are not sending mail. The chart default is a placeholder (
smtps://dummy@example.orgon localhost). To send recovery mail, setapps.kratos.values.kratos.config.courier.smtp(connection_uri,from_address,from_name). Sending emails is the procedure. Recovery and second factors are in MFA and recovery. - The public listener is
https://<console-domain>/accounts. The ingress strips the/accountsprefix before the request reaches Kratos. - Database migrations run automatically on upgrade (
automigration.enabled: true).
Permify
Permify stores relation tuples in the permify database. The connection URI uses the same PostgreSQL user and password. The default is a single replica with distributed mode disabled. The API reaches it at permify.<namespace>.svc:3478.
PostgreSQL
One instance backs the three databases used by Superphenix components.
Override apps.postgres.values.auth.password. The chart default is a public placeholder. The same value is substituted into the API, Kratos, and Permify configuration, so it only needs to be set on the postgres application.
The volume size defaults to 8Gi and the volume uses the cluster default storage class. Configuring Postgres storage changes the size and the class.
The operator connects to this database itself when config.database.autoConnect is true (the default): it reads the postgres secret. To point the operator at another database, set config.database.host, port, user, password, and name, and set autoConnect to false.
Talos operator
Disabled by default (apps.talos-operator.enabled: false). Enable it when this management cluster should run the Talos operator for PXE boot and machine configuration. The chart turns on featureFlags.enablePxeBootStack. How an AZ is provisioned through BMC is covered in Automated OS installation.
iDRAC exporter
Disabled by default (apps.idrac-exporter.enabled: false). Enable it to scrape Dell iDRAC metrics. The chart ships empty Helm values; add the exporter's own settings under apps.idrac-exporter.values.
ArgoCD
ArgoCD is installed by the operator chart. config.argocd.values is merged into the ArgoCD Helm values. The setting you need at install time is the ingress hostname, under server.ingress.hostname, as in the example above. Changing the ingress class names the class for this route and for the console, the API, and Kratos.
config.argocd.ha.enabled: true turns on Redis HA and autoscaling for the server and repo server.
config.argocd.chart.url and config.argocd.chart.version override the ArgoCD chart location. Leave them empty to use the chart built into the operator.
After the ingress controller is serving traffic, sign in as described in Accessing Superphenix. The initial admin password is in the argocd-initial-admin-secret secret in superphenix-system.
Operator lifecycle
Set these fields in the same values file:
| Field | Effect |
|---|---|
management.lifecycle.manual |
Disables autosync of every application on the management cluster. Applications stay in place until you sync them in ArgoCD or set this back to false. |
management.lifecycle.pause |
Pauses synchronization of the management stack. |
management.lifecycle.cleanupOnDeletion |
Cascade-deletes managed resources when the management cluster object is removed. |
management.region, management.availabilityZone |
Labels stored on the management cluster. Default management. End users do not see this cluster as an AZ. |
management.version |
Superphenix version of the management stack. Empty inherits the operator chart version. Must be a semantic version. |
management.systemLocation.repoURL, management.systemLocation.chartName |
Override the system chart repository and name. The operator default is ghcr.io/super-phenix/charts and superphenix-system. There is no version field on systemLocation. |
installOnClusterWithoutCNI is an operator-chart flag, not a system-chart value. When true, the operator and ArgoCD tolerate NotReady nodes and use the host network, so they can run before a CNI exists. Installing inside an AZ sets it to true until Kube-OVN is healthy, then back to false. A management cluster that already has a CNI leaves it false.