PVC with storageClass: default renders karpenter unable to schedule pods #497
Labels
area/e2e-testing
Issues or PRs related to e2e testing
area/storage
Issues or PRs related to storage
kind/bug
Categorizes issue or PR as related to a bug.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
Version
Karpenter Version: v0.5.4
Kubernetes Version: v1.30.3
Expected Behavior
A PersistendVolumeClaim with storageClass: default should work out of the box.
Actual Behavior
As described in the logs, since the storageClass default does not have any availability zone restrictions, karpenter tags the pod with an empty list of required zones, which effectively makes all existing SKUs incompatible.
If the storageClass does not have any zone restrictions, karpenter should not add the topology.disk.csi.azure.com/zone tag at all.
Steps to Reproduce the Problem
Try scheduling any pod with a PVC (storageClass: default, probably any of the AKS preconfigured storage classes) with self-hosted NAP.
Resource Specs and Logs
Community Note
The text was updated successfully, but these errors were encountered: