generated from kubernetes/kubernetes-template-project
-
Notifications
You must be signed in to change notification settings - Fork 113
Open
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
Description
What happened:
Installing schedulerProvider: volcano via kubectl lacks RBAC configuration and results in an error.
│ 2025-09-01T02:30:16Z ERROR controller-runtime.cache.UnhandledError Failed to wa ││ tch {"reflector": "pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:285", "t ││ ype": "*v1beta1.PodGroup", "error": "failed to list *v1beta1.PodGroup: podgroups.schedul ││ ing.volcano.sh is forbidden: User \"system:serviceaccount:lws-system:lws-controller-mana ││ ger\" cannot list resource \"podgroups\" in API group \"scheduling.volcano.sh\" at the c ││ luster scope"} ││ k8s.io/apimachinery/pkg/util/runtime.logError ││ /go/pkg/mod/k8s.io/[email protected]/pkg/util/runtime/runtime.go:226 ││ k8s.io/apimachinery/pkg/util/runtime.handleError ││ /go/pkg/mod/k8s.io/[email protected]/pkg/util/runtime/runtime.go:217 ││ k8s.io/apimachinery/pkg/util/runtime.HandleErrorWithContext ││ /go/pkg/mod/k8s.io/[email protected]/pkg/util/runtime/runtime.go:203 ││ k8s.io/client-go/tools/cache.DefaultWatchErrorHandler
What you expected to happen:
Modify docs/examples/sample/gang-scheduling/README.md or the installation steps to ensure proper RBAC configuration when installing via kubectl.
How to reproduce it (as minimally and precisely as possible):
Following the installation steps in docs/examples/sample/gang-scheduling/README.md will result in an error.
Anything else we need to know?:
Environment:
- Kubernetes version (use
kubectl version): - LWS version (use
git describe --tags --dirty --always): v0.7.0 - Cloud provider or hardware configuration:
- OS (e.g:
cat /etc/os-release): - Kernel (e.g.
uname -a): - Install tools:
- Others:
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.