-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Task images not pulling from Kind local image registry #6877
Comments
@oneillal Thanks for the issue. This is happening by design, due to the way tekton creates and executes the Tasks (also known as the entrypoint hack). In a gist, if you don't specify a The current workaround at your disposale today would be:
This is a relatively hard problem to "fix" even, as.. with Kubernetes, we have no way to "fetch" the oci image configuration from the local/node runtime (it's not part of the CRI API). |
Issues go stale after 90d of inactivity. /lifecycle stale Send feedback to tektoncd/plumbing. |
Stale issues rot after 30d of inactivity. /lifecycle rotten Send feedback to tektoncd/plumbing. |
Thanks @vdemeester for the explanation. Apologies, GH notifications were turned off. Closing as resolved. |
Expected Behavior
When running Tekton on a local Kind cluster, Task definitions should see images existing in local Kind image registry (and not try to pull from remote) when
imagePullPolicy: Never
Actual Behavior
Tekton appears to not find images in the local Kind registry (or find the registry itself) and always try's to connect to a remote registry for Tasks images, when
imagePullPolicy: Never
e.g. DockerHubSteps to Reproduce the Problem
kind load docker-image my-image:1.01
Additional Info
Kubernetes version:
Tekton Pipeline version:
Kind version:
Task and TaskRun definitions:
Load an image into Kind registry:
Ensure Kind manifest Can Access Image Registry
TaskRun Logs
The text was updated successfully, but these errors were encountered: