mirror of
https://github.com/prometheus-operator/kube-prometheus.git
synced 2025-11-03 09:31:01 +01:00
Merge pull request #900 from simonpasquier/switch-apiv2-alerting
Default alerting to Alertmanager API v2
This commit is contained in:
commit
6758acbb30
@ -251,6 +251,7 @@ function(params) {
|
|||||||
namespace: p.config.namespace,
|
namespace: p.config.namespace,
|
||||||
name: 'alertmanager-' + p.config.alertmanagerName,
|
name: 'alertmanager-' + p.config.alertmanagerName,
|
||||||
port: 'web',
|
port: 'web',
|
||||||
|
apiVersion: 'v2',
|
||||||
}],
|
}],
|
||||||
},
|
},
|
||||||
securityContext: {
|
securityContext: {
|
||||||
|
|||||||
@ -12,7 +12,8 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
alerting:
|
alerting:
|
||||||
alertmanagers:
|
alertmanagers:
|
||||||
- name: alertmanager-main
|
- apiVersion: v2
|
||||||
|
name: alertmanager-main
|
||||||
namespace: monitoring
|
namespace: monitoring
|
||||||
port: web
|
port: web
|
||||||
image: quay.io/prometheus/prometheus:v2.24.0
|
image: quay.io/prometheus/prometheus:v2.24.0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user