ITADN

Add support for managing the kind cluster on MacOS with podman, rootless

#591Openndimiduk 创建于 2024-12-05
N
ndimidukcommented
<!-- Please only use this template for submitting enhancement requests. Implementing your enhancement will follow the KEP process: https://github.com/kudobuilder/kuttl/blob/main/keps/0001-kep-process.md --> **What would you like to be added**: I would like for `kuttl` to manage spinning up and tearing down a kind cluster. I am on macOS using podman (machine) in rootless mode. After following [these instructions](https://kind.sigs.k8s.io/docs/user/rootless/), I am able to create a new kind cluster using ``` > KIND_EXPERIMENTAL_PROVIDER=podman kind create cluster ``` However `kuttl` fails to do so, even when I've provided the same environment variable. ``` % env KIND_EXPERIMENTAL_PROVIDER=podman k kuttl test === RUN kuttl harness.go:463: starting setup harness.go:252: running tests with KIND. harness.go:176: temp folder created /var/folders/91/ns87pdzn6c145ps1x_bfr9gc0000gq/T/kuttl2683441861 harness.go:158: Starting KIND cluster harness.go:514: cleaning up harness.go:523: collecting cluster logs to kind-logs-1733397185 harness.go:571: removing temp folder: "/var/folders/91/ns87pdzn6c145ps1x_bfr9gc0000gq/T/kuttl2683441861" harness.go:577: tearing down kind cluster harness.go:596: fatal error getting client: running kind with rootless provider requires setting systemd property "Delegate=yes", see https://kind.sigs.k8s.io/docs/user/rootless/ --- FAIL: kuttl (0.49s) FAIL ``` **Why is this needed**: Oh. Maybe this should be filed as a bug instead? ``` % kubectl-kuttl --version kubectl-kuttl version 0.20.0 % podman --version podman version 5.3.1 ```
3 条评论