Operational sanity checks
Preserve the pre-change version, doctor report, metric snapshot, policy version, catalog listing, and audit cursor.
Run the checks below using the configuration, policy and metrics address for this deployment.
gdsgate --version, config doctor, policy validation, and node health exit 0; /healthz is 200; /readyz is 200 when startup and runtime readiness checks pass; the controlled session opens and closes.
Stop the rollout on any non-zero command, missing persistent state, readiness 503 after the role's startup milestone, policy or catalog mismatch, registration refusal, or missing audit evidence. Keep traffic closed, compare the post-check result with the saved pre-change record, and use the relevant change or resilience procedure.
Restore the last verified artifact and persistent state without deleting audit or migration rows.
Run these checks before and after a planned change. They are
separate from liveness: a process can answer /healthz with 200 while its
role has not set readiness or while a Connector has no active tunnel.
Authority and Proxy also check runtime store and leader dependencies on every
readiness request. Authority readiness and
Proxy readiness describe the HA checks.
set -euo pipefail
CONFIG="<config-file>"
POLICY="<policy-file>"
METRICS_ADDR="<metrics-host>:<metrics-port>"
gdsgate --version
gdsgate --config "$CONFIG" doctor
gdsgate --config "$CONFIG" authority policy validate "$POLICY"
curl --fail --silent --show-error -o /dev/null -w '%{http_code}\n' "http://${METRICS_ADDR}/healthz"
curl --fail --silent --show-error -o /dev/null -w '%{http_code}\n' "http://${METRICS_ADDR}/readyz"
gdsgate --config "$CONFIG" authority nodes list --healthFor a role without an Authority client, use the role's configured doctor and
HTTP checks and mark the node-health command not applicable. For a Connector,
also compare the Proxy's gdsgate_active_connector_tunnels and registration
refusal counters with the expected fleet. For a controlled session, use a
non-sensitive test resource, then verify the corresponding session.open and
session.close evidence with the audit procedure. Use audit verification for
chain integrity and the CA administration commands for rotation status.