File tree Expand file tree Collapse file tree 1 file changed +25
-2
lines changed Expand file tree Collapse file tree 1 file changed +25
-2
lines changed Original file line number Diff line number Diff line change @@ -694,18 +694,41 @@ func newContainers(config *OperatorConfig, features map[string]bool) []corev1.Co
694
694
ContainerPort : defaultMachineSetHealthPort ,
695
695
},
696
696
},
697
+ StartupProbe : & corev1.Probe {
698
+ PeriodSeconds : 10 ,
699
+ TimeoutSeconds : 10 ,
700
+ FailureThreshold : 30 ,
701
+ SuccessThreshold : 1 ,
702
+ InitialDelaySeconds : 0 ,
703
+ ProbeHandler : corev1.ProbeHandler {
704
+ HTTPGet : & corev1.HTTPGetAction {
705
+ Path : "/readyz" ,
706
+ Port : intstr .Parse ("healthz" ),
707
+ },
708
+ },
709
+ },
697
710
ReadinessProbe : & corev1.Probe {
711
+ PeriodSeconds : 10 ,
712
+ TimeoutSeconds : 5 ,
713
+ FailureThreshold : 3 ,
714
+ SuccessThreshold : 1 ,
715
+ InitialDelaySeconds : 0 ,
698
716
ProbeHandler : corev1.ProbeHandler {
699
717
HTTPGet : & corev1.HTTPGetAction {
700
- Path : "/healthz " ,
718
+ Path : "/readyz " ,
701
719
Port : intstr .Parse ("healthz" ),
702
720
},
703
721
},
704
722
},
705
723
LivenessProbe : & corev1.Probe {
724
+ PeriodSeconds : 10 ,
725
+ TimeoutSeconds : 5 ,
726
+ FailureThreshold : 3 ,
727
+ SuccessThreshold : 1 ,
728
+ InitialDelaySeconds : 0 ,
706
729
ProbeHandler : corev1.ProbeHandler {
707
730
HTTPGet : & corev1.HTTPGetAction {
708
- Path : "/readyz " ,
731
+ Path : "/healthz " ,
709
732
Port : intstr .Parse ("healthz" ),
710
733
},
711
734
},
You can’t perform that action at this time.
0 commit comments