Skip to content

porting changes from community issue 77733 (#1151)#1173

Merged
centaurus-cloud-bot merged 6 commits intoCentaurusInfra:masterfrom
yb01:yb01-930
Sep 17, 2021
Merged

porting changes from community issue 77733 (#1151)#1173
centaurus-cloud-bot merged 6 commits intoCentaurusInfra:masterfrom
yb01:yb01-930

Conversation

@yb01
Copy link
Collaborator

@yb01 yb01 commented Sep 8, 2021

removing redundant code

moving podInformer to node controller scope

adding lock to node data map

eviction processing refactor

adding fakeGetPodsAssignedToNode

adding pods to DeletePods parameters

adding pods to MarkPodsNotReady parameters

using pod pointers in node lifecycle controller

MarkPodsNotReady retry fix

adding test for retrying MarkPodsNotReady

adding pods lister

  • fix for multiple TP logic in new ported code

  • minor fix and UT fix

  • more node controller UT fixes

  • more node controller UT fixes

  • fix ut failures and minor updates

  • optimize the case where the pods is empty on node for a TP

Co-authored-by: Krzysztof Siedlecki ksiedlecki@google.com

What type of PR is this?

Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:

/kind api-change
/kind bug
/kind cleanup
/kind design
/kind documentation
/kind failing-test
/kind feature
/kind flake

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


* Porting code from k8s https://github.com/kubernetes/kubernetes/pull/88962/files

removing redundant code

moving podInformer to node controller scope

adding lock to node data map

eviction processing refactor

adding fakeGetPodsAssignedToNode

adding pods to DeletePods parameters

adding pods to MarkPodsNotReady parameters

using pod pointers in node lifecycle controller

MarkPodsNotReady retry fix

adding test for retrying MarkPodsNotReady

adding pods lister

* fix for multiple TP logic in new ported code

* minor fix and UT fix

* more node controller UT fixes

* more node controller UT fixes

* fix ut failures and minor updates

* optimize the case where the pods is empty on node for a TP

Co-authored-by: Krzysztof Siedlecki <ksiedlecki@google.com>
@yb01 yb01 removed the do-not-merge label Sep 9, 2021
@yb01
Copy link
Collaborator Author

yb01 commented Sep 9, 2021

cherry-picked an dependent PR from scale-930 branch as well. removed do-not-merge flag.

Copy link
Collaborator

@Sindica Sindica left a comment

Choose a reason for hiding this comment

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

/lgtm

@zmn223
Copy link
Collaborator

zmn223 commented Sep 17, 2021

/approve

@centaurus-cloud-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Sindica, zmn223

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@centaurus-cloud-bot centaurus-cloud-bot merged commit d34f157 into CentaurusInfra:master Sep 17, 2021
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.

4 participants