You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configured policies are written at startup, and the last pod to start wins. During a rolling upgrade, an old pod that restarts brings back the old rules until the next start of a new pod.
Proposal
Stamp configured policies with a generation, such as a version or a config hash with an ordering value, and let a pod write only if its generation isn't older than the stored one. Log a warning when it skips. Rollbacks need a documented, deliberate way to overwrite.
Acceptance criteria
Tests: old pod after new pod leaves the rules alone; new after old replaces them; rollback path; first start without a stamp; 100% coverage.
Docs: deployment guide. The foca CLI issue's sync-policies uses the same code.
Activity