Files
cloud-ip-validator/deploy/docker/validator-agent/validator-agent.yaml.tmpl
T
ayurishchevandClaude Opus 5.5 5c75ece8b1 Validator agent: retry outbound HTTPS up to 3 times, traceroute on failure
A failed HTTPS check is retried (3 attempts, 2 s apart). If all attempts
fail, the agent runs traceroute -4 -n to the target's IPv4 address in a
separate process, polls it every 5 s (90 s limit) and posts the full
output as a traceroute_result event for the address. The agent waits for
traces before reporting completion, while the floating IP is attached.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 22:45:21 +03:00

23 lines
977 B
Cheetah

validator_id: "${VALIDATOR_AGENT_VALIDATOR_ID}"
control_api_url: "${VALIDATOR_AGENT_CONTROL_API_URL}"
poll_interval_seconds: ${VALIDATOR_AGENT_POLL_INTERVAL_SECONDS}
self_check:
timeout_seconds: ${VALIDATOR_AGENT_SELF_CHECK_TIMEOUT_SECONDS}
methods: ${VALIDATOR_AGENT_SELF_CHECK_METHODS}
checks:
https_timeout_seconds: ${VALIDATOR_AGENT_HTTPS_TIMEOUT_SECONDS}
https_attempts: ${VALIDATOR_AGENT_HTTPS_ATTEMPTS}
https_retry_delay_seconds: ${VALIDATOR_AGENT_HTTPS_RETRY_DELAY_SECONDS}
traceroute:
enabled: ${VALIDATOR_AGENT_TRACEROUTE_ENABLED}
timeout_seconds: ${VALIDATOR_AGENT_TRACEROUTE_TIMEOUT_SECONDS}
max_hops: ${VALIDATOR_AGENT_TRACEROUTE_MAX_HOPS}
poll_interval_seconds: ${VALIDATOR_AGENT_TRACEROUTE_POLL_INTERVAL_SECONDS}
icmp_timeout_seconds: ${VALIDATOR_AGENT_ICMP_TIMEOUT_SECONDS}
icmp_count: ${VALIDATOR_AGENT_ICMP_COUNT}
ssh:
enabled: ${VALIDATOR_AGENT_SSH_ENABLED}
timeout_seconds: ${VALIDATOR_AGENT_SSH_TIMEOUT_SECONDS}