Kubernetes web app with HPA
Standard web workload: Ingress → ClusterIP Service → Deployment with HorizontalPodAutoscaler, ConfigMap, and Secret.
The prompt
Kubernetes web application architecture. NGINX Ingress Controller behind a cloud Load Balancer. Ingress routes by hostname to a ClusterIP Service. Service backs a Deployment of 3 web pods with a HorizontalPodAutoscaler scaling between 3 and 20 replicas based on 70% CPU. Pods read configuration from a ConfigMap and database credentials from a Secret. Pods talk to a managed Postgres outside the cluster via a private endpoint. cert-manager provisions TLS certificates. Show the cluster boundary, the namespace, and the request path from user to pod.
What it generates
A standard Kubernetes web app diagram showing ingress, autoscaling, configuration, and external dependencies.
When to use it
For most production web apps deployed to Kubernetes — the baseline before adding service mesh, GitOps, or multi-cluster complexity.
Generate this diagram in seconds
Copy the prompt above, sign in for free, and paste it into the generator.
Related kubernetes templates
Kubernetes with Istio service mesh
Istio control plane, sidecar-injected microservices, mTLS, ingress and egress gateways, and observability stack.
Kubernetes GitOps with Argo CD
GitOps workflow with developer commits, Argo CD sync, Image Updater, and three environments (dev/staging/prod).
Kubernetes stateful PostgreSQL
PostgreSQL StatefulSet with PVCs, headless service, replication, automated backups, and read/write split.