Cluster Overview

The whole cluster at a glance. The one to draw first.

Cluster Overview: rendered example
Rendered by Gnomon from the source below. No edits.

The source

27 lines of PlantUML, and pulls in Kubernetes icons. Copy it, or open the template inside Gnomon and render it as it is.

@startuml
!define KubernetesPuml https://raw.githubusercontent.com/dcasati/kubernetes-PlantUML/master/dist
!include KubernetesPuml/kubernetes_Common.puml
!include KubernetesPuml/kubernetes_Simplified.puml
!include KubernetesPuml/OSS/KubernetesMaster.puml
!include KubernetesPuml/OSS/KubernetesNode.puml
!include KubernetesPuml/OSS/KubernetesPod.puml
!include KubernetesPuml/OSS/KubernetesSvc.puml
!include KubernetesPuml/OSS/KubernetesEtcd.puml

title Kubernetes — Cluster overview

KubernetesMaster(master, "control-plane", "")
KubernetesEtcd(etcd, "etcd", "cluster store")
KubernetesNode(node1, "node-1", "")
KubernetesNode(node2, "node-2", "")
KubernetesPod(pod1, "api", "")
KubernetesPod(pod2, "worker", "")
KubernetesSvc(svc, "api-svc", "ClusterIP")

master --> etcd
master --> node1
master --> node2
node1 --> pod1
node2 --> pod2
svc --> pod1
@enduml

Render this offline

This template ships in Gnomon and renders on your machine, with no account and nothing sent to a server. The browser editor is free and needs no install.

Get GnomonOpen the browser editor

Others in Kubernetes diagrams