Automated Openshift Route monitoring.
Configuration is handled via a single yaml file and kubeconfigs:
targets:
- kubeconfig: /etc/ormon/devcluster.kubeconfig
labels:
cluster: devcluster
- kubeconfig: /etc/ormon/prodcluster.kubeconfig
labels:
cluster: prodcluster
One can use the shell script in helper to create a kubeconfig.
thobits.com/ormon-skip
: Set this to any of1
,t
,T
,TRUE
,true
orTrue
to skip monitoring a Route.thobits.com/ormon-method
: Set http method the check the Route.thobits.com/ormon-valid-statuscodes
: Configure valid statuscodes, multiple can be comma seperated.thobits.com/ormon-body-regex
: Body validation regexthobits.com/ormon-path
: Change the path used for healthcheck, e.g./healthz
, will overwrite route path
See manifests
folder for example deployment.