Giter Club home page Giter Club logo

observability-operator's Introduction

observability-operator

The Observability Operator is a Kubernetes operator which enables the management of Monitoring/Alerting stacks through Kubernetes CRDs. Eventually it might also cover Logging and Tracing.

The project relies heavily on the controller-runtime library.

Trying out the Operator

Observability Operator requires Operator Lifecycle Manager (OLM) to be running in cluster. The easiest way is to use OpenShift where OLM is preinstalled.

OpenShift

Add the Observability Operator Catalog as shown below.

kubectl apply -f hack/olm/catalog-src.yaml

This adds a new Catalog to the list of catalogs. Now, you should be able to use OLM Web interface to install/uninstall Observability Operator like any other operator.

If you prefer CLI, applying the subscription as shown below will install the operator.

kubectl create -f ./hack/olm/subscription.yaml

Uninstall

It is easier to use the web console to remove the installed operator. Instructions below removes all traces of what was setup in the previous step including removing the catalog.

oc delete -n operators csv \
    -l operators.coreos.com/observability-operator.operators=

oc delete -n openshift-operators  \
    installplan,subscriptions \
    -l operators.coreos.com/observability-operator.operators=

oc delete -f hack/olm

oc delete crds "$(oc api-resources --api-group=monitoring.rhobs -o name)"

Kubernetes

As mentioned above, Observability Operator requires Operator Lifecycle Manager (OLM) to be running in cluster, so installing OLM is the first step to getting the Observability Operator running on k8s.

operator-sdk olm install
kubectl create -f ./hack/olm/k8s/catalog-src.yaml
kubectl create -f ./hack/olm/k8s/subscription.yaml

NOTE: To install operator-sdk, you can make use of make tools which installs operator-sdk (along with other tools needed for development) to tmp/bin

For more information, about running Observability Operator (ObO) on Kind, please refer to the Developer Docs.

Uninstalling

kubectl delete -n operators csv \
    -l operators.coreos.com/observability-operator.operators=

kubectl delete -n operators  \
    installplan,subscriptions \
    -l operators.coreos.com/observability-operator.operators=

kubectl delete -f hack/olm/k8s

kubectl delete crds "$(kubectl api-resources --api-group=monitoring.rhobs -o name)"

Development

Please refer to Developer Docs

Meetings


Contact


  • Red Hat Slack #observability-operator-users and ping @obo-support-team.
  • Mailing list
  • Github Team: @rhobs/observability-operator-maintainers

observability-operator's People

Contributors

sthaha avatar fpetkovski avatar jan--f avatar dependabot[bot] avatar simonpasquier avatar tremes avatar lihongyan1 avatar joaobravecoding avatar slashpai avatar marioferh avatar vimalk78 avatar danielmellado avatar cmwylie19 avatar arajkumar avatar jooho avatar anispate avatar carlkyrillos avatar csibbitt avatar leifmadsen avatar makdaam avatar nautilux avatar raptorsun avatar zmird-r avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.