woshizhicainiaoluguo
woshizhicainiaoluguo
@roidelapluie need your help,thanks
> I have the same problem. I set send_resloved = true send me repeatedly firing and resolved sorry but I still have this problem and no one helps me ...
> I have the same problem. send_resloved = true , I received a resolution notification while the alert was not resolved. Did you solve it? thank you sorry but I...
``` apiVersion: v1 items: - apiVersion: monitoring.coreos.com/v1 kind: Prometheus metadata: annotations: kubectl.kubernetes.io/last-applied-configuration: | {"apiVersion":"monitoring.coreos.com/v1","kind":"Prometheus","metadata":{"annotations":{},"labels":{"prometheus":"k8s"},"name":"k8s","namespace":"monitoring"},"spec":{"additionalScrapeConfigs":{"key":"prometheus-additional.yaml","name":"additional-configs"},"affinity":{"podAntiAffinity":{"requiredDuringSchedulingIgnoredDuringExecution":[{"labelSelector":{"matchExpressions":[{"key":"app","operator":"In","values":["prometheus"]}]},"topologyKey":"kubernetes.io/hostname"}]}},"alerting":{"alertmanagers":[{"name":"alertmanager-main","namespace":"monitoring","port":"web"}]},"containers":[{"args":["--web.console.templates=/etc/prometheus/consoles","--web.console.libraries=/etc/prometheus/console_libraries","--config.file=/etc/prometheus/config_out/prometheus.env.yaml","--storage.tsdb.path=/prometheus","--storage.tsdb.retention.time=35d","--web.enable-lifecycle","--storage.tsdb.no-lockfile","--web.route-prefix=/","--storage.tsdb.min-block-duration=1h","--storage.tsdb.max-block-duration=1h"],"name":"prometheus","volumeMounts":[{"mountPath":"/etc/prometheus/targets","name":"pvc-prometheus-discovery"}]}],"image":"harbor-ppe1.eniot.io/kubernetes/prometheus:v2.26.0","nodeSelector":{"kubernetes.io/os":"linux"},"podMonitorNamespaceSelector":{},"podMonitorSelector":{},"probeNamespaceSelector":{},"probeSelector":{"matchLabels":{"prometheus":"k8s"}},"replicas":2,"resources":{"limits":{"cpu":"4","memory":"32Gi"},"requests":{"cpu":"100m","memory":"4Gi"}},"retention":"35d","ruleSelector":{"matchLabels":{"prometheus":"k8s","role":"alert-rules"}},"scrapeInterval":"1m","securityContext":{"fsGroup":2000,"runAsNonRoot":true,"runAsUser":1000},"serviceAccountName":"prometheus-k8s","serviceMonitorNamespaceSelector":{},"serviceMonitorSelector":{},"storage":{"volumeClaimTemplate":{"metadata":{},"spec":{"resources":{"requests":{"storage":"512Gi"}},"storageClassName":"ceph-rbd-hdd2"}}},"volumes":[{"name":"pvc-prometheus-discovery","persistentVolumeClaim":{"claimName":"prometheus-discovery"}}]}} creationTimestamp: "2020-02-18T07:29:07Z" generation: 25 labels: prometheus: k8s name: k8s namespace: monitoring resourceVersion: "911224029" selfLink: /apis/monitoring.coreos.com/v1/namespaces/monitoring/prometheuses/k8s uid:...