Skip to content

Instantly share code, notes, and snippets.

@andrewmatveychuk
Created May 14, 2026 17:41
Show Gist options
  • Select an option

  • Save andrewmatveychuk/44207dfcf23306dc1b5fb87d429b5e3d to your computer and use it in GitHub Desktop.

Select an option

Save andrewmatveychuk/44207dfcf23306dc1b5fb87d429b5e3d to your computer and use it in GitHub Desktop.
Sample container probes in a Container App
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