What value of "READY = 2/2" is displayed by the command "kubectl get pod $ yourpod"

kubectl get pod run-sh-1816639685-xejyk 
NAME                      READY     STATUS    RESTARTS   AGE
run-sh-1816639685-xejyk   2/2       Running   0          26m

What does the value "READY = 2/2" mean? Same with "1/1"?

+4
source share
1 answer

shows how many containers in the container are considered ready. You may have several containers starting faster than others, or a check of their readiness has not yet been completed (or is still in the initial delay). In such cases, there will be fewer containers in the container than their total number (i.e. 1/2), so the entire container will not be considered ready.

+5
source

Source: https://habr.com/ru/post/1656179/


All Articles