prometheus-operator

Helm 3.0.2 dry-run + stable/prometheus-operator? Is this supposed to work?

落爺英雄遲暮 提交于 2020-04-14 06:09:13
问题 With Helm v3.0.2 + a new Kubernetes v1.14.9 cluster. fyi, I've already added the stable repo: helm repo add stable https://kubernetes-charts.storage.googleapis.com/ helm install \ --namespace prometheus \ prom-dry-run \ stable/prometheus-operator \ --dry-run manifest_sorter.go:175: info: skipping unknown hook: "crd-install" manifest_sorter.go:175: info: skipping unknown hook: "crd-install" manifest_sorter.go:175: info: skipping unknown hook: "crd-install" manifest_sorter.go:175: info:

How can we add extra label to Prometheus metrics?

空扰寡人 提交于 2019-12-23 10:02:17
问题 Suppose we are collecting the same metrics for one month and now we want to modify the metrics to have extra label (in the old data as well), how can we do that. Existing metric: mongodb_exporter_last_scrape_duration_seconds{instance="127.0.0.1:9216",job="mongo"} Want to change that to: mongodb_exporter_last_scrape_duration_seconds{cluster="stage", instance="127.0.0.1:9216",job="mongo"} 回答1: Unfortunately, it is not possible to change the labels on old metrics in Prometheus. The storage is

Error when install prometheus to monitor Kubernetes Cluster

我的未来我决定 提交于 2019-12-13 00:59:54
问题 I am installing prometheus to monitor K8S but I met this error. Can you help me? Thank you so much!! helm version Client: &version.Version{SemVer:"v2.13.0", GitCommit:"79d07943b03aea2b76c12644b4b54733bc5958d6", GitTreeState:"clean"} Server: &version.Version{SemVer:"v2.13.0", GitCommit:"79d07943b03aea2b76c12644b4b54733bc5958d6", GitTreeState:"clean"} helm install stable/prometheus-operator --name prometheus-operator --namespace monitoring Error: customresourcedefinitions.apiextensions.k8s.io

Why is prometheus operator not able to start

一曲冷凌霜 提交于 2019-12-12 09:13:43
问题 I'm trying to create prometheus with operator in fresh new k8s cluster I use the following files , I’m creating a namespace monitoring Apply this file , which works ok apiVersion: apps/v1beta2 kind: Deployment metadata: labels: k8s-app: prometheus-operator name: prometheus-operator namespace: monitoring spec: replicas: 2 selector: matchLabels: k8s-app: prometheus-operator template: metadata: labels: k8s-app: prometheus-operator spec: priorityClassName: "operator-critical" tolerations: - key:

Why is prometheus operator not able to start

一世执手 提交于 2019-12-04 21:51:52
I'm trying to create prometheus with operator in fresh new k8s cluster I use the following files , I’m creating a namespace monitoring Apply this file , which works ok apiVersion: apps/v1beta2 kind: Deployment metadata: labels: k8s-app: prometheus-operator name: prometheus-operator namespace: monitoring spec: replicas: 2 selector: matchLabels: k8s-app: prometheus-operator template: metadata: labels: k8s-app: prometheus-operator spec: priorityClassName: "operator-critical" tolerations: - key: "WorkGroup" operator: "Equal" value: "operator" effect: "NoSchedule" - key: "WorkGroup" operator: