Skip to content

Commit 8cdbf63

Browse files
aubuchclChristopher Aubuchon
authored andcommitted
updated schema StackContainerConfigDeploy.yml with health check changes and fixes (#170)
Co-authored-by: Christopher Aubuchon <[email protected]>
1 parent 3f59e15 commit 8cdbf63

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

components/schemas/stacks/spec/StackContainerConfigDeploy.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,16 +120,23 @@ properties:
120120
properties:
121121
command:
122122
type: string
123+
description: The command to run as your health check
124+
example: /bin/sh healthcheck.sh
123125
retries:
124126
type: integer
127+
description: The number of times to retry the command before marking an instance unhealthy
125128
interval:
126129
$ref: ../../Duration.yml
127-
description: How long to wait between restarts.
130+
description: How long to wait between running health checks.
128131
timeout:
129132
$ref: ../../Duration.yml
130133
description: How long before a health check attempt times out.
131134
restart:
132135
type: boolean
136+
description: A boolean where true represents the desire for the container to restart if any instance is unhealthy.
137+
delay:
138+
$ref: ../../Duration.yml
139+
description: How long to wait after a container start event before starting health checks.
133140
telemetry:
134141
type: object
135142
required:

0 commit comments

Comments
 (0)