12

enter image description here

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.

  • 1
    Not enough cpu share or memory exhausted... – Tensibai Apr 27 '18 at 13:32
  • Thank you @030 I found one small typo in your answer kubectl desribe pod <pod-name> should be... kubectl describe pod <pod-name> – Connor Ross Jun 26 '18 at 0:14
  • Hi @030, how you have fixed this issue? please! – Abdul Rehman Jul 5 '18 at 6:25
  • @AbdulRehman Please check the accepted answer – 030 Jul 5 '18 at 16:36
6

As @Tensibai indicated in one the comments, this could be caused as there is unsufficient 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 <pod-name> 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.

  • Hi @030, what is the solution? – Abdul Rehman Jul 5 '18 at 5:37
  • 1
    @AbdulRehman the livenessProbe failed – 030 Jul 5 '18 at 16:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.