-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
K3S Logging is not working in Alma 9.3 environment #10357
Comments
Please show the full steps you use to install and configure k3s, as well as a description of the type and count of nodes in the cluster, and the output of |
Installation coomand -
Let me know anything else is required... |
So it is timing out accessing its own kubelet port? Make sure you have disabled the local firewall, or opened the correct ports as documented at https://docs.k3s.io/installation/requirements#inbound-rules-for-k3s-nodes |
Its not working even after disabling firewall,
|
@brandond In this environment for internet access we have set up HTTP and HTTPS Proxies .. can it be blocked due to the proxy? |
It sure could be. Have you included your node IP ranges in the NO_PROXY environment variable? This is covered in the docs at https://docs.k3s.io/advanced#configuring-an-http-proxy
I don't usually see this sort of problem manifesting as TLS handshake timeouts, but rather errors from the proxy. Something is definitely causing k3s to not be able to connect back to a port on the local node, though. |
Logging is working after setting the NO_PROXY variable in the thanks Brad |
Environmental Info:
K3s Version:
k3s version v1.29.4+k3s1 (94e29e2)
Node(s) CPU architecture, OS, and Version:
Linux localhost.localdomain 5.14.0-362.18.1.el9_3.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jan 29 07:05:48 EST 2024 x86_64 x86_64 x86_64 GNU/Linux
AlmaLinux release 9.3 (Shamrock Pampas Cat)
Cluster Configuration:
Single pod is running
Describe the bug:
Unable to retrieve log information of pods, ingress etc
Steps To Reproduce:
kubectl logs auth-app-6f97875c8-2mrc7
Expected behavior:
Logs should appear
Actual behavior:
Error - Error from server: Get "https://192.168.180.45:10250/containerLogs/default/auth-app-6f97875c8-2mrc7/auth-app": net/http: TLS handshake timeout
The text was updated successfully, but these errors were encountered: