Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PWX-36110] Cherry-Pick Stork KubeSchedulerConfig changes #1445

Merged
merged 2 commits into from
Feb 14, 2024

Conversation

olavangad-px
Copy link
Contributor

@olavangad-px olavangad-px commented Feb 14, 2024

Signed-off-by: Omkar Lavangad olavangad@purestorage.com

What this PR does / why we need it:
KubeSchedulerConfiguration v1beta3 is deprecated in v1.26 and is removed in v1.29. We must migrate to KubeSchedulerConfiguration to v1.
This PR is to cherry-pick the changes made as part of #1395 to 23.10.4 release branch

Which issue(s) this PR fixes (optional)
Closes PWX-36110, PWX-35604

Special notes for your reviewer:
These changes have already been reviewed in #1395 .
Here, I am only cherry-picking the required commits (not the entire squashed commit because it was slightly modified when resolving conflicts with master branch)

Testing Details
Have verified with custom image locally that changes are working as expected.
Config map is updated in existing setup (k8s v1.27.2) when operator is upgraded and existing workloads are not rescheduled.

Copy link

codecov bot commented Feb 14, 2024

Codecov Report

Attention: 11 lines in your changes are missing coverage. Please review.

Comparison is base (a71c62d) 79.79% compared to head (c415d1f) 79.79%.

Files Patch % Lines
pkg/controller/storagecluster/stork.go 87.91% 8 Missing and 3 partials ⚠️
Additional details and impacted files
@@               Coverage Diff                @@
##           release-23.10.4    #1445   +/-   ##
================================================
  Coverage            79.79%   79.79%           
================================================
  Files                   60       60           
  Lines                17687    17721   +34     
================================================
+ Hits                 14113    14141   +28     
- Misses                2584     2588    +4     
- Partials               990      992    +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@olavangad-px olavangad-px marked this pull request as ready for review February 14, 2024 10:02
@olavangad-px olavangad-px merged commit ffd754c into release-23.10.4 Feb 14, 2024
5 checks passed
@olavangad-px olavangad-px changed the title Pwx 36110 [PWX-36110] Cherry-Pick Stork KubeSchedulerConfig changes Feb 14, 2024
olavangad-px added a commit that referenced this pull request Feb 14, 2024
* Update KubeSchedulerConfiguration to api v1 for k8s version 1.25+

* Addressing comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant