-
Notifications
You must be signed in to change notification settings - Fork 278
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
Pod for kube-apiserver not synced (no current running pod found), retrying #4907
Comments
It is normal to see that momentarily during startup while RKE2 is waiting for the pod to start. I don't see the message repeated, it looks like the apiserver is now running. You'd need to look at the apiserver pod logs (in /var/log/pods) to see why it's not ready yet. |
Hello, I'm facing the same situation in a Ubuntu machine (AWS EC2), single server node. After enabling the service and running the Looking into the API server pod logs, I see this error:
Here are the full log files: |
This repository uses a bot to automatically label issues which have not had any activity (commit/comment/label) for 45 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. |
I have the same issue. RKE2 Version: rke2 version v1.30.6+rke2r1 (2959cd2) Node(s) CPU architecture, OS, and Version: Arch: x86_64, OS: Rocky Linux, Version: 8.10 (Green Obsidian) Cluster Configuration: Single server
|
Check the kubelet and containerd logs. You might also ensure that your node has sufficient CPU and memory resources available for the kubelet to schedule all the static pods. |
Environmental Info:
RKE2 Version:
rke2 version v1.26.9+rke2r1 (368ba42)
go version go1.20.8 X:boringcrypto
Node(s) CPU architecture, OS, and Version:
Linux ip-172-31-18-26 5.19.0-1025-aws #26~22.04.1-Ubuntu SMP Mon Apr 24 01:58:15 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Cluster Configuration:
Single server
Describe the bug:
It seams that API server is not started.
Steps To Reproduce:
I just run on a fresh Ubuntu 22.04 (AWS EC2)
Expected behavior:
I would expect to be able to use kubectl that is able to connect to an API server (executed locally on a server machine)
Actual behavior:
Pod for kube-apiserver not synced (no current running pod found), retrying"
Additional context / logs:
Oct 17 08:54:47 ip-172-31-18-26 rke2[1497]: time="2023-10-17T08:54:47Z" level=info msg="Waiting for API server to become available"
Oct 17 08:54:47 ip-172-31-18-26 rke2[1497]: time="2023-10-17T08:54:47Z" level=info msg="Pod for etcd is synced"
Oct 17 08:54:47 ip-172-31-18-26 rke2[1497]: time="2023-10-17T08:54:47Z" level=info msg="Pod for kube-apiserver not synced (no current running pod found), retrying"
Oct 17 08:54:52 ip-172-31-18-26 rke2[1497]: time="2023-10-17T08:54:52Z" level=info msg="Waiting to retrieve kube-proxy configuration; server is not ready: https://127.0.0.1:9345/v1-rke2/readyz: 500 Internal Server Error"
Oct 17 08:54:57 ip-172-31-18-26 rke2[1497]: time="2023-10-17T08:54:57Z" level=info msg="Waiting to retrieve kube-proxy configuration; server is not ready: https://127.0.0.1:9345/v1-rke2/readyz: 500 Internal Server Error"
Oct 17 08:55:02 ip-172-31-18-26 rke2[1497]: time="2023-10-17T08:55:02Z" level=info msg="Waiting to retrieve kube-proxy configuration; server is not ready: https://127.0.0.1:9345/v1-rke2/readyz: 500 Internal Server Error"
logs:
journalctl_rke2_server.log
kubelet.log
The text was updated successfully, but these errors were encountered: