The scheduler plugin mode doesn't work when running under Kubernetes 1.27, as the v1beta1 version of CSIStorageCapacity was removed from the API server. This prevents the plugin from starting up as the informers won't sync, and scheduling is non-functional.
As v1 was not available until 1.24, so we will need to build against at least 1.24. However, this will remove compatibility for running on 1.21 through 1.23. This is tricky, as 1.22 and especially 1.23 are still widely deployed.
See https://issues.apache.org/jira/browse/YUNIKORN-1196?focusedCommentId=17531921&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17531921 for breaking changes in the API server identified the last time we upgraded our dependency on Kubernetes.
Opening this now to drive visibility and facilitate discussion.