Skip to content

bitsbeats/openshift-route-monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ormon - Openshift Route Monitor

Automated Openshift Route monitoring.

Usage

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.

Annotations

  • thobits.com/ormon-skip: Set this to any of 1, t, T, TRUE, true or True 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 regex
  • thobits.com/ormon-path: Change the path used for healthcheck, e.g. /healthz, will overwrite route path

Installation

See manifests folder for example deployment.