Open 4t8dd opened 7 months ago
Hey @4t8dd, what is/are the Task
definition ? Especially the image
part of the step(s). Each Task
can have multiple steps, each step using an oci image that is defined by the user. So if you are in an airgapped environment (aka cannot pull from external network), you need to make sure to also import any oci image used in the Task
you want to run, to be able to run them.
Expected Behavior
tekton can find these images locally.
Actual Behavior
I tried to install tekton locally. So I manually pull the images from remote to local with ctr. The pods of tekton are all good. But when I try to run some task, the image can not be found even I have got it locally. It looks like tekton was trying to pull images from remote anyway. The images are these(I just changed the tag for my convenience):
I import these images with
ctr -n=k8s.io i import ./some.tar
and create a new namespace for the task.Steps to Reproduce the Problem
just try to run tekton purely locally.
Additional Info
Kubernetes version:
Output of
kubectl version
:Tekton Pipeline version:
Output of
tkn version
orkubectl get pods -n tekton-pipelines -l app=tekton-pipelines-controller -o=jsonpath='{.items[0].metadata.labels.version}'