Ingress to Pods
Ingress to service to pods. How traffic actually gets in.
- Format.puml
- Length25 lines
- LibraryKubernetes icons
The source
25 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/KubernetesIng.puml
!include KubernetesPuml/OSS/KubernetesSvc.puml
!include KubernetesPuml/OSS/KubernetesPod.puml
!include KubernetesPuml/OSS/KubernetesDeploy.puml
title Kubernetes — Ingress to Pods
left to right direction
KubernetesIng(ing, "web-ingress", "nginx")
KubernetesSvc(svc, "web-svc", "ClusterIP")
KubernetesDeploy(deploy, "web", "3 replicas")
KubernetesPod(pod1, "web-a", "")
KubernetesPod(pod2, "web-b", "")
ing --> svc
svc --> pod1
svc --> pod2
deploy ..> pod1
deploy ..> pod2
@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
- Cluster OverviewThe whole cluster at a glance. The one to draw first.
- 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.