Proxy groups: address records and health checks (off until switched on) #69
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "proxy-health"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Address records and health checks for proxy groups (design: section 4.5 of the certificates and discovery study). Off for every group until
manage_addressesis switched on; existing rows stay valid.What it does
SaltDns.AddressFilter, as for secondaries). The address a node enrolled or connected from is stored as a suggestion only, using the existing trusted-proxy handling.manage_addresseson, Salt keeps A and AAAA record sets for the group's address names (route hosts inside the organisation's active zones, unless the route says not to, plus extra names added by hand). TTL is a group setting (default 60, minimum 30).in->outafter 3 failed checks,out->inafter 6 good ones; an operator can drain a node and return it to automatic.proxy_published_records; a set edited afterwards is no longer ours; removals touch only the feature's own sets; a name under a delegation is refused; the apex is allowed. Writes use the zone mutation path with the new audit sourceproxy./api/v1/proxyendpoints (node addresses, drain, automatic, extra names, address names with state, PATCH of the address settings), OpenAPI, metrics, four alerts with promtool tests, docs, changelog.Schema: columns with defaults on
proxy_groups,proxy_routesandshaker_nodes; new tablesproxy_extra_namesandproxy_published_records; thechanges.sourcecheck admitsproxy;rrsets.ttllower bound moves from 60 to 30 (only theproxyactor may write below 60).Tests: state machine and name planning (pure, with properties), database tests for the whole loop with a fake prober and presence, prober tests against local listeners, API and console tests, metrics, and an integration test that shows the Knot primary serving the changed record set. Also fixes the rule count in
alert_rules_test.exs(it said 32, master already had 36).