Cluster Overview
The whole cluster at a glance. The one to draw first.
- Format.puml
- Length27 lines
- LibraryKubernetes icons
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
@endumlRender this offline
This template ships in Gnomon and renders on your machine, with no account and no diagram uploads. The browser editor is free and needs no install.
Others in Kubernetes diagrams
- Ingress to PodsIngress to service to pods. How traffic actually gets in.
- Workload and ConfigurationDeployments with their config and secrets attached.
- Stateful StoragePersistent volumes and claims. What survives a restart, and what does not.
- RBACRoles and bindings. The diagram that finds the over-permissive service account.