contrib/kube-prometheus: Generate Prometheus Adapter with maxSurge

This commit is contained in:
Matthias Loibl
2018-12-10 18:31:09 +01:00
parent 12eaf28866
commit a8b036e67d
2 changed files with 6 additions and 2 deletions

View File

@@ -8,7 +8,7 @@
"subdir": "contrib/kube-prometheus/jsonnet/kube-prometheus"
}
},
"version": "cc1d3b421e00f8891582ba9692b78814220c69c6"
"version": "920b29babc4f4e490170b73aba2f9de86e0a08b6"
},
{
"name": "ksonnet",

View File

@@ -8,6 +8,10 @@ spec:
selector:
matchLabels:
name: prometheus-adapter
strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
template:
metadata:
labels:
@@ -21,7 +25,7 @@ spec:
- --metrics-relist-interval=1m
- --prometheus-url=http://prometheus-k8s.monitoring.svc:9090/
- --secure-port=6443
image: quay.io/coreos/k8s-prometheus-adapter-amd64:v0.3.0
image: quay.io/coreos/k8s-prometheus-adapter-amd64:v0.4.0
name: prometheus-adapter
ports:
- containerPort: 6443