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
|