deez
deez

Reputation: 1704

Jenkins kubernetes plugin using 2 podTemplates according to job use case

I have 2 podTemplates inside my kubernetes cloud plugin but I fail to understand how to tag my pipeline jobs to use the second podTemplate. It just keeps using the first one I configured as a default.

My use case is this - I want to tag several jobs to run on a different k8s node group. Already tried using a label as their docs say but it just doesn't work.

I have 2 pod templates, both configured with container names which are different.

Upvotes: 0

Views: 1223

Answers (0)

Related Questions