-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
support remote podman #2233
Comments
/area provider/podman |
It looks like podman (at least in v3.1.2) provides similar information compared to docker about cgroups:
|
This is what we expect from docker:
For podman, we do get cgroup driver and version, as well as security options:
but I still don't see anywhere the info about memory limit, pids limit and cpu shares support? |
We've never supported remote podman. At least in older versions none of that info was present. Supporting remote podman is a feature. Podman support is also still experimental because it still regularly breaks due to breaking changes in the underlying tool. |
Remote hosts are also pretty low priority for us. KIND is meant to run clusters locally, and you could always run the kind command on the remote host directly. There are other things we can't do reliably remotely, such as pick out a fixed random port available on the host. see also #1778 |
The reason why I care about remove execution is to give a seamless experience to mac and windows users.
Thanks, good to know. |
Heh, it sounds like I'm not going to start using it for CI then 😅 |
/assign |
This is what I hacked together to get past the failing check #2235 |
ah lovely, thanks, let me take a look |
For minikube, this was two different scenarios. Whether it was "really remote", or if it was "locally remote". We have the regular case when running on Linux, then it is really running on the same machine - and fine. This case was more when running on macOS and Windows, but without the full integration being present. The new podman has a new feature called " It is starting a CoreOS VM locally, and is trying to get closer to the Docker Desktop experience... I'm not sure yet if we want to support it, at least not before it has storage and networking. kubernetes/minikube#8003 But at least it has taken some steps getting closer to running Podman "on" macOS, I suppose ? $ podman machine --help
Manage a virtual machine
Description:
Manage a virtual machine. Virtual machines are used to run Podman.
Usage:
podman machine [command]
Available Commands:
init Initialize a virtual machine
list List machines
rm Remove an existing machine
ssh SSH into an existing machine
start Start an existing machine
stop Stop an existing machine
$ podman machine init
Downloading VM image: fedora-coreos-34.20210503.1.0-qemu.x86_64.qcow2.xz: done
Extracting compressed file
$ podman machine start
Waiting for VM ...
$ podman machine list
NAME VM TYPE CREATED LAST UP
podman-machine-default* qemu 50 seconds ago Currently running |
In case someone is interested in running Podman on macOS, here are some more links:
Linking to the original information at the deprecated upstream project ("boot2podman"): |
thanks to @ncdc for keep investigating, it seems this will be fixed by containers/podman#11528 (comment) |
What happened:
Kind checks for
cgroup v2
support on my local host - wherecgroup v2
is not supported:What you expected to happen:
I expected to be able to create
kind
cluster on my remote host via the podman provider.How to reproduce it (as minimally and precisely as possible):
Run a fedora33 host via vagrant - this is my vagrant file.
Set these env variables:
Build kind:
Create a cluster
Anything else we need to know?:
As far as I can tell the cgroup validation was introduced in #2129 (comment) .
The validation looks at the local host, possibly because
podman info
does not provide enough information?This is what
podman info
returns for me:Environment:
kind version
):kind version 0.11.0-alpha+58bdc4e6fe9e9b
kubectl version
): I could not create the cluster. I did not specify any custom node image.docker info
): I'm not using docker, but I have it installedDocker version 20.10.5, build 55c4c88
/etc/os-release
):The text was updated successfully, but these errors were encountered: