You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened:
Using kube-prometheus-stack chart with an CSI azure-disk managed disk doesn't work due to permission issues. The chart sets as defaults:
The text was updated successfully, but these errors were encountered:
ams0
changed the title
nvalid volume permissions with CSI driver with kube-prometheus-stack
Invalid volume permissions with CSI driver with kube-prometheus-stack
Aug 7, 2021
Thanks, recreating the CSIDriver object worked. I forgot to say that I'm using a statically provisioned disk and just a PV referencing it, not a storageClass, and the PV definition already had fsType: ext4:
What happened:
Using kube-prometheus-stack chart with an CSI azure-disk managed disk doesn't work due to permission issues. The chart sets as defaults:
using a PV of type
disk.csi.azure.com
with the chart will lead to this error:Setting the pod to run as root fixes the problem but it's not ideal:
What you expected to happen:
Prometheus running fine on managed disks with CSI drivers
How to reproduce it:
Anything else we need to know?:
Linked from prometheus-community/helm-charts#1189
Environment:
kubectl version
): 1.21.2uname -a
):The text was updated successfully, but these errors were encountered: