dashboard: Post https://tekton-pipelines-webhook.tekton-pipelines.svc:443/defaulting?timeout=30s: context deadline exceeded

Expected behavior

A tekton dashboard deployment should work as expected:

curl -L "https://github.com/tektoncd/dashboard/releases/download/v0.6.0/tekton-dashboard-release.yaml" -o tekton-dashboard-0.6.0yml kubectl apply -f tekton-dashboard-0.6.0.yml

Actual behavior

❯ kubectl apply -f tekton-dashboard-0.6.0.yml 
customresourcedefinition.apiextensions.k8s.io/extensions.dashboard.tekton.dev created
serviceaccount/tekton-dashboard created
clusterrole.rbac.authorization.k8s.io/tekton-dashboard-minimal created
clusterrolebinding.rbac.authorization.k8s.io/tekton-dashboard-minimal created
service/tekton-dashboard created
deployment.apps/tekton-dashboard created
Error from server (InternalError): error when creating "tekton-dashboard-0.6.0.yml": Internal error occurred: failed calling webhook "webhook.pipeline.tekton.dev": Post https://tekton-pipelines-webhook.tekton-pipelines.svc:443/defaulting?timeout=30s: context deadline exceeded

Steps to reproduce the problem

  1. Deploy Tekton Pipelines 0.11.2 as mentioned in the installation guide
  2. Deploy Tekton Triggers 0.4.0 as mentioned in installation guide
  3. Deploy Tekton Dashboard 0.6.0 as mentioned in the README

Environment

  • Kubernetes Platform: Rancher

  • Tekton Pipelines version: 0.11.2

  • Tekton Triggers version: 0.4.0
  • Tekton Dashboard version: 0.6.0

Additional Info

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 15 (8 by maintainers)

Most upvoted comments

Hi @a-roberts same behavior. What I did is:

kubectl apply -f tekton-pipeline-0.11.2.yml
kubectl apply -f tekton-triggers-0.4.0.yml #I don't know if this is necessary, looks like most of this is included in the tekton-pipeline yml
kubectl apply -f tekton-dashboard-0.6.1.yml 

any idea how I can debug this further?

customresourcedefinition.apiextensions.k8s.io/extensions.dashboard.tekton.dev created
serviceaccount/tekton-dashboard created
clusterrole.rbac.authorization.k8s.io/tekton-dashboard-minimal created
clusterrolebinding.rbac.authorization.k8s.io/tekton-dashboard-minimal created
service/tekton-dashboard created
deployment.apps/tekton-dashboard created
Error from server (InternalError): error when creating "tekton-dashboard-0.6.1.yml": Internal error occurred: failed calling webhook "webhook.pipeline.tekton.dev": Post https://tekton-pipelines-webhook.tekton-pipelines.svc:443/defaulting?timeout=30s: context deadline exceeded