Mermaid Online
Templates/Software Architecture/Kubernetes Deployment
Flowchart template · local export

Kubernetes Deployment Mermaid Template

Cluster flowchart with ingress, service, app replicas, ConfigMap, secrets, and database. Edit the code below, choose a publish preset, then export without signup, watermark, or cloud upload.

Kubernetesdeploymentinfra
Paste or edit Mermaid code
Replace the sample below, or load another example.
Load example
Preparing the local renderer without uploading your diagram.Preparing editor…
Live previewSample preview · Clean Docs

Write

Preview

Export

Docs Asset

Preparing local editor…
Render & export

Export controls activate after your diagram renders locally.

Flowchart
Mode
Default renderNative MermaidOptimized exportStyled download
Export style
Clean DocsGitHub READMETransparent DocsWarm Editorial✦ ProWhiteboard Sketch✦ ProAurora Noir✦ ProBlueprint✦ ProChampagne✦ ProEmerald Suite✦ ProEditorial✦ Pro
Scale
1x2x4x
Or exact width, e.g. 1200px wide
Output: White · comfortable padding
Size: calculated after render
Filename: mermaid-flowchart-white-2x.png

When to use the Kubernetes Deployment template

A Kubernetes cluster view: user traffic enters through the Ingress Controller, hits the ClusterIP Service, and is spread across three app pods. ConfigMap and Secrets mount into the pods, Postgres backs the serving pods, and a third pod handles the background Queue — the standard shape of a small production deployment.

Template code

The full Mermaid source for this template — copy it into any Mermaid-compatible tool, or edit and export it in the editor above.

flowchart TB
  User[User Traffic] --> Ingress[Ingress Controller]
  Ingress --> Service[ClusterIP Service]
  Service --> PodA[App Pod A]
  Service --> PodB[App Pod B]
  Service --> PodC[App Pod C]
  Config[ConfigMap] --> PodA
  Config --> PodB
  Secrets[Secrets] --> PodA
  Secrets --> PodB
  PodA --> DB[(Postgres)]
  PodB --> DB
  PodC --> Queue[Background Queue]

How to customize this template

Related guides