[feat] Update metrics server to v0.6.3 (#10026)
parent
8727f88e41
commit
a505a4c71f
|
@ -14,7 +14,7 @@ registry_enabled: false
|
|||
|
||||
# Metrics Server deployment
|
||||
metrics_server_enabled: false
|
||||
# metrics_server_container_port: 4443
|
||||
# metrics_server_container_port: 10250
|
||||
# metrics_server_kubelet_insecure_tls: true
|
||||
# metrics_server_metric_resolution: 15s
|
||||
# metrics_server_kubelet_preferred_address_types: "InternalIP,ExternalIP,Hostname"
|
||||
|
|
|
@ -1079,7 +1079,7 @@ dnsautoscaler_image_tag: "{{ dnsautoscaler_version }}"
|
|||
registry_version: "2.8.1"
|
||||
registry_image_repo: "{{ docker_image_repo }}/library/registry"
|
||||
registry_image_tag: "{{ registry_version }}"
|
||||
metrics_server_version: "v0.6.2"
|
||||
metrics_server_version: "v0.6.3"
|
||||
metrics_server_image_repo: "{{ kube_image_repo }}/metrics-server/metrics-server"
|
||||
metrics_server_image_tag: "{{ metrics_server_version }}"
|
||||
local_volume_provisioner_version: "v2.5.0"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
metrics_server_container_port: 4443
|
||||
metrics_server_container_port: 10250
|
||||
metrics_server_kubelet_insecure_tls: true
|
||||
metrics_server_kubelet_preferred_address_types: "InternalIP,ExternalIP,Hostname"
|
||||
metrics_server_metric_resolution: 15s
|
||||
|
|
|
@ -23,8 +23,6 @@ spec:
|
|||
labels:
|
||||
app.kubernetes.io/name: metrics-server
|
||||
version: {{ metrics_server_version }}
|
||||
annotations:
|
||||
seccomp.security.alpha.kubernetes.io/pod: 'runtime/default'
|
||||
spec:
|
||||
priorityClassName: system-cluster-critical
|
||||
serviceAccountName: metrics-server
|
||||
|
@ -70,10 +68,14 @@ spec:
|
|||
initialDelaySeconds: 40
|
||||
securityContext:
|
||||
readOnlyRootFilesystem: true
|
||||
runAsGroup: 10001
|
||||
runAsNonRoot: true
|
||||
runAsUser: 10001
|
||||
runAsUser: 1000
|
||||
allowPrivilegeEscalation: false
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
resources:
|
||||
limits:
|
||||
cpu: {{ metrics_server_limits_cpu }}
|
||||
|
|
|
@ -5,12 +5,17 @@ metadata:
|
|||
labels:
|
||||
addonmanager.kubernetes.io/mode: Reconcile
|
||||
rules:
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- nodes/metrics
|
||||
verbs:
|
||||
- get
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- pods
|
||||
- nodes
|
||||
- nodes/metrics
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
|
|
Loading…
Reference in New Issue