-
Bug
-
Resolution: Duplicate
-
Minor
-
latest
Default labels for jenkins slave are missing in kubernetes-plugin.
Without default labels for jenkins slave we cannot create generic NetworkPolicy in Kubernetes to secure communication between slave and master.
We don't want to specify labels in podTemplate because we do not own pipelines code.
Would be nice to have following labels in every jenkins slave Pod by default.
labels: jenkins: slave
Related commits:
Current fix:
We downgraded kubernetes-plugin to 1.1.2 version and following labels are present:
labels: jenkins: slave
- duplicates
-
JENKINS-50268 instanceCap reached with preexisting pods because labels are empty
- Resolved
- is duplicated by
-
JENKINS-51286 container cap doesn't work correctly in kubernetes plugin
- Closed
- relates to
-
JENKINS-51137 Kubernetes plugin ignores "Max number of instances" when using yaml
- Resolved