Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-50006

Kubernetes agent max number of instances no longer working

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Trivial Trivial
    • kubernetes-plugin
    • None

      I noticed that I set one slave template max number of instances to be 10, set container cap to 20. However slaves from that template did not get restricted, it launched more than 20 instances in k8s cluster, causing unexpected heavy load.

       

      We've been using this number before, and it was working quite well until recently. Is this a regression?

       

      Thanks

       

      Kubernetes-plugin version: 1.1

      Jenkins version: 2.89

      Kubernetes version: 1.9

          [JENKINS-50006] Kubernetes agent max number of instances no longer working

          Carlos Sanchez added a comment - - edited

          have you tried 1.3.2 ?

          Carlos Sanchez added a comment - - edited have you tried 1.3.2 ?

          Rong Shen added a comment -

          I have not. Version 1.3.2 did not show up in Jenkins Update Center. Probably because we are using CJT instead of regular Jenkins.

          I think I'll have to manual check, that will take me some time because I don't want to interfere daily testing jobs. Let me change the priority level so I can have more time to test.

          Thank you!

          Rong Shen added a comment - I have not. Version 1.3.2 did not show up in Jenkins Update Center. Probably because we are using CJT instead of regular Jenkins. I think I'll have to manual check, that will take me some time because I don't want to interfere daily testing jobs. Let me change the priority level so I can have more time to test. Thank you!

          Peter Novotnak added a comment - - edited

          I can dupe with 1.4. With a limit of 20 set it seems like it always provisions 1:1 for number of jobs queued

          Peter Novotnak added a comment - - edited I can dupe with 1.4. With a limit of 20 set it seems like it always provisions 1:1 for number of jobs queued

            csanchez Carlos Sanchez
            hathaways Rong Shen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: