-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
not creating stats for kubernetes 1.15.1 #290
Comments
I am having issues running metrics server 0.3.3 on k8s 1.15.0 too. I am getting a lot of tls errors in metrics server log: |
Hi folks! Helped for me add options More details here kubernetes/kubernetes#56430 (comment) |
@metri I added to the deployment in metrics-server/deploy/1.8+/metrics-server-deployment.yaml
It now works.. does your change have the same effects? |
/lifecycle stale |
@staticdev how do you configure kube-apiserver? |
@staticdev PS: Sorry for my english. |
@shundezhang I am using default kubeadm configuration with calico 3.8 also on default. |
@metri I had to kubectl delete metrics-server/deploy/1.8+ and then kubectl create metrics-server/deploy/1.8+ after the changes. After some seconds you should be able to see results from kubectl top node (make sure metrics-server pods are running with kubectl get pods --all-namespaces). |
@staticdev Can you show your entire metrics-server-deployment.yaml? Edit. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Have you tried to use this: #278 (comment) |
@PierluigiLenociAkelius I used (as in the comments above):
|
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
To be more explicit from @staticdev 's suggestion, I modified ...
apiVersion: extensions/v1beta1
...
spec:
template:
spec:
containers:
command:
- /metrics-server
- --kubelet-insecure-tls
- --kubelet-preferred-address-types=InternalIP
... |
@shundezhang do you have solved the problem ? |
@MIBc yes, it was an MTU issue. Had to adjust that in calico config. |
I'm running k3s cluster. I modified the static metric yaml at /var/lib/rancher/k3s/server/manifests/metrics-server/metrics-server-deployment.yam with commands above .. but this doesn't solve the issue. Note: k3s runs by defauly with flannel CNI. Any ideas ?! |
I am using master branch and when I try
kubectl top node
I get:error: metrics not available yet
. And when I trykubectl top pods
I get:W0721 20:01:31.786615 21232 top_pod.go:266] Metrics not available for pod default/pod-deployment-57b99df6b4-khh84, age: 27h31m59.78660593s error: Metrics not available for pod default/pod-deployment-57b99df6b4-khh84, age: 27h31m59.78660593s
The text was updated successfully, but these errors were encountered: