Created
May 14, 2026 17:41
-
-
Save andrewmatveychuk/44207dfcf23306dc1b5fb87d429b5e3d to your computer and use it in GitHub Desktop.
Sample container probes in a Container App
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var containerProbes = [ | |
| { | |
| type: 'Liveness' | |
| httpGet: { // There are different types of probes with different configuration parameters | |
| path: '/' | |
| port: containerPort | |
| } | |
| initialDelaySeconds: 10 | |
| periodSeconds: 5 | |
| } | |
| { | |
| type: 'Readiness' | |
| tcpSocket: { | |
| port: containerPort | |
| } | |
| initialDelaySeconds: 10 | |
| periodSeconds: 3 | |
| } | |
| { | |
| type: 'Startup' | |
| tcpSocket: { | |
| port: containerPort | |
| } | |
| initialDelaySeconds: 30 | |
| periodSeconds: 5 | |
| } | |
| ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment