Issue with PVC Multi-Attach Error in Kubernetes with NetBox Housekeeping Pod #17997
Unanswered
AruPersia
asked this question in
Help Wanted!
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
We are running NetBox in a Kubernetes environment with Longhorn as the storage backend. We are encountering a multi-attach error with a PersistentVolumeClaim (PVC) (core-netbox-media), which is already being used by two pods (core-netbox-564bb575ff-ws7jp and core-netbox-worker-5889c8576f-5gd8f). When we try to start a third pod (core-netbox-housekeeping), it gets stuck in the ContainerCreating state due to the RWO (ReadWriteOnce) access mode restriction, as the volume is already attached to two other pods.
Is there a known solution or recommended approach for handling this type of volume sharing issue in NetBox's Kubernetes deployment? Any advice or suggestions would be greatly appreciated!
Thanks in advance.
More details:
This alarm is firing in my k8s cluster with 3 nodes and longhorn setup as block storage:
kubectl describe pod core-netbox-housekeeping-28856160-ldd9c:
kubectl get pvc core-netbox-media
kubectl get pods -o wide
Beta Was this translation helpful? Give feedback.
All reactions