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

28 lines
533 B
Plaintext
Raw Normal View History

2024-03-09 09:42:20 +00:00
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
2024-03-12 23:27:06 +00:00
init {
style.stroke-dash: 3
}
init -> emptyDir: mounts
2024-03-09 09:42:20 +00:00
nginx -> emptyDir: mounts
2024-03-12 23:27:06 +00:00
2024-03-09 09:42:20 +00:00
emptyDir { icon: https://icons.terrastruct.com/tech%2Fdiskette.svg }
}
pod.nginx -> configMap: mounts
}
kubernetes.pod.git-pull -> repo: pull