optimize workload update#590
Conversation
Signed-off-by: wuchangye <wuchangye@huawei.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
|
/cherry-pick release-0.4 |
|
@hzxuzhonghu: once the present PR merges, I will cherry-pick it on top of release-0.4 in a new PR and assign it to you. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
| backend_uid := p.hashName.StrToNum(workload.GetUid()) | ||
| // a Pod may be added to a certain service in the future, so it is necessary to delete the Pod info | ||
| // that was previously added as an independent Pod to the frontend map. | ||
| if err = p.deletePodFrontendData(backend_uid); err != nil { |
There was a problem hiding this comment.
should we track the case pod ip changed in a issue
There was a problem hiding this comment.
should we track the case pod ip changed in a issue
yes, it will be supported later.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hzxuzhonghu The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@hzxuzhonghu: new pull request created: #592 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What type of PR is this?
/kind enhancement
What this PR does / why we need it:
Even if a workload is associated with a service, the workload can still be directly accessed.
Which issue(s) this PR fixes:
Fixes #503
Special notes for your reviewer:
Does this PR introduce a user-facing change?: