Skip to content
This repository is currently being migrated. It's locked while the migration is in progress.

Set Pod scheduler - #40

Merged
croomes merged 1 commit into
masterfrom
admission-scheduler
Apr 7, 2021
Merged

croomes merged 1 commit into
masterfrom
admission-scheduler

Conversation

@croomes

@croomes croomes commented Mar 30, 2021

Copy link
Copy Markdown
Contributor

Adds a mutating webhook to set the StorageOS scheduler on pods with StorageOS PVCs.

@croomes
croomes requested review from avestuk and darkowlzz March 30, 2021 15:03
Comment thread go.mod Resolved

@darkowlzz darkowlzz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks really good.
Left a few inline comments.

Comment thread main.go Resolved
@croomes
croomes requested a review from darkowlzz March 31, 2021 11:28
@croomes
croomes force-pushed the admission-scheduler branch from 4853410 to e810f2c Compare March 31, 2021 12:34
Comment thread controllers/suite_test.go Resolved
@croomes
croomes force-pushed the admission-scheduler branch from cdc8ae0 to 27f8149 Compare April 1, 2021 19:28
Comment thread config/webhook/manifests.yaml Resolved

@darkowlzz darkowlzz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Overall, looks very good. Left a few inline comments.

Comment thread README.md Resolved
Comment thread README.md Resolved
Comment thread config/webhook/kustomization.yaml Resolved
Comment thread config/webhook/service.yaml Resolved

Certificates are rotated automatically and stored in a secret. Multiple
instances of the api-manager shared the same certificate and will check for
updates periodically, configured with the `-webhook-cert-refresh-interval` flag.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We may have to be less specific here when we add support for cert-manager project or add another paragraph about what happens when cert-manager is used.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

ok, we can update when we add cert-manager support.

Comment thread main.go Resolved
Comment thread config/webhook/service.yaml Resolved

@darkowlzz darkowlzz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!
There's one document to be updated https://github.com/storageos/api-manager/pull/40/files#r607888042
We can squash the commits and merge it.
Thanks for all the work.

@croomes
croomes force-pushed the admission-scheduler branch from dbd4e38 to 21a9a08 Compare April 7, 2021 10:47
@croomes
croomes force-pushed the admission-scheduler branch from 21a9a08 to bcab078 Compare April 7, 2021 10:58
@croomes
croomes merged commit 54811fb into master Apr 7, 2021
@croomes
croomes deleted the admission-scheduler branch April 7, 2021 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants