Uploaded image for project: 'Couchbase Kubernetes'
  1. Couchbase Kubernetes
  2. K8S-2959

Operator 2.4 Prometheus Metrics collection documentation requires an upate

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.4.1
    • None
    • None
    • None
    • 10 - Krackeverlasting
    • 0

    Description

      The "Configure Prometheus Metrics Collection" documentation requires an update in the code snippet (https://docs-staging.couchbase.com/operator/2.4/howto-prometheus.html)

       

      1. In the code snippet for the ServiceMonitor there is a property under "spec" called "tlsConfig". The property does not exist in Prometheus Operator:

       

      error: error validating "couchbase-prometheus-service.yaml": error validating data: ValidationError(ServiceMonitor.spec): unknown field "tlsConfig" in com.coreos.monitoring.v1.ServiceMonitor.spec; if you choose to ignore these errors, turn validation off with --validate=false

      2. There is a "`" character at the end of the snippet that shows how to commit a service monitor:

       

      kubectl create -f couchbase-prometheus-monitor.yaml -n monitoring`

       

       

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            justin.ashworth Justin Ashworth
            gilad.kalchheim Gilad Kalchheim
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty