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

Version 1 Next »

\uD83E\uDD14 Problem

MongoDB pods cannot start due to persistent volume mounting error.

\uD83C\uDF31 Solution

Configure MongoDB to use a new persistent volume.

  1. Run command: kubectl edit statefulset mongo -n <onelist namespace>

  2. Change volumeMounts.name to a different value. For example: mongo-persistent-volume-2. Save the change.

  3. MongoDB pods will restart. A new persistent volume will be created and mounted by the new pods.

  • No labels