tektoncd / pipeline

A cloud-native Pipeline resource.
https://tekton.dev
Apache License 2.0
8.37k stars 1.76k forks source link

Can't create task #7619

Open nessrinehaf opened 5 months ago

nessrinehaf commented 5 months ago

Expected Behavior

Create a git clone task

Actual Behavior

i get the following error: Error from server (InternalError): error when creating "git-clone-task-df.yaml": Internal error occurred: failed calling webhook "webhook.pipeline.tekton.dev": failed to call webhook: Post "https://tekton-pipelines-webhook.tekton-pipelines.svc:443/defaulting?timeout=10s": context deadline exceeded

Steps to Reproduce the Problem

  1. kubectl apply -f git-clone-task-df.yaml

Additional Info

git-clone-task-df.yaml: https://hub.tekton.dev/tekton/task/git-clone

Client Version: v1.29.0
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.28.2
vdemeester commented 5 months ago

Hey @nessrinehaf, this error essentially means there is something wrong communication with the webhook. It could be due to network issue, or the webhook crashing, … Can you check what is the status of the deployments and pods in the tekton-pipelines namespace ?