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

Update DNS Record reconciler to consult relevant HealthCheckProbe CR during DNS publishing #148

Open
Tracked by #141
philbrookes opened this issue May 30, 2024 · 0 comments

Comments

@philbrookes
Copy link
Collaborator

philbrookes commented May 30, 2024

When processing apply changes, the DNS Record reconciler will need to be updated to list all health checks it owns, and take the following actions:

healthy definitions

  • If the Leaf Address has no health check CR - it is healthy
  • If the health check CR has insufficient failures - it is healthy
  • If the health check CR was last updated too long ago - it is healthy
  • If the health check CR is deleting - it is healthy
  • If the health check is a CNAME and any IP is healthy - the CNAME is healthy

unhealthy definitions

  • If the health check has a recent updated time and has failureCount >= failureThreshold - it is unhealthy

Any records deemed unhealthy by these rules should be removed from the zone. If that results in an empty zone, leave the zone unmodified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

2 participants