You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems to work when running it locally using act (https://github.com/nektos/act), but when running it on the github Actions worker, I get the error Error: Kubernetes cluster unreachable: Get https://127.0.0.1:34221/version?timeout=32s: dial tcp 127.0.0.1:34221: connect: connection refused.
The KIND cluster does seem to get correctly created, but the issue seems to mainly be that the cluster is not reachable. Is this an issue that you have come across before?
There would be a lot of advantages running KIND inside container, such as being able to have a replicatable environment from where to run the creation of resources, running the tests with pytest, etc.
The text was updated successfully, but these errors were encountered:
The first thing I can think of is that Docker-in-Docker needs a privileged container to start.
So whenever starting the container, the --privileged flag has to be passed.
See this thread for people talking about this option in GH Actions, I'm not sure if it is working or supported - actions/container-action#2 (comment)
Currently we have KIND running in our Kubernetes CI, where KIND runs inside of a pod/container, which requires the following mounts with the node:
When running a KIND docker action inside a KIND enabled container (which works on kubernetes) such as:
It seems to work when running it locally using
act
(https://github.com/nektos/act), but when running it on the github Actions worker, I get the errorError: Kubernetes cluster unreachable: Get https://127.0.0.1:34221/version?timeout=32s: dial tcp 127.0.0.1:34221: connect: connection refused
.The KIND cluster does seem to get correctly created, but the issue seems to mainly be that the cluster is not reachable. Is this an issue that you have come across before?
There would be a lot of advantages running KIND inside container, such as being able to have a replicatable environment from where to run the creation of resources, running the tests with pytest, etc.
The text was updated successfully, but these errors were encountered: