Hi! I've had success running k3d on Rocky Linux, h...
# k3d
w
Hi! I've had success running k3d on Rocky Linux, however, no luck at all on RHEL. Is this a known issue or am I missing something that would need to be done specifically for getting k3d working on RHEL? Currently getting the following from k3d-server-0:
Copy code
The connection to the server 127.0.0.1:6443 was refused - did you specify the right host or port?
And from the agent:
Copy code
E0418 15:20:24.037687     240 memcache.go:265] couldn't get current server API group list: Get "<http://localhost:8080/api?timeout=32s>": dial tcp [::1]:8080: connect: connection refused
The connection to the server localhost:8080 was refused - did you specify the right host or port?
time="2025-04-18T15:20:25Z" level=error msg="failed to get CA certs: Get \"<https://127.0.0.1:6444/cacerts>\": read tcp 127.0.0.1:55466->127.0.0.1:6444: read: connection reset by peer"
Thanks for any help.
w
Hey! Likely firewalld or ufw blocking?
w
Firewalld was disabled and so was selinux
I repeated the same steps multiple times over the weekend on Rocky and Redhat. Rocky works every time and Redhat fails with the above errors every time. They're a 1:1 so I assumed what works of Rocky would work on RHEL. That does not seem to be the case. I would have hoped there would have been some sort of mention in the FAQ or something. I think there is a 2 year old open ticket on github issues that might be related..
I also disabled FIPS as well just in case. Still no luck
I had partial luck with a rootless approach but have to make all sorts of modifications just to end up with permission denied errors related to /proc or something
w
I never got to test it on RHEL, so I really have no clue. You're running a single node setup and the k3d cluster create command succeeds? What are the versions? (OS, Docker, k3d, K3s)
w
rhel 8.10 with rootful podman k3d is 5.7.4 but had same issue on latest. Using default k3s version
I got it working with docker as root. Will try a rootless docker setup now. Maybe podman support is to oexperimental.
👍 1
w
There is no real podman support. It's just as good as the docker API compatibility of podman.