Replies: 1 comment 3 replies
-
Hi @MatusBoa, This is not a bug in the terraform module, but a Kubernetes networking issue. The 502 Bad Gateway error occurs when the API server cannot reach the kubelet on port 10250 on the node where your pod is running. Root Cause Analysis:The error
Since you have 3 control plane nodes in HA mode and restarting used to work temporarily, this suggests a specific routing or network issue from certain control plane nodes to certain worker nodes. Immediate Solutions:
Debugging the Specific Node Connectivity:From the problematic control plane node: # Test direct connectivity to the worker
ping 10.2.0.104
curl -k https://10.2.0.104:10250/healthz
# Check if it's a routing issue
traceroute 10.2.0.104
# Check k3s internal routing
kubectl get nodes -o wide
kubectl get endpoints -A | grep 10.2.0.104 Potential Fixes:
Long-term Solution:Consider setting Given your mixed architecture setup (ARM nodes) and the persistence of the issue, this might be related to network segmentation between your different node locations (fsn1, nbg1, hel1). Which control plane node are you connecting through when you see this error? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
When i try to get logs from the pod, or try to run exec, cluster returns error that says
In the past, restarting control nodes solved it, but unfortunately, now its persistent.
Cluster is running in HA mode (3 control nodes), and some worker nodes, each node running v1.33.2 k3s version.
Kube.tf file
Screenshots
No response
Platform
does not matter i think
Beta Was this translation helpful? Give feedback.
All reactions