jx: GC cronjob actions failing?

Using:

NAME VERSION jx 1.2.133 jenkins x platform 0.0.1175 kubernetes cluster v1.9.7-gke.1 kubectl v1.9.6 helm client v2.9.1+g20adb27 helm server v2.9.1+g20adb27 git git version 2.15.1 (Apple Git-101)

I am seeing lots of failed pods on our cluster with names starting with jenkins-x-gc-activities and jenkins-x-gc-previews. Looks like there is an issue with permissions as the logs are reporting:

error: pipelineactivities.jenkins.io is forbidden: User "system:serviceaccount:jx:default" cannot list pipelineactivities.jenkins.io in the namespace "jx": Unknown user "system:serviceaccount:jx:default"

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 17 (5 by maintainers)

Most upvoted comments

yeah I’ll be working on this today. not too sure what’s up with it yet but hopefully it wont take much

for now you can delete the cronjobs so you don’t get the pods scheduled

kubectl delete cronjob jenkins-x-gc-activities jenkins-x-gc-previews