Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

\uD83E\uDD14 Problem

MongoDB pods cannot start due to persistent volume mounting error.

\uD83C\uDF31 Solution

Recreate persistent volume claim.

  1. Open to MongoDB statefulset deployment yaml.

  2. Set replicas to 0. Save and wait for all pods terminates.

  3. Go to Storage → Persistent volume claims. Select the persistent volume claim belongs to the failing mogodb deployment and delete it.

  4. Go back to the MongoDB stateful set deployment yaml and change replicas to 1.

  5. The pod should be able to start now.

  • No labels