Skip to content

Conversation

@huntergregory
Copy link
Contributor

@huntergregory huntergregory commented Sep 1, 2022

When getting endpoints to apply a policy, ignore IPs that have a different pod key in the ipsetmanager versus the endpoint cache (in case the pod controller hasn't updated the dp yet that the IP's pod owner has changed).

@huntergregory huntergregory added the npm Related to NPM. label Sep 1, 2022
@huntergregory huntergregory requested a review from a team as a code owner September 1, 2022 07:58
@huntergregory huntergregory requested review from matmerr and removed request for a team September 1, 2022 07:58
@huntergregory huntergregory force-pushed the win-npm-skip-adding-policy-to-stale-ip branch 2 times, most recently from 93ad337 to f2b2249 Compare September 6, 2022 21:07
@huntergregory huntergregory force-pushed the win-npm-skip-adding-policy-to-stale-ip branch from f2b2249 to 72672a6 Compare September 12, 2022 23:01
ck319
ck319 previously approved these changes Sep 13, 2022
matmerr
matmerr previously approved these changes Sep 13, 2022
@huntergregory huntergregory dismissed stale reviews from matmerr and ck319 via 3e370f3 November 3, 2022 02:15
@huntergregory huntergregory force-pushed the win-npm-skip-adding-policy-to-stale-ip branch from 72672a6 to 3e370f3 Compare November 3, 2022 02:15
@huntergregory
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@vakalapa vakalapa merged commit 3c08f86 into master Nov 10, 2022
@vakalapa vakalapa deleted the win-npm-skip-adding-policy-to-stale-ip branch November 10, 2022 17:49
rjdenney pushed a commit to rjdenney/azure-container-networking that referenced this pull request Jan 19, 2023
…od (Azure#1569)

* don't apply policy to IP's old pod owner

* fix podkey/ip check

* test case for pod key check

* clarify error message

* fix windows lint and have complete UT coverage of isIPAffiliated

* comment out flaky UT for now
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

npm Related to NPM.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants