[Phase 1.1] Deploy Temporal server in K8s #17

Open
opened 2026-09-09 01:04:44 +00:00 by poimen · 0 comments
Member

Goal

Deploy Temporal server + dependencies in K8s so workflows can execute in-cluster.

Components

  • PostgreSQL StatefulSet (event log + visibility DB)
  • Temporal Server StatefulSet (temporalio/auto-setup:1.20.0)
  • Temporal UI Deployment (temporalio/ui:2.10.0)
  • Services: frontend (7233), UI (3000)

Note

Manifests already exist in branch feat/phase-1.1-temporal-deploy (k8s/temporal/). Need to merge and verify deployment.

Acceptance Test

# Apply manifests
kubectl apply -k k8s/temporal/

# Wait for pods
kubectl wait --for=condition=ready pod -l app=temporal-server -n temporal --timeout=300s

# Verify frontend responds
kubectl exec -n temporal deploy/temporal-ui -- curl -s http://temporal-frontend:7233

# Verify UI accessible
kubectl port-forward -n temporal svc/temporal-ui 3000:3000
curl -s http://localhost:3000 | grep -q "Temporal"

# Run test workflow against in-cluster Temporal
TEMPORAL_HOSTPORT=temporal-frontend.temporal.svc.cluster.local:7233 \
  go run cmd/starter/main.go --workflow TestWorkflow

Effort

~50 LOC (manifests exist), 1 day (deploy + verify)

## Goal Deploy Temporal server + dependencies in K8s so workflows can execute in-cluster. ## Components - PostgreSQL StatefulSet (event log + visibility DB) - Temporal Server StatefulSet (`temporalio/auto-setup:1.20.0`) - Temporal UI Deployment (`temporalio/ui:2.10.0`) - Services: frontend (7233), UI (3000) ## Note Manifests already exist in branch `feat/phase-1.1-temporal-deploy` (k8s/temporal/). Need to merge and verify deployment. ## Acceptance Test ```bash # Apply manifests kubectl apply -k k8s/temporal/ # Wait for pods kubectl wait --for=condition=ready pod -l app=temporal-server -n temporal --timeout=300s # Verify frontend responds kubectl exec -n temporal deploy/temporal-ui -- curl -s http://temporal-frontend:7233 # Verify UI accessible kubectl port-forward -n temporal svc/temporal-ui 3000:3000 curl -s http://localhost:3000 | grep -q "Temporal" # Run test workflow against in-cluster Temporal TEMPORAL_HOSTPORT=temporal-frontend.temporal.svc.cluster.local:7233 \ go run cmd/starter/main.go --workflow TestWorkflow ``` ## Effort ~50 LOC (manifests exist), 1 day (deploy + verify)
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: riotpiao-poimen/poimen-workflows#17