Kubernetes · Reliability & Scaling

Kubernetes Autoscaled Resilient API

Service and Deployment protected by horizontal autoscaling and a disruption budget. This diagram is written in ArchLex and passes Kubernetes provider checks.

Diagram and source

Kubernetes Autoscaled Resilient API: Service and Deployment protected by horizontal autoscaling and a disruption budgetKubernetes Autoscaled Resilient API: Service and Deployment protected by horizontal autoscaling and a disruption budget
provider k8s
direction LR
validation normal

cluster production {
  namespace api {
    api_service: service
    api_workload: deployment
    autoscaler: horizontalpodautoscaler
    availability_budget: poddisruptionbudget

    api_service -[targets]-> api_workload
    autoscaler -[scales]-> api_workload
    availability_budget -[protects]-> api_workload
  }
}

What is in this diagram.

Resources

Relationships

Boundaries

Render it yourself.

Save the source as k8s-autoscaled-api.arch and render it with the CLI, or ask your agent to adapt it through the ArchLex MCP server.

npx @archlex/cli render k8s-autoscaled-api.arch --output k8s-autoscaled-api.svg

All examples