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

Check last updated endpoint before polling policies #88

Merged
merged 1 commit into from
Jul 26, 2023

Conversation

mariash
Copy link
Member

@mariash mariash commented Jul 25, 2023

This PR accompanies cloudfoundry/cf-networking-release#231

Vxlan policy agent first checks the last updated endpoint of policy server and if there was an update (new policy created or deleted) it will run the poll cycle and poll all policies for containers on Diego cell. It will also run poll cycle if getting policies returns an error for backwards compatibility with old policy servers.

It only does this in the converger and not when forcing poll cycle during container creation.

@mariash mariash requested a review from a team as a code owner July 25, 2023 16:27
Copy link
Contributor

@jrussett jrussett left a comment

Choose a reason for hiding this comment

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

Ok, after two rounds of approval, I'm so happy to accept this!

@jrussett jrussett merged commit a0bda97 into develop Jul 26, 2023
@jrussett jrussett deleted the last-updated branch December 7, 2023 20:47
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.

2 participants