File tree Expand file tree Collapse file tree 1 file changed +13
-10
lines changed Expand file tree Collapse file tree 1 file changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ import (
2121 corev1 "k8s.io/api/core/v1"
2222 "k8s.io/apimachinery/pkg/api/resource"
2323 metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
24- "k8s.io/apimachinery/pkg/util/intstr"
2524)
2625
2726var (
@@ -110,23 +109,27 @@ var (
110109 InitialDelaySeconds : 60 ,
111110 PeriodSeconds : 10 ,
112111 TimeoutSeconds : 2 ,
113- FailureThreshold : 3 ,
112+ FailureThreshold : 4 ,
114113 ProbeHandler : corev1.ProbeHandler {
115- HTTPGet : & corev1.HTTPGetAction {
116- Path : "/healthz/live" ,
117- Port : intstr .FromInt (11000 ),
114+ Exec : & corev1.ExecAction {
115+ Command : []string {
116+ "./meshery-meshsync" ,
117+ "-h" ,
118+ },
118119 },
119120 },
120121 },
121122 ReadinessProbe : & corev1.Probe {
122- InitialDelaySeconds : 5 ,
123+ InitialDelaySeconds : 20 ,
123124 PeriodSeconds : 4 ,
124125 TimeoutSeconds : 2 ,
125- FailureThreshold : 3 ,
126+ FailureThreshold : 4 ,
126127 ProbeHandler : corev1.ProbeHandler {
127- HTTPGet : & corev1.HTTPGetAction {
128- Path : "/healthz/ready" ,
129- Port : intstr .FromInt (11000 ),
128+ Exec : & corev1.ExecAction {
129+ Command : []string {
130+ "./meshery-meshsync" ,
131+ "-h" ,
132+ },
130133 },
131134 },
132135 },
You can’t perform that action at this time.
0 commit comments