-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for JENKINS-51286: container cap limit
Issue : Setting container cap limit doesn't work correctly without Jenkins restart. Once user set container cap limit configuration for given namespace, kubernetes plugin consider all pods/containers from the namespace which are not started by the plugin (ideally it should query slave pods/container which are started by the plugin). This patch fixes this issue by setting default slave labels to query pods/containers while checking the container cap limit.
- Loading branch information
Showing
3 changed files
with
17 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters