Skip to content
This repository has been archived by the owner on Apr 11, 2018. It is now read-only.

Financial-Times/coco-fleet-unit-healthcheck

Repository files navigation

Coco Fleet Unit Healthcheck

Circle CI

Uses fleet api to look at all the units running in the cluster which are in a failed state.

Building

go build -o coco-fleet-unit-healthcheck .

docker build -t coco/coco-fleet-unit-healthcheck .

Running

docker run \
    --env FLEET_ENDPOINT=http://localhost:49153 \
    coco/coco-fleet-unit-healthcheck

Binary

ssh -D 2323 -N core@$FLEETCTL_TUNNEL
./coco-fleet-unit-healthcheck --socks-proxy="localhost:2323" -fleetEndpoint="http://localhost:49153"

Command-line options

###socks-proxy Use specified SOCKS proxy (e.g. localhost:2323). ###fleetEndpoint Fleet API http endpoint: http://host:port. ###timerBasedServices Comma-separated list of regular expressions defining services whose running status is not checked.