Skip to content
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

Confusing for use kind + podman on github action #3261

Open
SamYuan1990 opened this issue Jun 4, 2023 · 2 comments
Open

Confusing for use kind + podman on github action #3261

SamYuan1990 opened this issue Jun 4, 2023 · 2 comments
Labels
kind/support Categorizes issue or PR as a support question.

Comments

@SamYuan1990
Copy link

Hi team,

I am ref to https://github.com/kubernetes-sigs/kind/blob/main/.github/workflows/podman.yml to set up KIND via podman in my github action.
Here is the error output:
https://github.com/sustainable-computing-io/local-dev-cluster/actions/runs/5169622162/jobs/9311984637?pr=15#step:5:127

Cgroup controller detection is not implemented for Podman. If you see cgroup-related errors, you might need to set systemd property "Delegate=yes", see https://kind.sigs.k8s.io/docs/user/rootless/
ERROR: failed to create cluster: running kind with rootless provider requires cgroup v2, see https://kind.sigs.k8s.io/docs/user/rootless/

ref to
https://github.com/kubernetes-sigs/kind/actions/runs/4864277131/jobs/8673099821
it seems we can start KIND via podman on github action without any specific configuration.

but here is which makes me confused:
I tried https://github.com/kubernetes-sigs/kind/blob/main/.github/workflows/podman.yml#L62-L76 is way as cat and EOF in github action which works. but https://github.com/sustainable-computing-io/local-dev-cluster/pull/15/files#diff-7951a8490fadd323cf4791d852d026115dd0a354ec76d264a9067cca02a0bbb9 I try to start with this file specific, but won't works as cgroup v2 issue.

@BenTheElder
Copy link
Member

Any reason not to use docker? It's still better supported currently.

https://kind.sigs.k8s.io/docs/user/known-issues/

ERROR: failed to create cluster: running kind with rootless provider requires cgroup v2, see https://kind.sigs.k8s.io/docs/user/rootless/

https://kind.sigs.k8s.io/docs/user/rootless/

@SamYuan1990
Copy link
Author

Any reason not to use docker? It's still better supported currently.

https://kind.sigs.k8s.io/docs/user/known-issues/

ERROR: failed to create cluster: running kind with rootless provider requires cgroup v2, see https://kind.sigs.k8s.io/docs/user/rootless/

https://kind.sigs.k8s.io/docs/user/rootless/

Hi @BenTheElder , we have the pipeline in docker. and we have feedback for related with podman as sustainable-computing-io/local-dev-cluster#2
hence, if possible(or easy to make), I want to make a basic check for podman.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support Categorizes issue or PR as a support question.
Projects
None yet
Development

No branches or pull requests

2 participants