Skip to content

Commit a6dcd34

Browse files
authored
bump probe to 10s (#718)
1 parent 0ae96ae commit a6dcd34

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

controllers/registry.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -367,8 +367,8 @@ func (r *DPAReconciler) buildRegistryContainer(bsl *velerov1.BackupStorageLocati
367367
Port: intstr.IntOrString{IntVal: 5000},
368368
},
369369
},
370-
PeriodSeconds: 5,
371-
TimeoutSeconds: 3,
370+
PeriodSeconds: 10,
371+
TimeoutSeconds: 10,
372372
InitialDelaySeconds: 15,
373373
},
374374
ReadinessProbe: &corev1.Probe{
@@ -378,8 +378,8 @@ func (r *DPAReconciler) buildRegistryContainer(bsl *velerov1.BackupStorageLocati
378378
Port: intstr.IntOrString{IntVal: 5000},
379379
},
380380
},
381-
PeriodSeconds: 5,
382-
TimeoutSeconds: 3,
381+
PeriodSeconds: 10,
382+
TimeoutSeconds: 10,
383383
InitialDelaySeconds: 15,
384384
},
385385
},

controllers/registry_test.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -616,8 +616,8 @@ func TestDPAReconciler_buildRegistryDeployment(t *testing.T) {
616616
Port: intstr.IntOrString{IntVal: 5000},
617617
},
618618
},
619-
PeriodSeconds: 5,
620-
TimeoutSeconds: 3,
619+
PeriodSeconds: 10,
620+
TimeoutSeconds: 10,
621621
InitialDelaySeconds: 15,
622622
},
623623
ReadinessProbe: &corev1.Probe{
@@ -627,8 +627,8 @@ func TestDPAReconciler_buildRegistryDeployment(t *testing.T) {
627627
Port: intstr.IntOrString{IntVal: 5000},
628628
},
629629
},
630-
PeriodSeconds: 5,
631-
TimeoutSeconds: 3,
630+
PeriodSeconds: 10,
631+
TimeoutSeconds: 10,
632632
InitialDelaySeconds: 15,
633633
},
634634
},
@@ -705,8 +705,8 @@ func TestDPAReconciler_buildRegistryContainer(t *testing.T) {
705705
Port: intstr.IntOrString{IntVal: 5000},
706706
},
707707
},
708-
PeriodSeconds: 5,
709-
TimeoutSeconds: 3,
708+
PeriodSeconds: 10,
709+
TimeoutSeconds: 10,
710710
InitialDelaySeconds: 15,
711711
},
712712
ReadinessProbe: &corev1.Probe{
@@ -716,8 +716,8 @@ func TestDPAReconciler_buildRegistryContainer(t *testing.T) {
716716
Port: intstr.IntOrString{IntVal: 5000},
717717
},
718718
},
719-
PeriodSeconds: 5,
720-
TimeoutSeconds: 3,
719+
PeriodSeconds: 10,
720+
TimeoutSeconds: 10,
721721
InitialDelaySeconds: 15,
722722
},
723723
}

0 commit comments

Comments
 (0)