contrib/kube-prometheus: Generate Prometheus Adapter with maxSurge
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
"subdir": "contrib/kube-prometheus/jsonnet/kube-prometheus"
|
||||
}
|
||||
},
|
||||
"version": "cc1d3b421e00f8891582ba9692b78814220c69c6"
|
||||
"version": "920b29babc4f4e490170b73aba2f9de86e0a08b6"
|
||||
},
|
||||
{
|
||||
"name": "ksonnet",
|
||||
|
@@ -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