Add configuration for CoreDNS and update host variables for lab environment
This commit is contained in:
@@ -310,6 +310,27 @@ resource "kubernetes_deployment" "reverse_proxy" {
|
||||
allow_privilege_escalation = false
|
||||
}
|
||||
|
||||
readiness_probe {
|
||||
http_get {
|
||||
path = "/health"
|
||||
port = 8888
|
||||
}
|
||||
initial_delay_seconds = 5
|
||||
period_seconds = 10
|
||||
}
|
||||
|
||||
liveness_probe {
|
||||
http_get {
|
||||
path = "/health"
|
||||
port = 8888
|
||||
}
|
||||
initial_delay_seconds = 5
|
||||
period_seconds = 10
|
||||
failure_threshold = 10
|
||||
timeout_seconds = 5
|
||||
success_threshold = 1
|
||||
}
|
||||
|
||||
dynamic "port" {
|
||||
for_each = { for k, v in var.services : k => v.http_port }
|
||||
content {
|
||||
|
||||
Reference in New Issue
Block a user