You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is there any way to set tolarations and affinity as default for pipelines in the backend for the kubernetes agent?
Although I'm about node selector, but
i would rather not fiddle around with my cluster settings to enable an alpha feature
the backend_options is basically exactly what i am looking for, but i would love to be able to specify them in the agent deployment instead of having to modify all my pipelines or remember to add that if i create a new pipeline for a new project
Maybe Cronix could define Agent-wide node selector and select Agent by labels then.
Clear and concise description of the problem
Allow admin to define Agent-wide node selector like it is with labels and annotations. Not using beta API or third party controllers.
See #3367.
Also from Matrix:
Although I'm about node selector, but
Maybe
Cronix
could define Agent-wide node selector and select Agent by labels then.Suggested solution
Add Agent option
WOODPECKER_BACKEND_K8S_POD_NODE_SELECTOR
(woodpecker_backend_k8s_pod_labels)Alternative
PodNodeSelector, v1.5 alpha.
Kyverno and similar, third party.
Additional context
No response
Validations
next
version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]The text was updated successfully, but these errors were encountered: