Aller au contenu

KubeStatefulSetReplicasMismatch#

A ReplicaSet has not reached the expected number of replicas during more than 15mins. I can be observed with:

kubectl get deployments -A  # READY column
kubectl get replicasets -A # CURRENT against DESIRED columns

This problem can occur when a pod remains in non ready state for example, or when the kubernetes controller fails to find a node suitable for a pod (not enough memory for example). In such cases more informations can be obtained via:

kubectl describe pod XXXX
kubectl describe node YYYY