Auto-populating node selector in Infrastructure tab
long-term
C
Correct Lungfish
The node pool is to be set to linux by selecting linux node in the cluster.
But our question is we have given the "Select the Operating System" as "Linux" under Infrastructure -> Platform section.
However, the node selector remains blank and has to be entered manually.
We want to have the option to auto-populate the node selector when the node pool is entered.
we have more than 100+ templates, it's causing to much work for us to update the existing template.
Log In
N
Nofar Bluestein
long-term
N
Nofar Bluestein
under review
N
Nofar Bluestein
pending feedback
N
Nofar Bluestein
Hey,
when I'm creating a new pipeline on my account I do see 'linux' selected by default for me.
Could you please describe the steps you are taking so we can reproduce it? what kind of template are you using? what kind of infrastructure?
Thank you
C
Correct Lungfish
Nofar Bluestein
We are using Kubernetes build infrastructure hosted on Azure. We have Linux nodepool and recently added Windows nodepool in the cluster. We are seeing this issue after we have added Windows nodepoo.
Let's say i have a pipeline/template and wanted to run on Linux nodepool, even though i choose Operating System as "Linux", it is scheduling buildfarm on windows node.
We need to add node selector to make it run on Linux node. Wanted to check with Harness, can't you pass Operating System which we selected earlier as node selector. This help us to have updating 100+ templates.
Thank you.