Github did not provide deployment yaml file for Raspberry Pi cluster, so I have to change original deploy/kubernetes/metrics-server-deployment.yaml
1. replace amd64 with arm (under containers and nodeSelectors section)
2. modify args into: (two extra lines)
args:
- --cert-dir=/tmp
- --secure-port=4443
- --kubelet-insecure-tls ###get ride error: http: TLS handshake error
- --kubelet-preferred-address-types=InternalIP ### unable to fully scrape metrics from source kubelet
3. deploy Metrics Server and all the rest manifest yaml files in the same directory , and wait for a while to get rid off error:unable to fetch node metrics for node
No comments:
Post a Comment