Update metrics-server to 0.4.1 (#7188)
parent
9ef62194c3
commit
b493c81ce8
|
@ -475,7 +475,7 @@ registry_image_repo: "{{ docker_image_repo }}/library/registry"
|
|||
registry_image_tag: "2.7.1"
|
||||
registry_proxy_image_repo: "{{ kube_image_repo }}/kube-registry-proxy"
|
||||
registry_proxy_image_tag: "0.4"
|
||||
metrics_server_version: "v0.3.7"
|
||||
metrics_server_version: "v0.4.1"
|
||||
metrics_server_image_repo: "{{ kube_image_repo }}/metrics-server/metrics-server"
|
||||
metrics_server_image_tag: "{{ metrics_server_version }}"
|
||||
local_volume_provisioner_image_repo: "{{ quay_image_repo }}/external_storage/local-volume-provisioner"
|
||||
|
|
|
@ -36,10 +36,15 @@ spec:
|
|||
{% if metrics_server_kubelet_preferred_address_types %}
|
||||
- --kubelet-preferred-address-types={{ metrics_server_kubelet_preferred_address_types }}
|
||||
{% endif %}
|
||||
- --kubelet-use-node-status-port
|
||||
{% if metrics_server_kubelet_insecure_tls %}
|
||||
- --kubelet-insecure-tls
|
||||
{% endif %}
|
||||
- --metric-resolution={{ metrics_server_metric_resolution }}
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 300Mi
|
||||
ports:
|
||||
- containerPort: 8443
|
||||
name: https
|
||||
|
@ -49,21 +54,15 @@ spec:
|
|||
mountPath: /tmp
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /healthz
|
||||
path: /healthz?exclude=readyz
|
||||
port: https
|
||||
scheme: HTTPS
|
||||
successThreshold: 1
|
||||
initialDelaySeconds: 20
|
||||
failureThreshold: 3
|
||||
timeoutSeconds: 10
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /healthz
|
||||
path: /healthz?exclude=livez
|
||||
port: https
|
||||
scheme: HTTPS
|
||||
successThreshold: 1
|
||||
initialDelaySeconds: 20
|
||||
failureThreshold: 3
|
||||
timeoutSeconds: 10
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
|
|
|
@ -10,6 +10,7 @@ spec:
|
|||
selector:
|
||||
app.kubernetes.io/name: metrics-server
|
||||
ports:
|
||||
- port: 443
|
||||
- name: https
|
||||
port: 443
|
||||
protocol: TCP
|
||||
targetPort: https
|
||||
|
|
Loading…
Reference in New Issue