Skip to content
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

k8s为1.18.8时异常告警 #28802

Closed
bestrevens opened this issue Sep 9, 2020 · 9 comments
Closed

k8s为1.18.8时异常告警 #28802

bestrevens opened this issue Sep 9, 2020 · 9 comments

Comments

@bestrevens
Copy link

bestrevens commented Sep 9, 2020

1599612610(1)
环境:redhat7.5
docker:19.03.12
k8s:1.18.8
rancher:2.4.5-2.4.8
rancher会一直提示:警告: 组件 controller-manager 不健康
警告: 组件 scheduler 不健康
但是不影响使用,希望能够解决一下。

@lynk-coder
Copy link

/etc/kubernetes/manifests/controller-manager.conf
/etc/kubernetes/manifests/scheduler.conf
这两个文件里面,删除--port=0这个配置
然后systemctl restart kubelet

@bestrevens
Copy link
Author

bestrevens commented Sep 11, 2020 via email

@lynk-coder
Copy link

get cs在1.19被作废了。目前版本的rancher都是用get cs获取状态的 后续估计会更改

@bestrevens
Copy link
Author

bestrevens commented Sep 11, 2020 via email

@lynk-coder
Copy link

1.18.6机制做了调整了。

@arthurzenika
Copy link

According to google translate we hit the same bug, and @lynk-coder 's suggestion fixed it. Thanks !

Maybe an issue in english could be done so that other rancher users can find this information ?

@lucernae
Copy link

lucernae commented Sep 24, 2020

Encountered the same problem. For english readers, use this google translate link:

https://translate.google.com/translate?hl=en&sl=auto&tl=en&u=https%3A%2F%2Fgithub.com%2Francher%2Francher%2Fissues%2F28802&sandbox=1

@aladdinwang
Copy link

好的,谢谢啦

------------------ 原始邮件 ------------------ 发件人: "lynk"<notifications@github.com>; 发送时间: 2020年9月10日(星期四) 下午4:59 收件人: "rancher/rancher"<rancher@noreply.github.com>; 抄送: "Thinking"<201840026@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [rancher/rancher] k8s为1.18.8时异常告警 (#28802) /etc/kubernetes/manifests/controller-manager.conf /etc/kubernetes/manifests/scheduler.conf 这两个文件里面,删除--port=0这个配置 然后systemctl restart kubelet — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

/etc/kubernetes/manifests/controller-manager.conf
/etc/kubernetes/manifests/scheduler.conf
这两个文件里面,删除--port=0这个配置
然后systemctl restart kubelet

docker安装rancher的话,这两个文件在哪里?

@stale
Copy link

stale bot commented Jul 9, 2021

This repository uses a bot to automatically label issues which have not had any activity (commit/comment/label) for 60 days. This helps us manage the community issues better. If the issue is still relevant, please add a comment to the issue so the bot can remove the label and we know it is still valid. If it is no longer relevant (or possibly fixed in the latest release), the bot will automatically close the issue in 14 days. Thank you for your contributions.

@stale stale bot added the status/stale label Jul 9, 2021
@stale stale bot closed this as completed Jul 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants