Platform
Isolation
What separates your tenant from every other customer's, and what is shared.
What is yours alone
| Layer | How it is separated |
|---|---|
| Keycloak | Your own Keycloak processes in your own Kubernetes namespace. No other customer's realms run in them |
| Data | Your own PostgreSQL cluster, database, credentials and storage volumes |
| Network | Every connection in your namespace is denied unless a rule allows it. Only our gateway can reach Keycloak's HTTP port, and only your Keycloak can connect to your database. Our monitoring and the database operator reach only the ports they need. Other tenants can reach neither Keycloak nor the database |
| Backups | A storage container of your own, written by an identity that only your database can use |
| Credentials | Generated for your tenant and kept as Kubernetes secrets, never in configuration files |
How the workloads are locked down
- Pod Security "restricted". Every pod in your namespace runs as a non-root user, cannot gain privileges, has all Linux capabilities dropped and uses the default seccomp profile.
- Read-only file system. Keycloak runs with a read-only root file system.
- Admission rules. Kyverno refuses any workload that would run as root, use a
latestimage tag, or start without resource requests and memory limits. - Outgoing connections closed. Keycloak can reach only its own database and its other replicas until we open a specific destination for you, such as your SMTP server (see Your first day).
What is shared
- The Kubernetes cluster and its nodes. Tenants are separated by namespace, network rules and pod security, not by separate machines.
- The entry point. In each region, one cloud load balancer and one gateway receive traffic for every tenant and route it by hostname. Each tenant has its own certificate.
- Monitoring. One monitoring system watches every tenant.
TLS ends at the gateway. From there to your Keycloak, traffic stays inside the cluster on plain HTTP, and the network rules allow only the gateway to send it.