diff --git a/schema/minecraft_java.yaml b/schema/minecraft_java.yaml index 7f7ac7d..0ceb207 100644 --- a/schema/minecraft_java.yaml +++ b/schema/minecraft_java.yaml @@ -49,14 +49,13 @@ probes: command: - mc-health startupProbe: + initialDelaySeconds: 90 failureThreshold: 30 periodSeconds: 10 readinessProbe: - initialDelaySeconds: 30 periodSeconds: 5 failureThreshold: 20 successThreshold: 3 livenessProbe: - initialDelaySeconds: 30 periodSeconds: 5 failureThreshold: 20 \ No newline at end of file diff --git a/schema_test.go b/schema_test.go index 1430944..20aec06 100644 --- a/schema_test.go +++ b/schema_test.go @@ -84,19 +84,18 @@ var exampleSchema Schema = Schema{ Probes: Probes{ Command: []string{"mc-health"}, StartupProbe: Probe{ - FailureThreshold: 30, - PeriodSeconds: 10, + InitialDelaySeconds: 90, + FailureThreshold: 30, + PeriodSeconds: 10, }, ReadinessProbe: Probe{ - InitialDelaySeconds: 30, - PeriodSeconds: 5, - FailureThreshold: 20, - SuccessThreshold: 3, + PeriodSeconds: 5, + FailureThreshold: 20, + SuccessThreshold: 3, }, LivenessProbe: Probe{ - InitialDelaySeconds: 30, - PeriodSeconds: 5, - FailureThreshold: 20, + PeriodSeconds: 5, + FailureThreshold: 20, }, }, }