Kubernetes deployment architecture

A UML deployment diagram of a Kubernetes cluster: load balancer, ingress, worker nodes in two zones, add-ons, a managed database and a registry.

By ArchynoCloud and infrastructureUpdated November 29, 2026Diagrams: 1Elements: 16Relationships: 14

Licensed under CC BY 4.0: reuse and change it, and credit Archyno

Created with Archyno

Use this template

It opens in the editor as an editable model. No account is needed to change and export it. A free account saves it. Keep the credit to the author.

Open and customize

When this architecture fits

Use it to agree on what runs where before anybody writes a manifest, and to explain the result to people who will never read one. It suits a product of a few services that must survive the loss of one zone. For a single service, a managed container platform needs less care than a cluster.

How to read it

A box with depth is a place where something runs. A dashed arrow shows what is deployed there. A solid line is a path that must be open in the network.

  • The load balancer ends TLS and is the only public address.
  • The ingress controller sends each host and path to a service.
  • Every workload has replicas in both zones, so one zone can fail.
  • The database is outside the cluster. Nodes come and go, and data should not.

Change these parts first

Replace the names, then check the numbers with a failure in mind.

  • Can the remaining zone carry the whole load? If not, add capacity or accept less.
  • Which paths does a network policy allow? Draw only those.
  • Where do secrets come from, and who can read them in the cluster?

Common mistakes

Two replicas on one node are one replica, so spread them over nodes and zones. A pod without resource requests is the first to be removed. A health check that tests the database restarts every pod when the database is slow. And an image tagged latest means nobody can say what is running.

What is in this model

api podArtifact
The API. Scales on CPU with an autoscaler.
api pod (replica)Artifact
The same image as in zone A.
external secretsArtifact
Copies secrets in from the cloud's secret store.
Image registryNode
Signed images, pulled on each deploy.
ingress controllerArtifact
Routes a host and path to a service.
Ingress nodeNode
Runs the ingress controller only.
Kubernetes clusterExecution environment
One cluster over two zones.
Load balancerNode
The cloud's public entry. Ends TLS.
Managed databaseNode
PostgreSQL outside the cluster, with a standby and backups.
metrics agentArtifact
Collects metrics and raises alerts.
System nodeNode
Cluster add-ons, away from the product's pods.
User deviceDevice
A browser or a phone.
web podArtifact
The web front end. Two replicas at least.
web pod (replica)Artifact
The same image as in zone A.
Worker node, zone ANode
Runs half of the replicas.
Worker node, zone BNode
Runs the other half, so one zone may fail.