Skip to content

Commit e60492c

Browse files
committed
fix: Container app removing probes
1 parent 73bc8d7 commit e60492c

File tree

2 files changed

+66
-66
lines changed

2 files changed

+66
-66
lines changed

infra/container_apps/delegation-cdc/main.tf

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -28,39 +28,39 @@ module "container_app_delegation_cdc" {
2828
user_assigned_identity_principal_id = data.azurerm_user_assigned_identity.cae_identity.principal_id
2929

3030
probes = [
31-
{
32-
httpGet = {
33-
path = "q/health/live"
34-
port = 8080
35-
scheme = "HTTP"
36-
}
37-
timeoutSeconds = 5
38-
type = "Liveness"
39-
failureThreshold = 3
40-
initialDelaySeconds = 1
41-
},
42-
{
43-
httpGet = {
44-
path = "q/health/ready"
45-
port = 8080
46-
scheme = "HTTP"
47-
}
48-
timeoutSeconds = 5
49-
type = "Readiness"
50-
failureThreshold = 30
51-
initialDelaySeconds = 3
52-
},
53-
{
54-
httpGet = {
55-
path = "q/health/started"
56-
port = 8080
57-
scheme = "HTTP"
58-
}
59-
timeoutSeconds = 5
60-
failureThreshold = 5
61-
type = "Startup"
62-
initialDelaySeconds = 5
63-
}
31+
# {
32+
# httpGet = {
33+
# path = "/actuator/health/liveness"
34+
# port = 8080
35+
# scheme = "HTTP"
36+
# }
37+
# timeoutSeconds = 5
38+
# type = "Liveness"
39+
# failureThreshold = 3
40+
# initialDelaySeconds = 1
41+
# },
42+
# {
43+
# httpGet = {
44+
# path = "/actuator/health/readiness"
45+
# port = 8080
46+
# scheme = "HTTP"
47+
# }
48+
# timeoutSeconds = 5
49+
# type = "Readiness"
50+
# failureThreshold = 30
51+
# initialDelaySeconds = 3
52+
# },
53+
# {
54+
# httpGet = {
55+
# path = "q/health/started"
56+
# port = 8080
57+
# scheme = "HTTP"
58+
# }
59+
# timeoutSeconds = 5
60+
# failureThreshold = 5
61+
# type = "Startup"
62+
# initialDelaySeconds = 5
63+
# }
6464
]
6565

6666
tags = var.tags

infra/container_apps/institution-ms/main.tf

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -37,39 +37,39 @@ module "container_app_core" {
3737
dapr_settings = []
3838

3939
probes = [
40-
{
41-
httpGet = {
42-
path = "/actuator/health/liveness"
43-
port = 8080
44-
scheme = "HTTP"
45-
}
46-
timeoutSeconds = 5
47-
type = "Liveness"
48-
failureThreshold = 3
49-
initialDelaySeconds = 1
50-
},
51-
{
52-
httpGet = {
53-
path = "/actuator/health/readiness"
54-
port = 8080
55-
scheme = "HTTP"
56-
}
57-
timeoutSeconds = 5
58-
type = "Readiness"
59-
failureThreshold = 30
60-
initialDelaySeconds = 3
61-
},
62-
{
63-
httpGet = {
64-
path = "/actuator/health/startup"
65-
port = 8080
66-
scheme = "HTTP"
67-
}
68-
timeoutSeconds = 15
69-
failureThreshold = 15
70-
type = "Startup"
71-
initialDelaySeconds = 15
72-
}
40+
# {
41+
# httpGet = {
42+
# path = "/actuator/health/liveness"
43+
# port = 8080
44+
# scheme = "HTTP"
45+
# }
46+
# timeoutSeconds = 5
47+
# type = "Liveness"
48+
# failureThreshold = 3
49+
# initialDelaySeconds = 1
50+
# },
51+
# {
52+
# httpGet = {
53+
# path = "/actuator/health/readiness"
54+
# port = 8080
55+
# scheme = "HTTP"
56+
# }
57+
# timeoutSeconds = 5
58+
# type = "Readiness"
59+
# failureThreshold = 30
60+
# initialDelaySeconds = 3
61+
# },
62+
# {
63+
# httpGet = {
64+
# path = "/actuator/health/startup"
65+
# port = 8080
66+
# scheme = "HTTP"
67+
# }
68+
# timeoutSeconds = 15
69+
# failureThreshold = 15
70+
# type = "Startup"
71+
# initialDelaySeconds = 15
72+
# }
7373
]
7474

7575
tags = var.tags

0 commit comments

Comments
 (0)