HiveBrain v1.2.0
Get Started
← Back to all entries
patternkubernetesMajor

What does "Does not have minimum availability" in k8s mean?

Submitted by: @import:stackexchange-devops··
0
Viewed 0 times
whatmeanminimumk8sdoesavailabilitynothave

Problem

What does "Does not have minimum availability" mean?

A GitHub discussion was found, but it is not clear to me what the error message means.

Solution

As @Tensibai indicated in one the comments, this could be caused as there is insufficient CPU or memory, but that is not always the case.

For example, a helm chart was just deployed, it failed and the workload in GCP indicated that:

Pod errors: CrashLoopBackOff

Based on the comment of @Tensibai the first impression was that there were insufficient resources, but further analysis using kubectl describe pod indicated that in this case the livenessProbe check failed:

Liveness probe failed: Get http://10.16.0.13:80/: dial 
tcp 10.16.0.13:80: getsockopt: connection refused


In summary, the Does not have minimum availability message is generic. Multiple issues could trigger this and more in dept analysis is required to find the actual error.

Code Snippets

Liveness probe failed: Get http://10.16.0.13:80/: dial 
tcp 10.16.0.13:80: getsockopt: connection refused

Context

StackExchange DevOps Q#3980, answer score: 27

Revisions (0)

No revisions yet.