Kubernetes's http liveness probe failed when pod under heavy load

9/2/2018

Just as the title says, Kubernetes's liveness probe always fails when pod is under heavy load(500+ concurrency, 100000 request), i gave more cpu & memory resources to the pod, but it does not work.

Is there any method to handle this situation ?

Thanks!

-- Williams Mao
kubernetes
kubernetes-health-check

2 Answers

11/27/2019

Try changing probes by "kong health" command.

readinessProbe:                                                                                                                                                                                            
   exec:                                                                                                                                                                                                    
     command:                                                                                                                                                                                               
       - kong                                                                                                                                                                                               
       - health 
-- Esteban AvendaƱo
Source: StackOverflow

9/18/2018

As per @Williams Mao issue was resolved by increasing readinessProbe.timeoutSeconds.

If an application has huge load, the default timeoutSeconds: 1 may be not enough. Good to read: configure-liveness-readiness-probes

-- VKR
Source: StackOverflow