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

Minimize the use of resourceGraph query for interface data #190

Merged
merged 1 commit into from
Apr 3, 2023

Conversation

reachjainrahul
Copy link
Contributor

It was been observed resource graph query doesnt give latest data of the network interface. For example, if ASG is getting attached on the interface and immediately in the next call, we try to update the interface with some other ASG, that interface may or may not have the previous ASG, leading to misleading update.

Here we use ResourceGraph query only to give interface to vnet mapping which is used for filtering in getInterfaces call.

Copy link
Contributor

@Anandkumar26 Anandkumar26 left a comment

Choose a reason for hiding this comment

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

/LGTM

@reachjainrahul
Copy link
Contributor Author

/nephe-test-e2e-azure, /nephe-test-e2e-aks

It was been observed resource graph query doesnt give latest
data of the network interface. For example, if ASG is getting attached
on the interface and immediately in the next call, we try to update the
interface with some other ASG, that interface may or may not have the
previous ASG, leading to misleading update.

Here we use ResourceGraph query only to give interface to vnet mapping
which is used for filtering in getInterfaces call.

Signed-off-by: Rahul Jain <[email protected]>
@reachjainrahul
Copy link
Contributor Author

/nephe-test-e2e-azure /nephe-test-e2e-aks

@reachjainrahul reachjainrahul merged commit a10e2a3 into main Apr 3, 2023
@reachjainrahul reachjainrahul deleted the antreaaccount branch April 3, 2023 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ResourceGraph query doesnt give real time interface data
2 participants