Quando executo kubctl get pods tenho o seguinte resultado:
NAME READY STATUS RESTARTS AGE
nginx 1/1 Running 0 23m
Quando executo kubctl describe pod nginx tenho o seguinte resultado:
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 23m default-scheduler Successfully assigned default/nginx to minikube
Warning Failed 22m kubelet Failed to pull image "nginx:latest": rpc error: code = Unknown desc = failed to register layer: Error processing tar file(archive/tar: invalid tar header):
Warning Failed 22m kubelet Error: ErrImagePull
Normal BackOff 22m kubelet Back-off pulling image "nginx:latest"
Warning Failed 22m kubelet Error: ImagePullBackOff
Normal Pulling 22m (x2 over 23m) kubelet Pulling image "nginx:latest"
Normal Pulled 22m kubelet Successfully pulled image "nginx:latest" in 10.619108258s
Normal Created 22m kubelet Created container nginx
Normal Started 22m kubelet Started container nginx
Warning NodeNotReady 16m (x5 over 19m) node-controller Node is not ready
Warning NodeNotReady 6m node-controller Node is not ready
Qual resultado eu devo confiar? Porque está divergente? Um apontando "Running" e outro retornando um warning de "NodeNotReady"?