commit | 0dd808ef18c8982684a7e36545a8f65ba26b70fa | [log] [tgz] |
---|---|---|
author | Daniel Gruno <humbedooh@apache.org> | Wed Jun 17 08:12:58 2020 +0200 |
committer | GitHub <noreply@github.com> | Wed Jun 17 08:12:58 2020 +0200 |
tree | 06d9b46bce44739b116fcad7f61ef531c71e2d96 | |
parent | 3b7646e1501c6257538a8d7fdc4b805ad98be608 [diff] |
Update README.md
KIF - Kill It (with) Fire. Janitorial service for ASF Infra. See https://github.com/humbedooh/kif for some more details. This is a modified version that differs from upstream for now.
To install on an infra node, add the following yaml snippet to it:
pipservice: kif: tag: master
To have a specific rule run on certain nodes, please add the rule to kif.yaml, and make use of host_must_match
or host_must_not_match
definitions to narrow down where to run the rule-set, like so:
zombies_on_gitbox: description: 'Any gitweb process caught in zombie mode' host_must_match: gitbox.apache.org procid: '/usr/bin/git' triggers: # This can be any process state (zombie, sleeping, running, etc) # Or a git process > 30 minutes old. state: 'zombie' maxage: 30m kill: true killwith: 9
Both host_must_match
and host_must_not_match
are regular expressions and must match the full hostname. Be sure to use double escaping for keywords, for instance \\d
instead of \d
, or the yaml will break.