Details
-
Bug
-
Resolution: Fixed
-
Major
-
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)
- 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`
|