Hello, I deployed NeuVector using the neuvector He...
# neuvector-security
b
Hello, I deployed NeuVector using the neuvector Helm Chart. I want to enable the PVs for the Controller Pods but our storage backend does not support PVs with Access Mode "ReadWriteMany" RWX. When I tried to deploy NeuVector with Access Mode "ReadWriteOnce" only one Controller is starting because of a Multi-Attach error:
Copy code
"Multi-Attach error for volume "pvc-621be7dd-989a-4d63-8eb4-bb893af553b3" Volume is already used by pod(s) neuvector-controller-pod-6d6684c7b6-4h5gs"
I know that the Values Schema (https://github.com/neuvector/neuvector-helm/blob/master/charts/core/values.schema.json) clearly states "Access modes for the created PVC. *Requires RWX*" but is there a workaround?
Copy code
""accessModes": {
              "type": "array",
              "description": "Access modes for the created PVC. Requires RWX",
              "items": {
                "enum": ["ReadWriteOnce", "ReadOnlyMany", "ReadWriteMany", "ReadWriteOncePod"]
              }"
h
you can run single replica of controller
👍 1
in values.yaml
Copy code
controller:
  pvc:
    enabled: true
    storageClass: <storage_class>
  replicas: 1
b
Thanks for the response. I didn't come up with the obvious solution myself.