Skip to content

Commit

Permalink
Probes switched off waiting to understand why they don't work!
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniotarricone committed Jan 8, 2025
1 parent 0361977 commit dd63e04
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions src/main/terraform/container_app.tf
Original file line number Diff line number Diff line change
Expand Up @@ -119,36 +119,36 @@ resource "azurerm_container_app" "auth" {
secret_name = "identity-client-id"
}

liveness_probe {
path = "/q/health/live"
port = 8080
transport = "HTTP"
initial_delay = 0
interval_seconds = 10
failure_count_threshold = 3
timeout = 1
}

readiness_probe {
path = "/q/health/ready"
port = 8080
transport = "HTTP"
initial_delay = 0
interval_seconds = 10
failure_count_threshold = 3
success_count_threshold = 1
timeout = 1
}

startup_probe {
path = "/q/health/started"
port = 8080
transport = "HTTP"
initial_delay = 0
interval_seconds = 10
failure_count_threshold = 3
timeout = 1
}
#liveness_probe {
# path = "/q/health/live"
# port = 8080
# transport = "HTTP"
# initial_delay = 0
# interval_seconds = 10
# failure_count_threshold = 3
# timeout = 1
#}

#readiness_probe {
# path = "/q/health/ready"
# port = 8080
# transport = "HTTP"
# initial_delay = 0
# interval_seconds = 10
# failure_count_threshold = 3
# success_count_threshold = 1
# timeout = 1
#}

#startup_probe {
# path = "/q/health/started"
# port = 8080
# transport = "HTTP"
# initial_delay = 0
# interval_seconds = 10
# failure_count_threshold = 3
# timeout = 1
#}
}

max_replicas = var.mil_auth_max_replicas
Expand Down

0 comments on commit dd63e04

Please sign in to comment.