Skip to content

Commit

Permalink
bump probe to 10s (#718)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaovilai authored Jun 10, 2022
1 parent 0ae96ae commit a6dcd34
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions controllers/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -367,8 +367,8 @@ func (r *DPAReconciler) buildRegistryContainer(bsl *velerov1.BackupStorageLocati
Port: intstr.IntOrString{IntVal: 5000},
},
},
PeriodSeconds: 5,
TimeoutSeconds: 3,
PeriodSeconds: 10,
TimeoutSeconds: 10,
InitialDelaySeconds: 15,
},
ReadinessProbe: &corev1.Probe{
Expand All @@ -378,8 +378,8 @@ func (r *DPAReconciler) buildRegistryContainer(bsl *velerov1.BackupStorageLocati
Port: intstr.IntOrString{IntVal: 5000},
},
},
PeriodSeconds: 5,
TimeoutSeconds: 3,
PeriodSeconds: 10,
TimeoutSeconds: 10,
InitialDelaySeconds: 15,
},
},
Expand Down
16 changes: 8 additions & 8 deletions controllers/registry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -616,8 +616,8 @@ func TestDPAReconciler_buildRegistryDeployment(t *testing.T) {
Port: intstr.IntOrString{IntVal: 5000},
},
},
PeriodSeconds: 5,
TimeoutSeconds: 3,
PeriodSeconds: 10,
TimeoutSeconds: 10,
InitialDelaySeconds: 15,
},
ReadinessProbe: &corev1.Probe{
Expand All @@ -627,8 +627,8 @@ func TestDPAReconciler_buildRegistryDeployment(t *testing.T) {
Port: intstr.IntOrString{IntVal: 5000},
},
},
PeriodSeconds: 5,
TimeoutSeconds: 3,
PeriodSeconds: 10,
TimeoutSeconds: 10,
InitialDelaySeconds: 15,
},
},
Expand Down Expand Up @@ -705,8 +705,8 @@ func TestDPAReconciler_buildRegistryContainer(t *testing.T) {
Port: intstr.IntOrString{IntVal: 5000},
},
},
PeriodSeconds: 5,
TimeoutSeconds: 3,
PeriodSeconds: 10,
TimeoutSeconds: 10,
InitialDelaySeconds: 15,
},
ReadinessProbe: &corev1.Probe{
Expand All @@ -716,8 +716,8 @@ func TestDPAReconciler_buildRegistryContainer(t *testing.T) {
Port: intstr.IntOrString{IntVal: 5000},
},
},
PeriodSeconds: 5,
TimeoutSeconds: 3,
PeriodSeconds: 10,
TimeoutSeconds: 10,
InitialDelaySeconds: 15,
},
}
Expand Down

0 comments on commit a6dcd34

Please sign in to comment.