Renabled apps, removed probes wordpress

This commit is contained in:
2024-12-12 20:54:18 +01:00
parent e1264540cd
commit 9053d9d7b0
3 changed files with 20 additions and 20 deletions
@@ -236,7 +236,7 @@ resource "kubernetes_deployment" "gitea" {
port = "http"
}
initial_delay_seconds = 5
period_seconds = 10
period_seconds = 60
success_threshold = 1
failure_threshold = 3
}
+19 -19
View File
@@ -166,26 +166,26 @@ resource "kubernetes_deployment" "wordpress" {
}
}
readiness_probe {
http_get {
path = "/?nocache"
port = "http"
}
initial_delay_seconds = 20
period_seconds = 10
success_threshold = 1
failure_threshold = 5
}
# readiness_probe {
# http_get {
# path = "/?nocache"
# port = "http"
# }
# initial_delay_seconds = 20
# period_seconds = 10
# success_threshold = 1
# failure_threshold = 5
# }
liveness_probe {
tcp_socket {
port = "http"
}
initial_delay_seconds = 30
period_seconds = 60
success_threshold = 1
failure_threshold = 10
}
# liveness_probe {
# tcp_socket {
# port = "http"
# }
# initial_delay_seconds = 30
# period_seconds = 60
# success_threshold = 1
# failure_threshold = 10
# }
security_context {
allow_privilege_escalation = false
}