mirror of https://github.com/k3s-io/k3s
Restore metrics-server using of IP addresses
This preference list matches is used to pick prefered field from k8s node object. It was introduced in metrics-server 0.3 and changed default behaviour to use DNS instead of IP addresses. It was merged into k8s 1.12 and caused breaking change by introducing dependency on DNS configuration.pull/564/head
parent
3c949c7d41
commit
a98d10ba0b
|
@ -57,6 +57,7 @@ spec:
|
|||
# Remove these lines for non-GKE clusters, and when GKE supports token-based auth.
|
||||
- --kubelet-port=10255
|
||||
- --deprecated-kubelet-completely-insecure=true
|
||||
- --kubelet-preferred-address-types=InternalIP,Hostname,InternalDNS,ExternalDNS,ExternalIP
|
||||
ports:
|
||||
- containerPort: 443
|
||||
name: https
|
||||
|
|
Loading…
Reference in New Issue