Tool to check periodically a set of services defined in a configuration schema.
-
Clone the project in the path you want:
$ git clone https://github.com/rubenmromero/endpoints-checker.git
-
If you want to customize the configuration schema file before the first tool execution, create a copy of
schema.yml.dist
template namedschema.yml
and update it:# From the project root folder $ cp -p schema.yml.dist schema.yml $ vi schema.yml
$ pip3 install -r requirements.txt
$ export NOTIF_TOKEN=<token>
$ python3 checker.py
$ export NOTIF_TOKEN=<token>
$ docker-compose up -d
$ export NOTIF_TOKEN=<token>
$ kubectl apply -f checker-service.yaml,checker-claim0-persistentvolumeclaim.yaml,checker-deployment.yaml