File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
cluster/addons/metrics-server Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 64
64
name : https
65
65
protocol : TCP
66
66
- name : metrics-server-nanny
67
- image : k8s.gcr.io/addon-resizer:1.8.7
67
+ image : k8s.gcr.io/addon-resizer:1.8.9
68
68
resources :
69
69
limits :
70
70
cpu : 100m
99
99
# Specifies the smallest cluster (defined in number of nodes)
100
100
# resources will be scaled to.
101
101
- --minClusterSize={{ metrics_server_min_cluster_size }}
102
+ # Use kube-apiserver metrics to avoid periodically listing nodes.
103
+ - --use-metrics=true
102
104
volumes :
103
105
- name : metrics-server-config-volume
104
106
configMap :
Original file line number Diff line number Diff line change @@ -25,6 +25,10 @@ rules:
25
25
- list
26
26
- update
27
27
- watch
28
+ - nonResourceURLs :
29
+ - /metrics
30
+ verbs :
31
+ - get
28
32
---
29
33
apiVersion : rbac.authorization.k8s.io/v1
30
34
kind : ClusterRoleBinding
You can’t perform that action at this time.
0 commit comments