Skip to content

Commit

Permalink
Merge pull request kosmos-io#157 from duanmengkk/release-1.21-fix
Browse files Browse the repository at this point in the history
fix: fix the kosmos deploy yaml error
  • Loading branch information
kosmos-robot authored Oct 25, 2023
2 parents 9e424ef + 7b33b14 commit e7be0b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 2 additions & 3 deletions deploy/scheduler/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ spec:
image: ghcr.io/kosmos-io/scheduler:0.0.2
command:
- scheduler
- --leader-elect=true
- --leader-elect-resource-name=kosmos-scheduler
- --leader-elect-resource-namespace=kosmos-system
- --config=/etc/kubernetes/kube-scheduler/scheduler-config.yaml
resources:
requests:
Expand Down Expand Up @@ -67,6 +64,8 @@ data:
kind: KubeSchedulerConfiguration
leaderElection:
leaderElect: true
resourceName: kosmos-scheduler
resourceNamespace: kosmos-system
profiles:
- schedulerName: kosmos-scheduler
plugins:
Expand Down
2 changes: 0 additions & 2 deletions deploy/scheduler/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ rules:
- ''
resources:
- endpoints
resourceNames:
- kube-scheduler
- verbs:
- get
- list
Expand Down

0 comments on commit e7be0b3

Please sign in to comment.