AlmaForge Cluster on Kubernetes
This guide builds a production high-availability deployment of
AlmaForge on Kubernetes. Three replicas of one almad StatefulSet
run Auth and Proxy in the same process behind one external
LoadBalancer Service on TCP/443. cert-manager issues the public
TLS leaf and trust-manager distributes the cluster CA. The first
administrator signs in through your existing SSO provider.
This guide builds the AlmaForge cluster control plane (almaforge chart). To connect workload Kubernetes clusters to an existing control plane, see the Kubernetes Access Guide (almaforge-agent chart).
Try AlmaForge with the Quick Start demo.
Topology
One almad StatefulSet with three replicas sits behind an
external LoadBalancer Service on TCP/443. Each replica runs both Auth and
Proxy in a single process with a PodDisruptionBudget (maxUnavailable: 1).
Pod anti-affinity or topologySpreadConstraints can be enabled across availability zones. The
LoadBalancer forwards TCP/443 directly to port 8443 without decrypting,
terminating TLS end-to-end on the pod.
Provision prerequisites
Review System Requirements first. Before installing AlmaForge, verify the cluster prerequisites below.
Kubernetes cluster
Run on Kubernetes 1.27+ (amd64 or arm64) with kubectl, a default
StorageClass, and a LoadBalancer controller that forwards TCP/443 without
terminating TLS (built in on EKS, GKE, AKS, or MetalLB on
bare metal). Each almad pod needs roughly 1 vCPU and 1 GiB memory to
start, scaling with concurrent sessions and registered targets (see
Scaling):
kubectl version --clientkubectl get storageclassHelm
Install Helm 3.12+ on your workstation:
helm version --shortDNS
Ensure you can create DNS records for your cluster hostname
([your-almaforge-host]) and wildcard subdomain (*.[your-almaforge-host] for
published web applications) in your DNS provider (e.g. AWS Route53, Cloudflare,
Google Cloud DNS, or Azure DNS). Both client access and TLS certificate issuance
depend on these records.
cert-manager (optional, highly recommended)
cert-manager is optional but highly recommended to automatically issue and
renew public TLS certificates. Install cert-manager following the
cert-manager installation documentation
or with Helm:
helm repo add jetstack https://charts.jetstack.iohelm repo update jetstackhelm upgrade --install cert-manager jetstack/cert-manager \ --namespace cert-manager --create-namespace \ --set crds.enabled=trueConfigure a ClusterIssuer for Let's Encrypt using a
DNS-01 challenge solver
with your DNS provider so it can issue wildcard certificates for
*.[your-almaforge-host], or configure an issuer with your custom enterprise CA.
Verify your issuer is ready:
kubectl get clusterissuerNAME READY AGEletsencrypt-prod True 14dConfirm your issuer reports READY=True (for example letsencrypt-prod), and
use that exact name in integrations.certManager.external.issuerName below.
If you cannot install cert-manager (for example, if you do not have cluster
permissions to install CRDs or prefer managing certificates manually), see
Enterprise TLS without cert-manager to
supply your own TLS Secret.
External storage (optional, required for production)
The chart bundles in-cluster storage by default (a 3-member etcd StatefulSet
for state and a local S3 service on a PersistentVolume for recordings). While
suitable for evaluation and smaller environments, production deployments should
use external managed storage backends:
- External state storage. Holds cluster state (roles, tokens, and target
registrations). Production environments use AWS DynamoDB, GCP Cloud
Firestore, Azure Database for PostgreSQL, or external
etcd. The Helm chart includes a bundled 3-memberetcdcluster so you can deploy immediately without external cloud storage. - External audit storage. Stores structured security and audit logs.
Supported production backends include S3, PostgreSQL, DynamoDB, Firestore,
and Athena. By default, events stream as structured JSON to
stderrfor cluster log collectors, so you can start immediately and connect an external database later. - External recording storage. Stores interactive session recordings for
SSH, Kubernetes, database, and web access in object storage (AWS S3,
Google Cloud Storage, or Azure Blob). The chart includes a bundled S3
shim (powered by Versity Gateway) on a
PersistentVolumeso you can evaluate immediately and migrate to cloud object storage later.
See the Storage Guide for cloud IAM setup, schema definitions, and backend selection.
Install AlmaForge
Step 1. Install with Helm
Add the AlmaForge chart repository and install the cluster. Replace
[your-almaforge-host] with your domain and [cluster-issuer-name] with the
exact NAME from kubectl get clusterissuer above (add
--version [release-version] to pin a release):
helm repo add almaforge https://get.almaforge.com/helmhelm repo update almaforgehelm upgrade --install almaforge almaforge/almaforge \ --namespace almaforge --create-namespace \ --set env.ALMA_ADVERTISE=[your-almaforge-host:443] \ --set integrations.certManager.external.issuerName=[cluster-issuer-name] \ --set integrations.etcd.enabled=true \ --set integrations.s3shim.enabled=true \ --wait --timeout 10mKey configuration values:
env.ALMA_ADVERTISE: Set to the public hostname and port AlmaForge will run on (for examplealmaforge.example.com:443). Requires a matching wildcard DNS record (*.almaforge.example.com), see DNS.integrations.certManager.external.issuerName=[cluster-issuer-name]: Name of thecert-managerClusterIssuer(orIssuer) used to create certificates for the domain set inenv.ALMA_ADVERTISE. If supplying your own certificates instead ofcert-manager, pass--set tls.secretName=almaforge-tlsinstead ofintegrations.certManager.external.issuerName(see Enterprise TLS without cert-manager).integrations.etcd.enabled=true: Enables the bundled 3-memberetcdStatefulSet for cluster state. To use your own cloud database instead (AWS DynamoDB, GCP Cloud Firestore, Azure Database for PostgreSQL, or externaletcd), see External storage backends.integrations.s3shim.enabled=true: Enables the bundled in-cluster S3-compatible service backed by aPersistentVolumefor session recordings. To stream recordings to AWS S3, Google Cloud Storage, or Azure Blob instead, see External storage backends.
See the Helm values reference for all supported configuration options.
Verify that the AlmaForge server pods are Running and that the
LoadBalancer Service has an EXTERNAL-IP (not <pending>):
kubectl -n almaforge get pods -l app.kubernetes.io/component=serverNAME READY STATUS RESTARTS AGEalmaforge-0 1/1 Running 0 1malmaforge-1 1/1 Running 0 1malmaforge-2 1/1 Running 0 1mkubectl -n almaforge get service almaforgeNAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGEalmaforge LoadBalancer 10.96.81.3 203.0.113.10 443:30289/TCP 1mStep 2. Configure DNS
Print the LoadBalancer address (or see
External DNS operator if your
cluster runs external-dns):
kubectl -n almaforge get service almaforge -o jsonpath='{.status.loadBalancer.ingress[0].hostname}{.status.loadBalancer.ingress[0].ip}{"\n"}'Point [your-almaforge-host] and *.[your-almaforge-host] to that address in
your DNS provider, forwarding TCP/443 unchanged (A/AAAA if the command
printed an IP, or CNAME/ALIAS if it printed a hostname). Wait until DNS
resolves before continuing:
nslookup [your-almaforge-host]Step 3. Configure SSO
Choose how to configure your SSO connector. For provider-specific instructions, see SSO overview, OIDC, Okta, Google, Microsoft, GitHub, and Multi-SSO.
- Via Web UI
- Via Helm (IaC)
Generate a one-time break-glass link (see break-glass access):
kubectl -n almaforge exec -it pod/almaforge-0 -- alma login --breakglassOpen the printed URL in your browser (it opens a 5-minute breakglass admin
session), then open Access control, then SSO, and add your
connector. Typical OIDC parameters:
- Callback URL (register in your IdP app):
https://[your-almaforge-host]/api/v1/oidc/callback - Issuer URL (
issuerURL): your IdP's OpenID Connect discovery URL (for examplehttps://example.okta.com) - Client ID & Client Secret (
clientID,clientSecret): credentials from your IdP OIDC application - Scopes (
scope):openid,profile,email - Claim mapping (
claimsToRoles): maps an IdP claim (groupsoremail) to AlmaForge roles such asadminandaccess
The OIDC guide carries the connector's full field list and a worked example for each supported provider.
Manage the connector as IaC (resources in configs are file-managed and
read-only in the Web UI. Update them through Helm).
Put the IdP credentials in a Secret first. Helm keeps a --set value in
its release, where helm get values prints it in plaintext for anyone who
can read the release, so the client secret does not go through Helm.
Read the secret from a file, because a literal value reaches the command's arguments and your shell history:
kubectl -n almaforge create secret generic almaforge-oidc \ --from-literal=OIDC_CLIENT_ID=[your-client-id] \ --from-file=OIDC_CLIENT_SECRET=[path-to-secret-file]Whatever secret manager already holds the credential can write that file,
and --from-literal=OIDC_CLIENT_SECRET=... works for a quick evaluation.
The connector reads them through ${env:...} at startup, so the drop-in
itself carries no secret (see the OIDC guide):
# OIDCConnector drop-in for the AlmaForge server Helm chart.
# Pass it with --set-file 'configs.oidc\.yaml'=oidc.yaml and keep the
# client credentials in a Secret loaded through envFrom, so ${env:...}
# resolves at startup and the secret stays out of Helm release history.
apiVersion: almaforge.com/v1
kind: OIDCConnector
metadata:
name: okta
spec:
display: Okta
issuerURL: https://[your-idp-host]
clientID: ${env:OIDC_CLIENT_ID}
clientSecret: ${env:OIDC_CLIENT_SECRET}
scope:
- openid
- profile
- email
claimsToRoles:
- claim: groups
value: platform-admins
roles:
- admin
- access
helm upgrade almaforge almaforge/almaforge \ --namespace almaforge --reuse-values \ --set-file 'configs.oidc\.yaml'=oidc.yaml \ --set 'envFrom[0].secretRef.name=almaforge-oidc' \ --wait --timeout 10mStep 4. Sign in with the CLI
Install alma on your workstation (see CLI Setup) and
sign in (on headless workstations, pass --no-browser and open the printed URL
on another device):
alma login --proxy=[your-almaforge-host]:443alma get clusteralma get oidcconnectoralma statusConnect resources
The cluster is now ready to host infrastructure access. Add agents for each kind of target:
- SSH servers: see Server Access.
- Kubernetes clusters: see Kubernetes Access.
- Applications: see Application Access.
- Databases: see Database Access.
Each agent is another almad process with the same binary and different
service flags. It joins the cluster using credentials from its own Token
resource and exposes one or more targets through the cluster Proxy layer.
For agents running in the same Kubernetes cluster as this control plane, the
in-cluster Kubernetes join method lets the agent prove its identity with its
ServiceAccount JWT through TokenReview (see
Workload Identity). No shared secret or CA pin is
required.
To define permissions, access requests, and policy as code after the control plane is running, see RBAC, Just-in-Time Access, and the Terraform provider.
Advanced
Managing configuration with values.yaml
For production deployments and GitOps workflows (ArgoCD, Flux), maintain your
chart configuration in a version-controlled values.yaml file rather than
passing individual --set flags:
helm upgrade --install almaforge almaforge/almaforge \ --namespace almaforge --create-namespace \ -f values.yaml- Inspecting options: Run
helm show values almaforge/almaforgeto inspect the full default values file, or consult the Helm values reference for descriptions of every supported parameter. - Handling secrets: Store sensitive credentials (such as IdP client secrets
or database credentials) in Kubernetes
Secretresources and reference them usingenvFromwith${env:VARIABLE}expansion so secrets stay out of Git and Helm release history (see declarative configuration). - Private registries: For air-gapped or restricted clusters, configure
image.repositoryandimagePullSecrets(see Air-gapped Deployment).
Enterprise TLS without cert-manager
The best way to manage TLS on Kubernetes is cert-manager (the chart mounts the
TLS Secret as a directory so renewals reach almad automatically).
If you still do not want to run cert-manager and prefer to supply your own
enterprise or internal CA certificates, create a kubernetes.io/tls Secret in
the target namespace first:
kubectl create namespace almaforgekubectl -n almaforge create secret tls almaforge-tls --cert=tls.crt --key=tls.keyThen install the chart with tls.secretName=almaforge-tls (or pass files
directly with --set-file tls.cert=tls.crt --set-file tls.key=tls.key):
helm upgrade --install almaforge almaforge/almaforge \ --namespace almaforge --create-namespace \ --set env.ALMA_ADVERTISE=[your-almaforge-host:443] \ --set tls.secretName=almaforge-tls \ --wait --timeout 10mExternal DNS operator
If your cluster runs the external-dns operator (configured with
--source=service), pass --set integrations.externalDns=true during Helm
install or upgrade so the chart annotates the LoadBalancer Service with
external-dns.alpha.kubernetes.io/hostname:
helm upgrade --install almaforge almaforge/almaforge \ --namespace almaforge --create-namespace \ --set env.ALMA_ADVERTISE=[your-almaforge-host:443] \ --set integrations.certManager.external.issuerName=[cluster-issuer-name] \ --set integrations.externalDns=true \ --wait --timeout 10mexternal-dns then creates and updates [your-almaforge-host] and
*.[your-almaforge-host] automatically.
OpenTelemetry export
By default, almad writes structured JSON logs (ALMA_LOG_FORMAT=json)
to stderr for cluster log collectors. It also exports metrics, logs and
traces over OTLP, configured by the standard OpenTelemetry variables, so
naming a collector endpoint in env is all the chart needs to pass through:
helm upgrade --install almaforge almaforge/almaforge \ --namespace almaforge \ --set env.ALMA_ADVERTISE=[your-almaforge-host:443] \ --set integrations.certManager.external.issuerName=[cluster-issuer-name] \ --set env.OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector.monitoring:4317 \ --set env.OTEL_EXPORTER_OTLP_PROTOCOL=grpc \ --wait --timeout 10mA signal turns on only when its endpoint is set, and the SDK reads headers,
TLS, timeouts, batching and sampling itself. See the
environment reference for every OTEL_*
variable, and Monitoring for what the signals carry.
Prometheus operator
If you run prometheus-operator, enable integrations.prometheus.serviceMonitor
to expose /metrics on :3081 via an internal ClusterIP Service and create
a ServiceMonitor (keeping the public LoadBalancer on TCP/443 only):
helm upgrade --install almaforge almaforge/almaforge \ --namespace almaforge \ --set env.ALMA_ADVERTISE=[your-almaforge-host:443] \ --set integrations.certManager.external.issuerName=[cluster-issuer-name] \ --set integrations.prometheus.serviceMonitor.enabled=true \ --wait --timeout 10mStorage backends
AlmaForge requires persistent storage for cluster state (RBAC, dynamic configs, target registrations) and session recordings (recorded interactive sessions).
Default bundled storage
The installation command in Step 1 deploys built-in storage workloads inside the cluster by default, so you can evaluate HA without provisioning external cloud databases:
| Switch | Runs | Holds |
|---|---|---|
integrations.etcd.enabled | 3-member etcd StatefulSet | Cluster state |
integrations.s3shim.enabled | One pod serving one PersistentVolume over the S3 API | Session recordings |
Traffic between server pods and these bundled backends is restricted within the
namespace by NetworkPolicy.
The S3 shim serves an S3-compatible API backed by a PersistentVolume.
almad authenticates with standard S3 signatures. Size
integrations.s3shim.persistence.size for your session recording retention:
the volume does not grow automatically, and a full volume fails recording
uploads.
Internal TLS
By default, traffic between almad and the bundled backends is isolated
to server pods by NetworkPolicy. To additionally encrypt this traffic with
mutual TLS inside the namespace, provide an internal cert-manager issuer or
existing TLS secrets:
helm upgrade --install almaforge almaforge/almaforge \ --namespace almaforge \ --set env.ALMA_ADVERTISE=[your-almaforge-host:443] \ --set integrations.certManager.external.issuerName=[cluster-issuer-name] \ --set integrations.certManager.internal.issuerName=[internal-issuer-name] \ --set integrations.certManager.internal.issuerKind=Issuer \ --wait --timeout 10mThe external and internal issuers are separate because the external issuer signs
the public hostname [your-almaforge-host], while internal certificates cover
cluster-internal .svc names. Alternatively,
integrations.etcd.tls.existingSecret and
integrations.s3shim.tls.existingSecret accept Secrets from your own PKI.
Bundled etcd fixes its peer communication protocol (http vs https) and
initial membership when bootstrapped on its persistent volumes. If your
environment requires cluster-internal mTLS or a specific replica count, set
these values on initial install. Switching peer TLS modes on an existing
etcd cluster requires snapshotting state, deleting the etcd PVCs, and
reinstalling.
External storage backends
For production cloud deployments, you can disable the bundled workloads and connect AlmaForge directly to managed cloud storage:
- State: AWS DynamoDB, GCP Cloud Firestore, Azure Database for PostgreSQL,
or an external managed
etcdcluster. - Session recordings: AWS S3, Google Cloud Storage, or Azure Blob Storage.
- Audit events: Stream to S3, PostgreSQL, DynamoDB, Firestore, or Athena.
To use external backends:
- Disable the bundled storage switches:
--set integrations.etcd.enabled=false \--set integrations.s3shim.enabled=false - Pass your
StorageConfigresource manifests underconfigs:--set-file 'configs.state\.yaml'=state.yaml \--set-file 'configs.recordings\.yaml'=recordings.yaml - On cloud Kubernetes (EKS, GKE, AKS), authenticate via IAM workload identity
attached to the
almaforgeServiceAccount(serviceAccount.annotationsfor AWS IRSA, GKE Workload Identity, or Azure Workload Identity) rather than static long-lived credentials.
See the Storage Guide, PostgreSQL, S3, and etcd.
NetworkPolicy and firewalls
The chart creates ingress NetworkPolicy objects for both almad and
bundled etcd pods while leaving pod egress unrestricted so almad
can reach external IdPs, storage backends, integrations, and the Kubernetes API.
Only TCP/443 on the external LoadBalancer needs to be reachable by clients:
| Port | Description / purpose |
|---|---|
| TCP/443 | Client-reachable on the external LoadBalancer for users, agents, automation, and alma (forwards to each almad pod on port 8443). |
| TCP/2379 | Private etcd client API used by Auth (http:// by default, or mTLS when internal TLS is enabled). Restricted by NetworkPolicy to server pods. |
| TCP/2380 | Private etcd peer replication (http:// by default, or mTLS when internal TLS is enabled). Restricted by NetworkPolicy to etcd peers. |
| TCP/7070 | Private S3 endpoint on the bundled shim (http:// on port 80 by default, or over TLS on port 443 when internal TLS is enabled). Restricted by NetworkPolicy to server pods. |
| TCP/3000 | Private diagnostics endpoint for /healthz and /readyz (chart-managed). |
| TCP/3081 | Private Prometheus metrics endpoint when integrations.prometheus.serviceMonitor.enabled or integrations.prometheus.podAnnotations is set. |
| Outbound connections | Allow backend ports, image-registry HTTPS from nodes, OIDC discovery/token endpoints, and any cert-manager issuer API. See egress requirements. |
Pod Security Standards
Every Pod the chart runs satisfies the restricted
Pod Security Standard:
it runs as UID 65532 with runAsNonRoot, a read-only root filesystem, all
capabilities dropped, no privilege escalation, and the RuntimeDefault
seccomp profile.
Nothing in the chart turns enforcement on, because a chart cannot label its own namespace. A Helm release stores its metadata inside the release namespace, so that namespace already exists before any chart resource is applied, and Helm refuses to adopt an object it did not create. Enforcement is a cluster decision, taken in one of two places:
- Per namespace, applied by whoever creates it, whether that is an operator, a platform repository, or a GitOps application that runs ahead of the release:
kubectl label namespace almaforge \ pod-security.kubernetes.io/enforce=restricted \ pod-security.kubernetes.io/enforce-version=v1.31- Cluster-wide, through a Pod Security
AdmissionConfigurationthat makesrestrictedthe default for every namespace. Nothing is then needed per release.
Pin enforce-version to a Kubernetes version rather than latest in
production. latest adopts whatever checks a cluster upgrade introduces,
which can reject a Pod that was admitted before the upgrade. Clusters that
enforce through Kyverno or Gatekeeper instead need no labels at all.
Operations
Review Upgrades, High Availability, Backups, CA Rotation, and Hardening before changing versions or scaling the cluster.
Upgrades
Back up your etcd state (or external state backend) and the server-managed
<pod-name>-state Secrets first. Leave image.tag unset so the server version
tracks the chart version, and pass your values file (or --reuse-values if
you installed with --set flags):
helm repo update almaforgehelm upgrade almaforge almaforge/almaforge --version [new-version] \ --namespace almaforge -f values.yaml --waitIf an upgrade misbehaves, roll back to the previous Helm revision:
helm -n almaforge rollback almaforge --waitBackups
Cluster state lives in bundled etcd (or your external StorageConfig state
backend), session recordings live on the bundled S3 shim's PersistentVolume
(or your recordings backend), and each replica's identity lives in its
<pod-name>-state Secret. Back up all three before upgrades or node
maintenance. See Backups.
Uninstallation
To uninstall AlmaForge from your Kubernetes cluster:
helm -n almaforge uninstall almaforgeBy default, Kubernetes StatefulSets retain PersistentVolumeClaims to prevent accidental
data loss. To permanently delete persisted cluster state (etcd), session recordings (s3shim),
and replica identity Secrets when tearing down a test cluster:
kubectl -n almaforge delete pvc -l app.kubernetes.io/name=almaforgekubectl -n almaforge delete secret almaforge-0-state almaforge-1-state almaforge-2-stateTroubleshooting
LoadBalancer Service stuck in <pending>
kubectl -n almaforge get svc almaforgeNAME TYPE EXTERNAL-IP PORT(S)almaforge LoadBalancer <pending> 443:30000/TCPThe cluster has no LoadBalancer controller. On managed cloud Kubernetes
(EKS, GKE, AKS), the controller is built in. On bare metal or kind/minikube,
install MetalLB or the equivalent first. On managed
cloud where the controller exists but the LB stays pending, check
kubectl -n almaforge describe svc almaforge for events (quota exhaustion,
missing subnet tag, or restricted service account).
almad fails to start with cannot connect to <state-backend>
Inspect etcd pod readiness and server logs:
kubectl -n almaforge get pods -l app.kubernetes.io/component=etcdkubectl -n almaforge logs almaforge-0Common causes:
- Bundled
etcdpods are stillPending(missing defaultStorageClassforetcdPVCs). - For external
etcd, the pod's client cert is not signed by the backend CA or aNetworkPolicyis blocking egress from server pods.
Pods stuck at 0/N ready or ContainerCreating
Inspect pod events, ConfigMap drop-ins, and cert-manager status:
kubectl -n almaforge describe pod almaforge-0kubectl -n almaforge describe certificate almaforge-tlskubectl -n almaforge describe configmap almaforge-configCommon causes include omitting env.ALMA_ADVERTISE when using
integrations.certManager.external.issuerName, a not-ready ClusterIssuer, or invalid
YAML in configs.
cert-manager Certificate stuck in Issuing
- Confirm the
ClusterIssueris ready (kubectl describe clusterissuer [cluster-issuer-name]) and its backing Secret exists in thecert-managernamespace. - Note that Let's Encrypt requires a DNS-01 challenge solver for wildcard
certificates (
*.[your-almaforge-host]). HTTP-01 challenge solvers cannot validate wildcards. If your environment cannot use DNS-01, supply an existing wildcard certificate viatls.secretName(see Enterprise TLS without cert-manager). - For DNS-01 challenges, DNS propagation may still be in progress with your DNS
provider.
cert-managerretries automatically.
alma fails with certificate signed by unknown authority
The workstation does not trust the CA that signed the cluster's TLS certificate. Install the CA into the OS trust store:
sudo cp ca.crt /usr/local/share/ca-certificates/almaforge-ca.crtsudo update-ca-certificatesUse update-ca-trust on Red Hat or security add-trusted-cert on macOS.
Sign-in fails with redirect_uri_mismatch
The IdP's registered redirect URI does not match
https://[your-almaforge-host]/api/v1/oidc/callback. Exact host, port
presence, and absence of a trailing slash must all match.
Listing connectors when locked out
From a host with kubectl access, inspect connectors directly inside a pod:
kubectl -n almaforge exec -it pod/almaforge-0 -- alma get oidcconnectorFor broader recovery when SSO is down, see Break-glass.
alma get cluster shows an unexpected cluster name
ClusterName is immutable once initialized from env.ALMA_ADVERTISE (or a
ClusterName resource in configs) on first startup. To change it, plan a
new-cluster cutover with the target env.ALMA_ADVERTISE set before first
startup.
Login succeeds but alma get role returns forbidden
Inspect the resolved roles on your current session:
alma statusConfirm your OIDCConnector claimsToRoles maps your IdP claim (email or
groups) to the expected role, then sign in again.
Plain YAML without Helm
To render plain Kubernetes manifests without running Helm at deploy time:
helm template almaforge almaforge/almaforge --version [release-version] \ --namespace almaforge \ --set env.ALMA_ADVERTISE=[your-almaforge-host:443] \ --set integrations.certManager.external.issuerName=[cluster-issuer-name] > almaforge.yamlBy default, bundled etcd and s3shim run without internal TLS so
helm template stays deterministic for GitOps (ArgoCD or Flux). To enable
cluster-internal TLS (etcd mTLS and s3shim TLS), either set
integrations.certManager.internal.issuerName to a cert-manager Issuer
(or ClusterIssuer) in the release namespace, or pre-create TLS Secrets
containing ca.crt, tls.crt, and tls.key
(kubectl create secret generic ... --type=kubernetes.io/tls --from-file=ca.crt=... --from-file=tls.crt=... --from-file=tls.key=...,
since kubectl create secret tls omits ca.crt) and set
integrations.etcd.tls.existingSecret / integrations.s3shim.tls.existingSecret.
References
- Declarative Configuration: full schema for
StorageConfig,OIDCConnector,Token,Role, and target kinds. - Environment Configuration: every supported
ALMA_*variable. - CLI Reference:
almaandalmadsubcommands and flags. - Storage Guide: backend selection,
etcdlayout, PostgreSQL sizing, DynamoDB IAM, audit and recording retention. - Networking Guide: load balancer reference, advertise vs listen, and wildcard DNS.
- High Availability: the architecture model this guide implements.
- CLI Setup: installing
almaon workstations and OS trust-store commands. - Backups: restore drills and capacity planning.
- Break-glass: recovery procedures when SSO is broken.
- Upgrades: rolling upgrade flow.
- Monitoring: Prometheus scrape targets and alert recipes.
- CA Rotation: cluster CA rotation procedure.
- Hardening Guide: production-grade filesystem modes, mTLS, secrets, session limits, and Web UI hardening.
- Support plans: support plans, response times, severity levels, and professional services.