Kubernetes PVC connection issue

masoud habibi 20 Reputation points
2024-08-19T23:26:26.6466667+00:00

Our website all of a sudden stopped working, and we are getting the internal server error.

I have an issue with my kubernetes cluster in Azure. My database cannot connect to PVC. It's giving me the below error:

Unable to attach or mount volumes: unmounted volumes=[data], unattached volumes=[data kube-api-access-g65ls dshm]: timed out waiting for the condition

Important thing to me is that current data won't be deleted. Thank you for your help.

Azure Kubernetes Service
Azure Kubernetes Service
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,456 questions
{count} votes

Accepted answer
  1. Mounika Reddy Anumandla 6,845 Reputation points Microsoft External Staff Moderator
    2024-08-23T08:42:56.4433333+00:00

    Hi masoud habibi

    Thank you for confirming that the issue is resolved.

    As an original poster cannot accept their own answer, I am reposting it so that you can accept it an answer. Accepted answer will help other community members navigate to the appropriate solutions.

    Issue: Kubernetes PVC connection issue

    **Solution:**The root cause turned out to be one of the nodes where the volume and the pod were running. We had to remove and make a new node.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. masoud habibi 20 Reputation points
    2024-08-22T22:55:18.1333333+00:00

    The root cause turned out to be one of the nodes where the volume and the pod were running. We had to remove and make a new node. Thank you for your help.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.