Renabled apps, removed probes wordpress
This commit is contained in:
@@ -236,7 +236,7 @@ resource "kubernetes_deployment" "gitea" {
|
|||||||
port = "http"
|
port = "http"
|
||||||
}
|
}
|
||||||
initial_delay_seconds = 5
|
initial_delay_seconds = 5
|
||||||
period_seconds = 10
|
period_seconds = 60
|
||||||
success_threshold = 1
|
success_threshold = 1
|
||||||
failure_threshold = 3
|
failure_threshold = 3
|
||||||
}
|
}
|
||||||
@@ -166,26 +166,26 @@ resource "kubernetes_deployment" "wordpress" {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
readiness_probe {
|
# readiness_probe {
|
||||||
http_get {
|
# http_get {
|
||||||
path = "/?nocache"
|
# path = "/?nocache"
|
||||||
port = "http"
|
# port = "http"
|
||||||
}
|
# }
|
||||||
initial_delay_seconds = 20
|
# initial_delay_seconds = 20
|
||||||
period_seconds = 10
|
# period_seconds = 10
|
||||||
success_threshold = 1
|
# success_threshold = 1
|
||||||
failure_threshold = 5
|
# failure_threshold = 5
|
||||||
}
|
# }
|
||||||
|
|
||||||
liveness_probe {
|
# liveness_probe {
|
||||||
tcp_socket {
|
# tcp_socket {
|
||||||
port = "http"
|
# port = "http"
|
||||||
}
|
# }
|
||||||
initial_delay_seconds = 30
|
# initial_delay_seconds = 30
|
||||||
period_seconds = 60
|
# period_seconds = 60
|
||||||
success_threshold = 1
|
# success_threshold = 1
|
||||||
failure_threshold = 10
|
# failure_threshold = 10
|
||||||
}
|
# }
|
||||||
security_context {
|
security_context {
|
||||||
allow_privilege_escalation = false
|
allow_privilege_escalation = false
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user