Skip to content
D2 templates

Kubernetes deployment

Ingress → Service → Deployment → Pods; ConfigMap + Secret.

Template previewD2
Rendering…

Make it your own.

ingress -> service
service -> deployment

deployment: {
  pod1
  pod2
  pod3
}

configmap -> deployment.pod1
configmap -> deployment.pod2
configmap -> deployment.pod3

secret -> deployment.pod1: tls cert

configmap.shape: page
secret.shape: page