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

Generate a PodTemplate for each EDS #110

Merged
merged 3 commits into from
Aug 9, 2021
Merged

Generate a PodTemplate for each EDS #110

merged 3 commits into from
Aug 9, 2021

Conversation

ahmed-mez
Copy link
Contributor

@ahmed-mez ahmed-mez commented Aug 6, 2021

What does this PR do?

Generate a PodTemplate for each EDS as preparation for kubernetes/autoscaler#3964

Motivation

Read kubernetes/autoscaler#3873 for context

Additional Notes

Anything else we should know when reviewing?

Describe your test plan

Deploy a EDS and make sure a corresponding PodTemplate object with the same name and namespace has the same lifecycle of the EDS object (creation/update/deletion) and has the label cluster-autoscaler.kubernetes.io/daemonset-pod=true

@ahmed-mez ahmed-mez added enhancement New feature or request component/controller labels Aug 6, 2021
@ahmed-mez ahmed-mez added this to the v0.7 milestone Aug 6, 2021
@ahmed-mez ahmed-mez requested a review from a team as a code owner August 6, 2021 12:50
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

This pull request contains a valid label.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

This pull request contains a valid label.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

This pull request contains a valid label.

@codecov-commenter
Copy link

codecov-commenter commented Aug 6, 2021

Codecov Report

Merging #110 (d3de04d) into main (63283d2) will increase coverage by 0.66%.
The diff coverage is 69.62%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #110      +/-   ##
==========================================
+ Coverage   51.24%   51.90%   +0.66%     
==========================================
  Files          39       41       +2     
  Lines        2096     2175      +79     
==========================================
+ Hits         1074     1129      +55     
- Misses        938      954      +16     
- Partials       84       92       +8     
Flag Coverage Δ
unittests 51.90% <69.62%> (+0.66%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
controllers/podtemplate/controller.go 67.74% <67.74%> (ø)
controllers/setup.go 78.37% <75.00%> (-0.94%) ⬇️
controllers/podtemplate_controller.go 77.77% <77.77%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 63283d2...d3de04d. Read the comment docs.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

This pull request contains a valid label.

Copy link
Collaborator

@clamoriniere clamoriniere left a comment

Choose a reason for hiding this comment

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

💯

@ahmed-mez ahmed-mez merged commit 4a5185d into main Aug 9, 2021
@ahmed-mez ahmed-mez deleted the ahmed/podtemplate branch August 9, 2021 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants