Merge pull request #1095 from dgrisonnet/prometheus-adapter-ha

Make prometheus-adapter highly-available
This commit is contained in:
Paweł Krupa
2021-04-22 12:00:39 +02:00
committed by GitHub
3 changed files with 29 additions and 16 deletions

View File

@@ -9,7 +9,7 @@ metadata:
name: prometheus-adapter
namespace: monitoring
spec:
replicas: 1
replicas: 2
selector:
matchLabels:
app.kubernetes.io/component: metrics-adapter
@@ -18,7 +18,7 @@ spec:
strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
maxUnavailable: 1
template:
metadata:
labels: