openshift-route-monitor-operator

command module
v0.0.0-...-28a4d3e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 2, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

README

openshift-route-monitor-operator

CodeQL Make Generate

THIS REPOSITORY HAS MOVED AND IS NOW OFFICIALLY ARCHIVED

You can find it on it's new home here https://github.com/openshift/route-monitor-operator

What does this do?

Automatically enables blackbox probes for routes on OpenShift clusters to be consumed by the Cluster Monitoring Operator or any vanilla Prometheus Operator.

How does this work?

Exporter

The operator is making sure that here is one deployment of the blackbox exporter. If it does not exist in openshift-monitoring, it creates one.

ServiceMonitors

The probes are effectively configured via ServiceMonitors. openshift-route-monitor-operator creates ServiceMonitors based on the defined RouteMonitors.

RouteMonitors

The operator watches all namespaces for routeMonitors. They are used to define what route to probe. RouteMonitors are namespace scoped and need to exist in the same namespaces as the Route they're used for.

Caveats

Currently the blackbox exporter deployment is only using the default config file which only allows a limit set of probes.

Contributing

Folow a simple workflow:

  • Create Issue to explain what is wrong or missing
  • Fork this repository
  • Create a Pull Request referencing the issue you're adressing

This operator is build using the operator-sdk However we automated away the need for you to run make. On every Pull Request a GitHub action will trigger make to check if everything works as expected.

Once your PR is merged, an additional action will run make and check those changes in.

ToDo

  • add option to specify which probes to use
  • add tests

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
v1alpha1
Package v1alpha1 contains API Schema definitions for the monitoring v1alpha1 API group +kubebuilder:object:generate=true +groupName=monitoring.openshift.io
Package v1alpha1 contains API Schema definitions for the monitoring v1alpha1 API group +kubebuilder:object:generate=true +groupName=monitoring.openshift.io

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL