Skip to content

Commit d3f0575

Browse files
egeguneshors
andauthored
K8SPS-346: Increase default bootstrap timeout to 12 hours (#678)
Co-authored-by: Viacheslav Sarzhan <[email protected]>
1 parent 19ef397 commit d3f0575

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

api/v1alpha1/perconaservermysql_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ func (cr *PerconaServerMySQL) CheckNSetDefaults(ctx context.Context, serverVersi
558558
cr.Spec.MySQL.StartupProbe.SuccessThreshold = 1
559559
}
560560
if cr.Spec.MySQL.StartupProbe.TimeoutSeconds == 0 {
561-
cr.Spec.MySQL.StartupProbe.TimeoutSeconds = 300
561+
cr.Spec.MySQL.StartupProbe.TimeoutSeconds = 12 * 60 * 60
562562
}
563563

564564
if cr.Spec.MySQL.LivenessProbe.InitialDelaySeconds == 0 {

e2e-tests/tests/limits/01-assert.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ spec:
111111
initialDelaySeconds: 15
112112
periodSeconds: 10
113113
successThreshold: 1
114-
timeoutSeconds: 300
114+
timeoutSeconds: 43200
115115
terminationMessagePath: /dev/termination-log
116116
terminationMessagePolicy: File
117117
volumeMounts:

e2e-tests/tests/limits/03-assert.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ spec:
111111
initialDelaySeconds: 15
112112
periodSeconds: 10
113113
successThreshold: 1
114-
timeoutSeconds: 300
114+
timeoutSeconds: 43200
115115
terminationMessagePath: /dev/termination-log
116116
terminationMessagePolicy: File
117117
volumeMounts:

e2e-tests/tests/limits/05-assert.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ spec:
109109
initialDelaySeconds: 15
110110
periodSeconds: 10
111111
successThreshold: 1
112-
timeoutSeconds: 300
112+
timeoutSeconds: 43200
113113
terminationMessagePath: /dev/termination-log
114114
terminationMessagePolicy: File
115115
volumeMounts:

0 commit comments

Comments
 (0)