Skip to main content

Deploy Frontend

Deploy the frontend and admin web applications.
1

Deploy Frontend and Admin

Deploy both frontend and admin applications.
cd ~/online-beratung/caritas-workspace/ORISO-Kubernetes

# Deploy frontend
kubectl apply -f deployments/05-frontend.yaml

# Wait for frontend
kubectl wait --for=condition=ready pod -l tier=frontend -n caritas --timeout=300s

# Check status
kubectl get pods -n caritas | grep -E "frontend|admin"
You should see both pods running:
  • frontend-xxx 1/1 Running
  • admin-xxx 1/1 Running
2

Verify Frontend Access

Verify frontend and admin are accessible.
# Check Frontend (should return HTML)
curl -I http://127.0.0.1:9001
# Expected: HTTP/1.1 200 OK

# Check Admin (should return HTML)
curl -I http://127.0.0.1:9002
# Expected: HTTP/1.1 200 OK

# Access in browser
SERVER_IP=$(hostname -I | awk '{print $1}')
echo "Frontend: http://$SERVER_IP:9001"
echo "Admin: http://$SERVER_IP:9002"
Both endpoints should return HTTP 200 OK status.

Next Steps