estradiol.cloud/.d2/hugo-minimal-pod-setup.d2

28 lines
533 B
Plaintext

title: |md
# deploy w/ kubectl apply
| {
shape: text
near: top-center
}
my laptop -> repo: git push
my laptop -> kubernetes: `kubectl apply`
kubernetes {
icon: https://icons.terrastruct.com/azure%2F_Companies%2FKubernetes.svg
pod {
git-pull -> emptyDir: mounts
init {
style.stroke-dash: 3
}
init -> emptyDir: mounts
nginx -> emptyDir: mounts
emptyDir { icon: https://icons.terrastruct.com/tech%2Fdiskette.svg }
}
pod.nginx -> configMap: mounts
}
kubernetes.pod.git-pull -> repo: pull