Skip to content

Conversation

@JungukCho
Copy link
Contributor

@JungukCho JungukCho commented May 4, 2021

Reason for Change:

The shared NsMap local cache is incorrectly managed between nameSpaceController and PodController. So, if the podController first reconciles the event and adds the npm-namespace object into NsMap, nameSpaceController missed the chance to call AddToList function since the npm-namespace object exists in our NsMap cache.

In this PR, podController adds the npm-namespace object into NsMap only after successfully completing ipset operations for namespace of the pod if the npm-namespace object does not exist in NsMap cache.

Issue Fixed:

#865

Requirements:

Notes:

@JungukCho JungukCho added bug npm Related to NPM. labels May 4, 2021
@vakalapa vakalapa linked an issue May 4, 2021 that may be closed by this pull request
@JungukCho JungukCho merged commit 8648739 into Azure:master May 5, 2021
vakalapa added a commit that referenced this pull request May 25, 2021
…SpaceController and PodController (#866)"

This reverts commit 8648739.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug npm Related to NPM.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Azure-NPM intermittent issues with namespaceSelector: {}

2 participants