Skip to content

Installing pipeline in KIND cluster fails when following the development documentation. #8660

@twoGiants

Description

@twoGiants

Expected Behavior

After following the DEVELOPMENT.md and setting up the cluster in KIND using this section. I should be able to install the pipeline with this command: ko apply -R -f config/.

I am on Fedora 40 and use KIND with Docker.

Actual Behavior

The pipeline installation fails with this error:

Error: error processing import paths in "config/webhook.yaml": error resolving image references: no nodes found for cluster "kind"

Steps to Reproduce the Problem

  1. Be on Fedora 40.
  2. Start a KIND cluster with Docker and a local registry.
  3. Configure ko as shown here with export KO_DOCKER_REPO="kind.local"
  4. Install pipeline: ko apply -R -f config/

Additional Info

  • Kubernetes version:

    Output of kubectl version:

Client Version: v1.32.2
Kustomize Version: v5.5.0
Server Version: v1.32.2
  • Tekton Pipeline version:

    Output of tkn version or kubectl get pods -n tekton-pipelines -l app=tekton-pipelines-controller -o=jsonpath='{.items[0].metadata.labels.version}'

Client version: 0.40.0
Pipeline version: unknown, pipeline controller may be installed in another namespace please use tkn version -n {namespace}

Solution

The issue is resolved by setting export KO_DOCKER_REPO="localhost:5000" which should be the address of your local registry.

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions