jx: Tekton pipelines not starting

Summary

On a fresh install of jx in an existing GKE cluster, tekton pipelines are not starting. Judging from logs in the jx namespace, everything seems to be fine and I can see from the GitHub repository that webhooks trigger successfully.

Please let me know which info (e.g., logs, events) can help to debug the issue.

Steps to reproduce the behavior

  • Create a GKE cluster.
  • Install nginx Ingress.
jx install --provider gke \
    --external-ip $LB_IP \
    --domain acme.com \
    --default-admin-password $JX_PASS \
    --ingress-namespace ingress-nginx \
    --ingress-deployment nginx-ingress-controller \
    --ingress-service ingress-nginx \
    --namespace cd \
    --no-tiller \
    --prow \
    --tekton \
    --batch-mode \
    --verbose

kubectl get pods -w

Expected behavior

The output of kubectl get pods should return Pods used by Tekton pipeline runs.

Actual behavior

The output of kubectl get pods does NOT return Pods used by Tekton pipeline runs.

Jx version

NAME               VERSION
jx                 2.0.118
jenkins x platform 2.0.191
Kubernetes cluster v1.12.6-gke.10
kubectl            v1.14.0
helm client        Client: v2.13.1+g618447c
git                git version 2.20.1 (Apple Git-117)
Operating System   Mac OS X 10.14.4 build 18E226

Jenkins type

  • Next Generation (Tekton + Prow)
  • Classic Jenkins
  • Serverless Jenkins (JenkinsFileRunner + Prow)

Kubernetes cluster

GKE

Operating system / Environment

macOS

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 18 (3 by maintainers)

Most upvoted comments

Having an issue with tekton pipelines too, this may be unrelated but will mention it here. Happens on 2.0.118 and 2.0.119.

NAME VERSION jx 2.0.118 Kubernetes cluster v1.12.7-gke.10 kubectl v1.12.2 git git version 2.17.2 (Apple Git-113) Operating System Mac OS X 10.14.4 build 18E215a

{"level":"error","msg":"failed to apply Tekton CRDs: failed to create/update PipelineResource logistio-environment-jx-te-mast in namespace jx: failed to get PipelineResource logistio-environment-jx-te-mast with pipelineresources.tekton.dev \"logistio-environment-jx-te-mast\" not found after failing to create a new one: Internal error occurred: failed calling admission webhook \"webhook.tekton.dev\": Post https://tekton-pipelines-webhook.jx.svc:443/?timeout=30s: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) failed to apply Tekton CRDs: failed to create/update PipelineResource logistio-environment-jx-te-mast in namespace jx: failed to get PipelineResource logistio-environment-jx-te-mast with pipelineresources.tekton.dev \"logistio-environment-jx-te-mast\" not found after failing to create a new one: Internal error occurred: failed calling admission webhook \"webhook.tekton.dev\": Post https://tekton-pipelines-webhook.jx.svc:443/?timeout=30s: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)","time":"2019-05-15T12:13:13Z"}