contrib/kube-prometheus: Generate Prometheus Adapter with maxSurge
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user