Events:
Type Reason Age From Message
Warning FailedScheduling 4m55s (x98 over 8h) default-scheduler 0/2 nodes are available: 2 node(s) didn’t find available persistent volumes to bind. preemption: 0/2 nodes are available: 2 Preemption is not helpful for scheduling.
I assume the pods have a PVC linked volume. Are any of the available PVs compatible? Also, are you using a storage class? Which are you using, if you are?
helm install prometheus prometheus-community/prometheus --namespace prometheus --set alertmanager.persistentVolume.storageClass=“gp2” --set server.persistentVolume.storageClass=“gp2”
I’m using above command for creating prometheus
Storage Class: The command specifies “gp2” as the storage class for both pods.
So this is on GCP? I don’t know off hand how you’d want to configure your pods so that auto-provisioning of volumes will occur, but that’s what you’d want.
Issue got resolved now. I was creating on AWS and issue was with IAM OIDC connection