[RULE] Container App Health Probe that support HTTP #3111
Labels
pillar: reliability
Aligned to the Reliability pillar.
rule: container-apps
Rules for Container Apps
Existing rule
No response
Suggested rule
If the container app uses HTTP based ingress, then health probes should be properly configured to support HTTP.
properties.configuration.ingress.transport
=http
orhttp2
ORproperties.configuration.ingress.targetPort
=80
or8080
or443
Health probes should be configured to support HTTP which has a granular status instead of open or closed that a TCP port has, to determine if a replica is available and ready to receive the ingress traffic.
Key points:
Liveness
andReadiness
havehttpGet
configured.Pillar
Reliability
Additional context
Similar to: https://azure.github.io/PSRule.Rules.Azure/en/rules/Azure.AppService.WebProbe/
The text was updated successfully, but these errors were encountered: