You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good day
i already installed prometheus exporter plugin while deploy and elastic with operator.
now i stuck on how deploy a servicemonitor to export target to prometheus
Good day
i already installed prometheus exporter plugin while deploy and elastic with operator.
now i stuck on how deploy a servicemonitor to export target to prometheus
`
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: elastic-cluster
#namespace: monitoring
spec:
endpoints:
interval: 20s
path: "/_prometheus/metrics"
port: https
scheme: https
tlsConfig:
insecureSkipVerify: true
basicAuth:
password:
name: secrets-values
key: basic_auth_password
username:
name: secrets-values
key: basic_auth_user
namespaceSelector:
matchNames:
elastic-cluster
selector:
matchLabels:
common.k8s.elastic.co/type: elasticsearch
elasticsearch.k8s.elastic.co/cluster-name: elastic-cluster`
maybe someone tell how to deploy the password and the user of elastic to service monitor?
dev tool show that plugin installed
elastic-cluster-es-node-1 prometheus-exporter 7.17.0.0
elastic-cluster-es-coordinator-0 prometheus-exporter 7.17.0.0
elastic-cluster-es-node-0 prometheus-exporter 7.17.0.0
elastic-cluster-es-node-2 prometheus-exporter 7.17.0.0
elastic-cluster-es-coordinator-1 prometheus-exporter 7.17.0.0
The text was updated successfully, but these errors were encountered: