Closed jbarrick-mesosphere closed 4 years ago
podman 2.X was worked around in HEAD, recently, can you try that?
So for Podman 2.x I cannot use a kind download from the releases? I downloaded the latest release (0.8.1) and I also have this issue.
Fedora 32 with Podman 2.0.4 (rootless). I have no App Armor installed, I believe Fedora has SELinux which should be enabled on my system.
You can't, podman broke handling of the app armor flag relative to docker. It should be worked around if you install from the latest kind sources, but I can't confirm that myself.
Podman 2.X has multiple breaking changes kind is working around in https://github.com/kubernetes-sigs/kind/pull/1728
Fedora 32 with Podman 2.0.4 (rootless). I have no App Armor installed, I believe Fedora has SELinux which should be enabled on my system.
Rootless podman does not work and has never worked. You will need to use it rootfully to run Kubernetes for now.
Rootless Kubernetes does not exist upstream yet, but even when it does rootless podman has it's own issues. See discussion in #1727.
Ok, thanks. I'll try to build it from source. Not too familiar with Go but I'll give it a try!
you can build from source with make build
from a clone without installing go, (it will use docker/podman), the binary will be in bin/kind
v0.9.0 is slated for tomorrow tentatively, this should be fixed already. cgroupsv2 is still pending some other work, mostly not in the kind repo.
What happened:
I cannot start kind using the podman provider, due to an error indicating AppArmor is not enabled:
What you expected to happen:
The kind cluster to start.
How to reproduce it (as minimally and precisely as possible):
Environment:
kind version
): v0.8.1kubectl version
): N/Adocker info
): N/A/etc/os-release
): Arch Linux