Skip to content

Commit

Permalink
Merge pull request #477 from tenzen-y/allow-to-access-subresources
Browse files Browse the repository at this point in the history
Clean up manifests for all-in-one installation
  • Loading branch information
k8s-ci-robot authored Jan 19, 2023
2 parents c751e25 + d502f68 commit 822c4fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ any vanilla Kubernetes scheduling capability. Instead, a lot of extra out-of-box
< name: sched-cc
```

1. Verify that kube-scheduler pod is running properly with a correct image: `k8s.gcr.io/scheduler-plugins/kube-scheduler:v0.22.6`
1. Verify that kube-scheduler pod is running properly with a correct image: `k8s.gcr.io/scheduler-plugins/kube-scheduler:v0.24.9`

```bash
$ kubectl get pod -n kube-system | grep kube-scheduler
Expand Down
6 changes: 3 additions & 3 deletions manifests/install/all-in-one.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: system:kube-scheduler:plugins
rules:
- apiGroups: ["scheduling.sigs.k8s.io"]
resources: ["podgroups", "elasticquotas"]
resources: ["podgroups", "elasticquotas", "podgroups/status", "elasticquotas/status"]
verbs: ["get", "list", "watch", "create", "delete", "update", "patch"]
---
kind: ClusterRoleBinding
Expand Down Expand Up @@ -44,7 +44,7 @@ rules:
resources: ["pods"]
verbs: ["get", "list", "watch"]
- apiGroups: ["scheduling.sigs.k8s.io"]
resources: ["podgroups", "elasticquotas"]
resources: ["podgroups", "elasticquotas", "podgroups/status", "elasticquotas/status"]
verbs: ["get", "list", "watch", "create", "delete", "update", "patch"]
---
kind: ClusterRoleBinding
Expand Down Expand Up @@ -77,7 +77,7 @@ spec:
labels:
app: scheduler-plugins-controller
spec:
serviceAccount: scheduler-plugins-controller
serviceAccountName: scheduler-plugins-controller
containers:
- name: scheduler-plugins-controller
image: registry.k8s.io/scheduler-plugins/controller:v0.24.9
Expand Down

0 comments on commit 822c4fe

Please sign in to comment.