Skip to content

Commit 4e63af1

Browse files
author
Ziru Zhu
committed
Relax the timeout values used for liveness/readniess probes
1 parent 996ad7c commit 4e63af1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

server/plugins/kubedeploy/deployments.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ func (x *KubeDeploy) doDeploy(e agent.Event) error {
615615
PeriodSeconds: 10,
616616
SuccessThreshold: 1,
617617
FailureThreshold: 3,
618-
TimeoutSeconds: 1,
618+
TimeoutSeconds: 3,
619619
Handler: v1.Handler{
620620
TCPSocket: &v1.TCPSocketAction{
621621
Port: intstr.IntOrString{IntVal: myPort},
@@ -627,7 +627,7 @@ func (x *KubeDeploy) doDeploy(e agent.Event) error {
627627
PeriodSeconds: 20,
628628
SuccessThreshold: 1,
629629
FailureThreshold: 3,
630-
TimeoutSeconds: 1,
630+
TimeoutSeconds: 3,
631631
Handler: v1.Handler{
632632
TCPSocket: &v1.TCPSocketAction{
633633
Port: intstr.IntOrString{IntVal: myPort},
@@ -662,7 +662,7 @@ func (x *KubeDeploy) doDeploy(e agent.Event) error {
662662
PeriodSeconds: 20,
663663
SuccessThreshold: 1,
664664
FailureThreshold: 3,
665-
TimeoutSeconds: 1,
665+
TimeoutSeconds: 3,
666666
Handler: v1.Handler{
667667
Exec: &v1.ExecAction{
668668
Command: runThis,

0 commit comments

Comments
 (0)