Kubernetes

Deploy Authority on Kubernetes for scalable, production-ready authentication.

Prerequisites

  • Kubernetes cluster (1.24+)

  • kubectl configured

  • Helm 3 (optional)

Quick Start with Manifests

1. Create Namespace

# namespace.yaml
apiVersion: v1
kind: Namespace
metadata:
  name: authority
kubectl apply -f namespace.yaml

2. Create Secrets

# Generate secret key
kubectl create secret generic authority-secrets \
  --namespace authority \
  --from-literal=secret-key=$(openssl rand -hex 32) \
  --from-literal=db-password=$(openssl rand -hex 16)

3. Deploy PostgreSQL

4. Deploy Authority

5. Configure Ingress

6. Apply All Manifests

Helm Chart

Add Repository

Install

Custom Values

Create values.yaml:

Install with values:

High Availability

Database

Use a managed PostgreSQL service (RDS, Cloud SQL) or deploy a PostgreSQL cluster:

Redis for Sessions

Pod Disruption Budget

Monitoring

ServiceMonitor (Prometheus)

Logs

View logs:

Troubleshooting

Check Pod Status

Database Connection Issues

View Events

Next Steps

Last updated

Was this helpful?