-
Notifications
You must be signed in to change notification settings - Fork 39
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
How to use the kind local registry? #429
Comments
I found that However, deploying a knative function using
I can push to the local kind registry using docker directly though. |
There might be some config needed for |
@slinkydeveloper 👋 I had issued:
and it worked. See a snippet of the deployment behind the ...
spec:
containers:
- env:
- name: BUILT
value: 20240618T103140
- name: ADDRESS
value: 0.0.0.0
- name: PORT
value: "8080"
- name: K_REVISION
value: s3-logger-00001
- name: K_CONFIGURATION
value: s3-logger
- name: K_SERVICE
value: s3-logger
image: localhost:5001/s3-logger@sha256:<.........>
imagePullPolicy: IfNotPresent
... Also, I have an entry below in my
See here for more: https://www.redhat.com/sysadmin/manage-container-registries |
UPDATE: for the |
@GeorgGroenendaal I noticed a similar, but yet different issue. See here: |
kind docs on using the registry we may want to make use of: https://kind.sigs.k8s.io/docs/user/local-registry/#using-the-registry |
@matzew Maybe unrelated issue here, but now i'm struggling to create the
Versions:
|
I think the command that's failing here is: What output do you get from that command? (when I ran that on my machine, I got a bind error due to the registry also running on docker) |
Yes you're right, that command is wrong. The thing is that, with a clean env, when I try to run it, it just works fine. After some googling, I figured that podman exit status code 125 means that the container already exists, so maybe the tool tries to create the container two times or something like that? |
Just a question: how does the kind local image registry works with knative? Perhaps could we have a very little section in the
kn quickstart kind
docs explaining how to go from "I have an image built in my local docker/podman daemon" to "kn service create"?The text was updated successfully, but these errors were encountered: