Fix metrics-server for k8s 1.26 (#10183)
parent
7771ac6074
commit
b7fa2d7b87
|
@ -40,7 +40,7 @@ spec:
|
||||||
{% endif %}
|
{% endif %}
|
||||||
- --kubelet-use-node-status-port
|
- --kubelet-use-node-status-port
|
||||||
{% if metrics_server_kubelet_insecure_tls %}
|
{% if metrics_server_kubelet_insecure_tls %}
|
||||||
- --kubelet-insecure-tls
|
- --kubelet-insecure-tls=true
|
||||||
{% endif %}
|
{% endif %}
|
||||||
- --metric-resolution={{ metrics_server_metric_resolution }}
|
- --metric-resolution={{ metrics_server_metric_resolution }}
|
||||||
ports:
|
ports:
|
||||||
|
|
Loading…
Reference in New Issue