Skip to content

Add support for selecting kind cluster node provider #591

@ndimiduk

Description

@ndimiduk

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, 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions