Git Product home page Git Product logo

Comments (8)

HumairAK avatar HumairAK commented on August 12, 2024 1

@hemajv see if the adr doc for github alerts can be incorporated here

from blueprint.

hemajv avatar hemajv commented on August 12, 2024 1

@hemajv see if the adr doc for github alerts can be incorporated here

I think it would be easier to have a separate ADR for this.
created #16, for adding the ADR of our alerting setup

from blueprint.

4n4nd avatar 4n4nd commented on August 12, 2024

Since we have decided (relevant issue) to keep a single Prometheus instance that monitors all the other component namespaces.

Now we need to decide where to keep our service-monitors/pod-monitors resources.

For the ODH components these resources will probably go in the upstream odh-manifests but we will still need to add the following overlay to the upstream monitors:

spec:
    namespaceSelector:
        matchNames:
          - opf-observatorium # The namespace where the component is deployed in

from blueprint.

HumairAK avatar HumairAK commented on August 12, 2024

If the service monitors and pod monitors are to go in the same namespace as prometheus, then I think the monitoring folder makes sense. I think we can put them in the base since they aren't environment specific, then inherit them in all the overlays -- wdyt?

from blueprint.

4n4nd avatar 4n4nd commented on August 12, 2024

@HumairAK @anishasthana I was thinking of keeping just one servicemonitor resource which looks into multiple namespaces. Maybe we can make this change upstream and only overlay the list of namespaces in operatefirst overlays?

from blueprint.

HumairAK avatar HumairAK commented on August 12, 2024

I like the idea of having one servicemonitor for odh,

It would be nice if we could specify a list of namespaces as a parameter in the kfdef that would be populated in the servicemonitor so we don't need to do an override.

from blueprint.

anishasthana avatar anishasthana commented on August 12, 2024

I am not opposed to it, but we should ask the monitoring team what they think. I wonder if it's abusing the idea of service monitors.

from blueprint.

4n4nd avatar 4n4nd commented on August 12, 2024

I was able to test a service monitor that was able to monitor different services in multiple namespaces.

---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
  name: multiservice-monitor
  labels:
    k8s-app: prometheus
  namespace: opf-stage
spec:
  endpoints:
    - port: metrics
    - port: 8080-tcp
  namespaceSelector:
    matchNames:
      - opf-observatorium
      - opf-jupyterhub
  selector: {}

This works well. I think we should try to get something like this pushed upstream and only set the namespaceSelector as an overlay on the operatefirst side.

from blueprint.

Related Issues (20)

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.