52394/how-to-terminate-a-pod-when-a-specific-event-occurs
You need to add a liveness and readiness probe to query each container, if the probe fails, the entire pod will be restarted .
Add liveness object that calls any API that returns 200 to you from another container and both liveness and readiness probes run in infinite loops.
For example, If X depended to Y So add liveness in X that check the health of Y.
Both readiness/liveness probes always have to run after the container has been started .
kubelet component performs the liveness/readiness checks and set initialDelaySeconds and it can be anything from a few seconds to a few minutes depending on app start time.
Below is the configuration spec
livenessProbe spec: livenessProbe: httpGet: path: /path/test/ port: 10000 initialDelaySeconds: 30 timeoutSeconds: 5 readinessProbe spec: readinessProbe: httpGet: path: /path/test/ port: 10000 initialDelaySeconds: 30 timeoutSeconds: 5
You get this error when your pod ...READ MORE
Pending pod cannot be scheduled onto a ...READ MORE
By default, anti-affinity is not attempted by ...READ MORE
By declaring pods with the label(s) and ...READ MORE
Hey @nmentityvibes, you seem to be using ...READ MORE
Try using ingress itself in this manner except ...READ MORE
Hi Kalgi after following above steps it ...READ MORE
Follow these steps: $ kubeadm reset $ kubeadm init ...READ MORE
One way is Init Containers. These are for ...READ MORE
By default, anti-affinity is not attempted by Kubernetes as ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.