2024-03-09 09:42:20 +00:00
|
|
|
title: |md
|
|
|
|
# deploy w/ helm & bitnami/nginx
|
|
|
|
| {
|
|
|
|
shape: text
|
|
|
|
near: top-center
|
|
|
|
}
|
|
|
|
|
|
|
|
my laptop -> repo: git push
|
2024-03-12 23:27:06 +00:00
|
|
|
my laptop -> kubernetes: `helm upgrade`
|
2024-03-09 09:42:20 +00:00
|
|
|
|
|
|
|
|
|
|
|
kubernetes {
|
|
|
|
icon: https://icons.terrastruct.com/azure%2F_Companies%2FKubernetes.svg
|
|
|
|
ingress -> service
|
2024-03-12 23:27:06 +00:00
|
|
|
service -> deployment.pod(s)
|
2024-03-09 09:42:20 +00:00
|
|
|
|
2024-03-12 23:27:06 +00:00
|
|
|
deployment {
|
|
|
|
pod(s) {
|
|
|
|
git-pull -> emptyDir: mounts
|
|
|
|
init {
|
|
|
|
style.stroke-dash: 3
|
|
|
|
}
|
|
|
|
init -> emptyDir: mounts
|
|
|
|
|
|
|
|
nginx -> emptyDir: mounts
|
|
|
|
emptyDir { icon: https://icons.terrastruct.com/tech%2Fdiskette.svg }
|
|
|
|
}
|
2024-03-09 09:42:20 +00:00
|
|
|
}
|
2024-03-12 23:27:06 +00:00
|
|
|
deployment.pod(s).nginx -> configMap: mounts
|
2024-03-09 09:42:20 +00:00
|
|
|
}
|
|
|
|
|
2024-03-12 23:27:06 +00:00
|
|
|
kubernetes.deployment.pod(s).git-pull -> repo: pull
|
2024-03-09 09:42:20 +00:00
|
|
|
|
|
|
|
web {
|
|
|
|
icon: https://icons.terrastruct.com/essentials%2F140-internet.svg
|
|
|
|
}
|
|
|
|
web -> kubernetes.ingress
|