executing the command kubectl get --raw /apis/metrics.k8s.io/v1beta1
it returned Error from server (ServiceUnavailable): the server is currently unable to handle the request
view the logs from metrics-server
http: TLS handshake error from 192.168.133.64:51926:EOF
kubelet version is 1.12.3
metrics-server 0.3.1
i have another clusters-set with the same version and configuration, metrics-server works just fine
part of metrics-server-deployment:
containers:
- name: metrics-server
image: k8s.gcr.io/metrics-server-amd64:v0.3.1
imagePullPolicy: Always
command:
- /metrics-server
- --kubelet-insecure-tls
volumeMounts:
- name: tmp-dir
mountPath: /tmp