Kubernetes Deployment

K8s Architecture

OpenRun | 05
Kubernetes Cluster

API Traffic
Postgres DB
External Metadata
Container Registry
External Image Store
OpenRun API Server
Deployment + Service
Controller
App1
Deployment + SVC
App2
Deployment + SVC
Routes via ClusterIP

Architecture Details

OpenRun runs within your K8s cluster, managing app lifecycles.

Core Components

OpenRun installs as a standard Deployment with a Service. It connects to an external Postgres for state and a Registry for images (recommended for production).

Traffic Routing

API calls hit the OpenRun Server, which routes to specific apps via their ClusterIP Services. No complex Ingress configuration required for individual apps.

Lazy Creation & SSA

Resources are created lazily on first request. Updates use Kubernetes Server Side Apply (SSA) for robust reconciliation of Deployments and Services.