Kubernetes · Web Applications
Kubernetes Microservices
Ingress and Services routing to frontend and API Deployments inside a namespace. This diagram is written in ArchLex and passes Kubernetes provider checks.
Diagram and source
provider k8s
direction LR
validation normal
cluster production {
namespace web {
gateway: ingress
frontend_service: service
frontend: deployment
api_service: service
api: deployment
gateway -[routes]-> frontend_service
frontend_service -[targets]-> frontend
frontend -[invokes]-> api_service
api_service -[targets]-> api
}
}What is in this diagram.
Resources
- gateway Ingress
- frontend_service Service
- frontend Deployment
- api_service Service
- api Deployment
Relationships
- gateway routes frontend_service
- frontend_service targets frontend
- frontend invokes api_service
- api_service targets api
Boundaries
- cluster production
- namespace web
Render it yourself.
Save the source as k8s-microservices.arch and render it with the CLI, or ask your agent to adapt it through the ArchLex MCP server.
npx @archlex/cli render k8s-microservices.arch --output k8s-microservices.svgRelated examples.
- Classic 3-Tier Web ArchitectureApplication Load Balancer distributing to ECS container tasks connected to RDS
- Containerized App with In-Memory CacheALB distributing traffic to ECS microservices cached by ElastiCache and backed by RDS
- Kubernetes Stateful ApplicationService exposing a StatefulSet backed by a PersistentVolumeClaim and PersistentVolume
- Kubernetes Scheduled Batch ProcessingCronJob loading runtime settings from a ConfigMap and credentials from a Secret