Andrew Bogott has submitted this change and it was merged.

Change subject: nodepool: rebalance trusty vs jessie min instances
......................................................................


nodepool: rebalance trusty vs jessie min instances

I have build a dashboard to track percent of builds occuring on each
flavor.  More than 60% are now done on Jessie and the jobs using Trusty
are being transitioned.

It is now better to have slightly more Jessie instances available
(min-ready) and, when the pool is full, there is not much point in
having Trusty instances idling when we could have a Jessie one instead.

Board:
https://grafana.wikimedia.org/dashboard/db/continuous-integration?panelId=8&fullscreen

Change min-ready from a 50/50% ratio to a ~33/~66% ratio. That gives us
one less squatting trusty instances and two more jessie instances ready
to be immediately consumed.

Change-Id: I62f1b26967ae6b3ed3f09d052c8fcf74e80ab731
---
M modules/nodepool/templates/nodepool.yaml.erb
1 file changed, 8 insertions(+), 2 deletions(-)

Approvals:
  Andrew Bogott: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/nodepool/templates/nodepool.yaml.erb 
b/modules/nodepool/templates/nodepool.yaml.erb
index f1927fe..8a26d16 100644
--- a/modules/nodepool/templates/nodepool.yaml.erb
+++ b/modules/nodepool/templates/nodepool.yaml.erb
@@ -51,17 +51,23 @@
 # Jenkins labels
 #
 # Make sure all labels run the 'ready.sh' script
+#
+# To balance number of min-ready per labels, see the repartition of builds
+# between nodes on the Grafana dashboard:
+#
+# 
https://grafana.wikimedia.org/dashboard/db/continuous-integration?panelId=8&fullscreen
+#
 labels:
   - name: ci-jessie-wikimedia
     image: ci-jessie-wikimedia
     ready-script: ready.sh
-    min-ready: 4
+    min-ready: 6
     providers:
       - name: wmflabs-eqiad
   - name: ci-trusty-wikimedia
     image: ci-trusty-wikimedia
     ready-script: ready.sh
-    min-ready: 4
+    min-ready: 3
     providers:
       - name: wmflabs-eqiad
 

-- 
To view, visit https://gerrit.wikimedia.org/r/319336
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I62f1b26967ae6b3ed3f09d052c8fcf74e80ab731
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Hashar <has...@free.fr>
Gerrit-Reviewer: Andrew Bogott <abog...@wikimedia.org>
Gerrit-Reviewer: Chad <ch...@wikimedia.org>
Gerrit-Reviewer: Chasemp <r...@wikimedia.org>
Gerrit-Reviewer: Thcipriani <tcipri...@wikimedia.org>
Gerrit-Reviewer: Yuvipanda <yuvipa...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to