Repository navigation
|
Description: Issue:
keycloak-0-12955: failed sending message to 10.42.0.32:7800: java.net.NoRouteToHostException: No route to host I tried specific network policies which could account for the problem. Also I tried a modified version of the keycloak-discovery service to point directly to the affected ports for multi replica use. I think it maybe a configuration issue from my side but I tried troubleshooting it without success. Expected: Working 2-node cluster oder Besides that, I configured my own Keycloak statefulset which does not work correctly either. apiVersion: v1 apiVersion: v1 apiVersion: apps/v1 I appreciate your help. |
Replies: 2 comments
|
I could not reproduce what you are seeing on minikube. Can you provide exactly what flavor and version of Kubernetes you are running on? In your statefulset note that the kubernetes cache stack is deprecated. |
|
Hi, thank you for your quick answer. I am currently running k3s version v.133.6+k3s1 (b5847677) on AlmaLinux (kernel 5.14.0-611.13.1.el9_7.x86_64). I solved the issue. It was caused by the firewalld daemon, which blocked the network traffic in the pod network. The official k3s guide states that you need specific firewall rules within firewalld. I applied the following rules according to the guide (https://docs.k3s.io/installation/requirements?os=rhel) firewall-cmd --permanent --add-port=6443/tcp #apiserver |
I could not reproduce what you are seeing on minikube. Can you provide exactly what flavor and version of Kubernetes you are running on?
In your statefulset note that the kubernetes cache stack is deprecated.