-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
Description
What happened:
W0527 06:31:36.249698 1 reflector.go:424] volcano.sh/volcano/pkg/controllers/jobflow/jobflow_controller.go:134: failed to list *v1alpha1.JobFlow: jobflows.flow.volcano.sh is forbidden: User "system:serviceaccount:volcano-system:volcano-controllers" cannot list resource "jobflows" in API group "flow.volcano.sh" at the cluster scope
E0527 06:31:36.249790 1 reflector.go:140] volcano.sh/volcano/pkg/controllers/jobflow/jobflow_controller.go:134: Failed to watch *v1alpha1.JobFlow: failed to list *v1alpha1.JobFlow: jobflows.flow.volcano.sh is forbidden: User "system:serviceaccount:volcano-system:volcano-controllers" cannot list resource "jobflows" in API group "flow.volcano.sh" at the cluster scope
W0527 06:31:36.251258 1 reflector.go:424] volcano.sh/volcano/pkg/controllers/jobflow/jobflow_controller.go:135: failed to list *v1alpha1.JobTemplate: jobtemplates.flow.volcano.sh is forbidden: User "system:serviceaccount:volcano-system:volcano-controllers" cannot list resource "jobtemplates" in API group "flow.volcano.sh" at the cluster scope
E0527 06:31:36.251306 1 reflector.go:140] volcano.sh/volcano/pkg/controllers/jobflow/jobflow_controller.go:135: Failed to watch *v1alpha1.JobTemplate: failed to list *v1alpha1.JobTemplate: jobtemplates.flow.volcano.sh is forbidden: User "system:serviceaccount:volcano-system:volcano-controllers" cannot list resource "jobtemplates" in API group "flow.volcano.sh" at the cluster scope
W0527 06:31:36.252173 1 reflector.go:424] volcano.sh/volcano/pkg/controllers/jobtemplate/jobtemplate_controller.go:120: failed to list *v1alpha1.JobTemplate: jobtemplates.flow.volcano.sh is forbidden: User "system:serviceaccount:volcano-system:volcano-controllers" cannot list resource "jobtemplates" in API group "flow.volcano.sh" at the cluster scope
E0527 06:31:36.252214 1 reflector.go:140] volcano.sh/volcano/pkg/controllers/jobtemplate/jobtemplate_controller.go:120: Failed to watch *v1alpha1.JobTemplate: failed to list *v1alpha1.JobTemplate: jobtemplates.flow.volcano.sh is forbidden: User "system:serviceaccount:volcano-system:volcano-controllers" cannot list resource "jobtemplates" in API group "flow.volcano.sh" at the cluster scope
What you expected to happen:
- add api groups
flow.volcano.sh
involcano-scheduler
andvolcano-controller
ClusterRole to make this warnings disapear. - add
flow.volcano.sh
to folderinstaller/helm/chart/volcano/crd
How to reproduce it (as minimally and precisely as possible):
deploy volcano controller with master branch
Anything else we need to know?:
need to add apigroup flow.volcano.sh
in sa
Environment:
- Volcano Version:
- Kubernetes version (use
kubectl version
): - Cloud provider or hardware configuration:
- OS (e.g. from /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.