Yuvipanda has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/324730

Change subject: Add ruby webservice type
......................................................................

Add ruby webservice type

Change-Id: I96da1bbe335ff6579ca2e35e50f32e7bc61f736d
---
M toollabs/webservice/backends/kubernetesbackend.py
1 file changed, 17 insertions(+), 0 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/operations/software/tools-webservice 
refs/changes/30/324730/1

diff --git a/toollabs/webservice/backends/kubernetesbackend.py 
b/toollabs/webservice/backends/kubernetesbackend.py
index 0bfcee5..7385d11 100644
--- a/toollabs/webservice/backends/kubernetesbackend.py
+++ b/toollabs/webservice/backends/kubernetesbackend.py
@@ -82,6 +82,23 @@
                  }
             }
         },
+        'ruby2':  {
+            'cls': GenericWebService,
+            'image': 'toollabs-ruby-web',
+            'shell-image': 'toollabs-ruby-base',
+            'resources': {
+                'limits': {
+                    # Pods can't use more than these resource limits
+                    'memory': '2Gi',  # Pods will be killed if they go over 
this
+                    'cpu': '2'  # Pods can still burst to more than this
+                },
+                'requests': {
+                    # Pods are guaranteed at least this many resources
+                    'memory': '256Mi',
+                    'cpu': '0.125'
+                }
+            }
+        },
         'golang': {
             'cls': GenericWebService,
             'image': 'toollabs-golang-web',

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I96da1bbe335ff6579ca2e35e50f32e7bc61f736d
Gerrit-PatchSet: 1
Gerrit-Project: operations/software/tools-webservice
Gerrit-Branch: master
Gerrit-Owner: Yuvipanda <yuvipa...@wikimedia.org>

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

Reply via email to