name: atp-agent
external: false
cmd: adp-agent
args: ["-e"]
routes:
- /api/atp-agent
location: http://127.0.0.1:9772
configuration-endpoint: /api/atp-agent/v1/configuration
standby-endpoint: /api/atp-agent/v1/standby
restart-policy: # optional
max-attempts: 30 # how many times we would try to restart a unit that is failing on start
attempt-delay: 30s # delay between restart attempts
kill-timeout: 60s # how long would Core Agent wait for Agent Unit graceful shutdown (stop) before killing it
healthcheck: # optional
timeout: 20s # health-check request timeout (including connection time)
interval: 30s # how often Core Agent would send health-check requests to Agent Unit
max-failures: 2 # how many times health-check should fail before Core Agent would confirm the death
endpoint: /api/atp-agent/v1/healthcheck # endpoint for healthcheck REST call from Core Agent to Agent Unit
hooks:
registration:
post: /api/atp-agent/v1/registration/post
unregistration:
post: /api/atp-agent/v1/unregistration/post
|