Quantcast
Channel: Active questions tagged tekton - Stack Overflow
Viewing all articles
Browse latest Browse all 54

Tekton CD Pruner Job Pod Hanging with Istio Sidecar

$
0
0

I use Istio in my cluster with sidecar injection. When my Tekton pruner finishes a run, the pruner container stops but the Istio sidecar container does not. This prevents the job from finishing and the pod from being terminated. This means that my pruner never runs again.

My pruner config:

pruner:  disabled: false  schedule: "*/30 * * * *"  startingDeadlineSeconds: 100  resources:    - pipelinerun  keep: 1  prune-per-resource: true

My first instinct was to disable Istio sidecar injection for just the pruner, but TektonConfig does not allow much customization to the job.Tekton Config: Pruner

I saw some posts regarding calling the Istio /quitquitquit endpoint to shut it down.. this does work but I cannot add any customization to the pruner.

Looking for advice on how to overcome this. Im surprised Tekton does not even allow adding annotations to the pruner to support customizations like this.

Thanks


Viewing all articles
Browse latest Browse all 54

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>