Skip to content
This repository was archived by the owner on Nov 9, 2022. It is now read-only.
This repository is currently being migrated. It's locked while the migration is in progress.

Create roles for scheduling#339

Merged
mhmxs merged 3 commits intomasterfrom
roles-for-scheduling
Jun 8, 2021
Merged

Create roles for scheduling#339
mhmxs merged 3 commits intomasterfrom
roles-for-scheduling

Conversation

@mhmxs
Copy link
Contributor

@mhmxs mhmxs commented Jun 3, 2021

New implementation of scheduler uses api server to detect pod volume types, and it needs more rights to do.

@mhmxs mhmxs requested review from croomes and darkowlzz June 3, 2021 09:49
SchedulerClusterRoleName = "storageos:scheduler-extender"
SchedulerClusterBindingName = "storageos:scheduler-extender"

SchedulingClusterRoleName = "storageos:scheduling-extender"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Scheduler for kube-scheduler and Scheduling for the extender could be confusing.
How about SchedExt or SchedulerExt?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The suggested names are also confusing for me. Which one is which? Let me find some better name for them.

SchedulerClusterRoleName = "storageos:scheduler-extender"
SchedulerClusterBindingName = "storageos:scheduler-extender"
KubeSchedulerClusterRoleName = "storageos:kube-scheduler"
KubeSchedulerClusterBindingName = "storageos:kube-scheduler"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This name change is good but I'm afraid we shouldn't change an existing resource name. This will require migration process/step to the new version.

@mhmxs mhmxs force-pushed the roles-for-scheduling branch from 9fee94f to 1c6273c Compare June 7, 2021 14:35
@mhmxs mhmxs merged commit eb1b5d5 into master Jun 8, 2021
@mhmxs mhmxs deleted the roles-for-scheduling branch June 8, 2021 04:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants