A few check and fixer scripts to clean up services in my running instances.
Go to file
Ian Fijolek 40a37943a0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Fix error catching with socket connections
When changing to the new library, it broke the path to Error classes
2023-12-21 16:29:32 -08:00
.drone.yml Secondary initial commit with scripts from other repo 2023-10-19 12:38:13 -07:00
.gitignore Fix error catching with socket connections 2023-12-21 16:29:32 -08:00
.pre-commit-config.yaml Secondary initial commit with scripts from other repo 2023-10-19 12:38:13 -07:00
Dockerfile Add git for git version 2023-10-19 13:20:02 -07:00
LICENSE Initial commit 2023-10-19 19:20:15 +00:00
nomad_missing_services.py Fix error catching with socket connections 2023-12-21 16:29:32 -08:00
nomad_orphan_services.py Fix error catching with socket connections 2023-12-21 16:29:32 -08:00
README.md Secondary initial commit with scripts from other repo 2023-10-19 12:38:13 -07:00
requirements.txt Fix lint 2023-10-19 13:18:17 -07:00

nomad-service-fixers

A few check and fixer scripts to clean up services in my running instances.

These make use of requests-unixsocket so that they can target the workload API from within a Nomad task.

Included scripts:

  • ./nomad_missing_services.py: Looks for running allocs who's services appear to have dissapeared.
  • ./nomad_orphan_services.py: Looks for services who's allocs appear to have dissapeared.

This is on DockerHub as iamthefij/nomad-service-fixers.