How to Deploy an Express App on Kubernetes (Deployment, Service, Ingress, and Probes)
To deploy an Express app on Kubernetes, build and push a Docker image, then run kubectl apply -f with a Deployment (replicas, resource limits, readiness and liveness probes on /health), a ClusterIP Service on port 80 → 3000, and an Ingress that routes your domain to that Service. This guide covers the Dockerfile, registry pull secrets, ConfigMaps and Secrets, rolling updates, kubectl rollout undo, graceful shutdown with preStop, and troubleshooting.
greencrew