Question
· Oct 13, 2022

Prometheus - IKO - Annotations Service

Hello,

I am currently having the experience activating prometheus for iris db.

This environment that I speak uses IKO as a base.

I need to put 3 notes in the iris service area.

Are they:

annotations:
   prometheus.io/path: "/monitor/metrics"
   prometheus.io/port: "52772"
   prometheus.io/scrape: "true"

I'm not finding this possibility in the IKO documentation.

Has anyone had this experience and can help us with this challenge?

 Below is the current configuration we made, however, it did not create the annotations we need

apiVersion: intersystems.com/v1alpha1
kind: IrisCluster
metadata:
  name: iris-db-teste
  annotations:
    prometheus.io/scrape: "true"
    prometheus.io/path: "/api/monitor/metrics"
    prometheus.io/port: "52773"
spec:
  licenseKeySecret:
    name: licenca-iris
  configSource:
    name: iris-cpf
  topology:
    data:
      shards: 2
      mirrored: true
      image: CONTAINER_IMAGE
      podTemplate:
        spec:
          args:
            - --check-caps
            - "false"
      storageDB:
        resources:
          requests:
            storage: 10Gi
        storageClassName: iris-ssd-storageclass
  serviceTemplate:
    spec:
      type: ClusterIP

Thanks,

Alfredo Sabocinski Neto

Product version: IRIS 2022.1
Discussion (4)2
Log in or sign up to continue