cloudfoundry / cf-networking-release

Container Networking for CloudFoundry
Apache License 2.0
66 stars 72 forks source link

Add policies_last_updated endpoint to internal policy server #231

Closed mariash closed 1 year ago

mariash commented 1 year ago

policies_last_updated endpoint can be used by policy agents to determine if they need to pull new policies.

This will help with resource consumption on database VM and overall traffic going through the system. Since policy agents default to polling policies every 5s this is especially visible as a problem in environments with hundreds of Diego cells and thousands of policies.

In this PR: