-
Notifications
You must be signed in to change notification settings - Fork 1.4k
tilt up with podman fails #9162
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
Comments
@bengentil FYI |
/triage accepted Thanks for opening this! I don't think there's been any work to make the tilt setup work with podman as opposed to Docker to date. The |
After initial debug -
It should probably be fixed via code similar to this - https://github.com/kubernetes-sigs/cluster-api/blob/main/Tiltfile#L251-L259 |
As for the cert manager, kind does not support loading of images via podman (as per my understanding), not sure how can we deal with that, possibly will need some hacky way to move pass it. |
I think those should be automatically created while building go binaries: Lines 251 to 259 in a3dd933
|
@Karthik-K-N Yes, but seems like it directly goes to build images when podman is being used. (or at-least not executing the binaries related function) |
@killianmuldoon / @Prajyot-Parab podman support has been implemented here and it's working with kind (at least on Fedora 38) @Karthik-K-N reached out as I am the author of the PR, I asked him to create this issue so I can investigate it further I suspect an issue specific to macos or maybe the tilt version, as only @Karthik-K-N I just saw you are using I'll try to reproduce with my mac and let you know. |
what do you mean by |
@bengentil I was able to reproduce the issues, below are my env details (Not on Mac + No Docker) -
|
I tackled the socket error with steps mentioned here - https://cluster-api.sigs.k8s.io/developer/tilt.html#using-podman |
@Prajyot-Parab did you reproduce after fixing the socket (starting the service and setting the appropriate DOCKER_HOST)? |
These 2 steps fixed socket issue for me to be precise here
after fixing socket, we ran into |
On a fresh setup on my mac I can reproduce the 2 issues: 1. error while loading cert-manager imagesI think it is this issue: kubernetes-sigs/kind#2760 I had to create a I think I don't have this issue on fedora because I have the 2. directory not created / build not done before generating the Dockerfile
|
With #9165, tilt is working on a fresh macos/podman install. To summarise, you need:
I hope this helps! |
thanks for the quick help, I will check and update |
@bengentil tried the mentioned steps but the controllers were not running successfully and not able to pull or push the images locally as well. Created a local registry with port 5001 and a kind cluster "capi-test"
|
The error is
On macos, the registry configuration is in the podman VM, as far as I know there is no way to manage this config from the host, you need to All of this is not needed if:
|
Thank you. I will try this and update. |
@bengentil thanks for the quick fix we were able to verify it on macos with only podman
make sure update script to create two nodes
|
What steps did you take and what happened?
tilt with podman is faling
tilt error with webhook diabled
tilt error with webhook enabled in tilt-setting.yaml
What did you expect to happen?
Successfully able to run tilt
Cluster API version
Latest main
$ git log --oneline
f9942a9 (HEAD -> main, origin/main, origin/HEAD) Merge pull request #9159 from kubernetes-sigs/dependabot/go_modules/hack/tools/google.golang.org/api-0.136.0
f1ef079 🌱 Bump google.golang.org/api in /hack/tools
d7229e5 Merge pull request #9119 from g-gaston/update-versions-1-6
Kubernetes version
$ kubectl version --short
Flag --short has been deprecated, and will be removed in the future. The --short output will become the default.
Client Version: v1.27.3
Kustomize Version: v5.0.1
Server Version: v1.27.3
Anything else you would like to add?
No response
Label(s) to be applied
/kind bug
One or more /area label. See https://github.com/kubernetes-sigs/cluster-api/labels?q=area for the list of labels.
The text was updated successfully, but these errors were encountered: