rolling update uptime kuma to avoid breaking the wal and sqlite db [ci skip]
This commit is contained in:
parent
dffc718fcb
commit
970e87c7b8
1 changed files with 6 additions and 3 deletions
|
|
@ -9,9 +9,9 @@ module "tls_secret" {
|
||||||
resource "kubernetes_namespace" "uptime-kuma" {
|
resource "kubernetes_namespace" "uptime-kuma" {
|
||||||
metadata {
|
metadata {
|
||||||
name = "uptime-kuma"
|
name = "uptime-kuma"
|
||||||
labels = {
|
# labels = {
|
||||||
"istio-injection" : "enabled"
|
# "istio-injection" : "enabled"
|
||||||
}
|
# }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -28,6 +28,9 @@ resource "kubernetes_deployment" "uptime-kuma" {
|
||||||
}
|
}
|
||||||
spec {
|
spec {
|
||||||
replicas = 1
|
replicas = 1
|
||||||
|
strategy {
|
||||||
|
type = "Recreate"
|
||||||
|
}
|
||||||
selector {
|
selector {
|
||||||
match_labels = {
|
match_labels = {
|
||||||
app = "uptime-kuma"
|
app = "uptime-kuma"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue