Skip to content

Commit 7bac114

Browse files
authored
Merge pull request #42864 from ingvagabund/custom-scheduler-volume-scheduler-crb
bug 2043153: custom-scheduler: deploy system:volume-scheduler crb
2 parents 67dbec1 + f9997f6 commit 7bac114

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

modules/nodes-custom-scheduler-deploying.adoc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,19 @@ roleRef:
4545
name: system:kube-scheduler
4646
apiGroup: rbac.authorization.k8s.io
4747
---
48+
apiVersion: rbac.authorization.k8s.io/v1
49+
kind: ClusterRoleBinding
50+
metadata:
51+
name: custom-scheduler-as-volume-scheduler
52+
subjects:
53+
- kind: ServiceAccount
54+
name: custom-scheduler
55+
namespace: kube-system <1>
56+
roleRef:
57+
kind: ClusterRole
58+
name: system:volume-scheduler
59+
apiGroup: rbac.authorization.k8s.io
60+
---
4861
apiVersion: apps/v1
4962
kind: Deployment
5063
metadata:

0 commit comments

Comments
 (0)