Page MenuHomePhabricator

Request increased quota for wikibugs Toolforge tool
Closed, ResolvedPublic

Description

Tool Name: wikibugs
Quota increase requested: +1 service (2 total)
Reason: Attempting to improve T357729: wikibugs having a hard time staying connected to libera.chat IRC network by adding a bouncer process (znc) to the tool. A Service object is needed to expose the bouncer's local listening port to other Pods in the namespace. The default Service quota of 1 has been consumed by a webservice associated with the tool.

Event Timeline

bd808 claimed this task.

Followed https://wikitech.wikimedia.org/wiki/Portal:Toolforge/Admin/Kubernetes#Deploy_new_version to deploy the change:

$ ssh cloudcumin1001.eqiad.wmnet
$ sudo cookbook wmcs.toolforge.k8s.component.deploy --cluster-name tools --component maintain-kubeusers

Then I tailed the process logs from login.toolforge.org:

$ ssh login.toolforge.org
$ kubectl sudo -n maintain-kubeusers get po
NAME                                  READY   STATUS    RESTARTS      AGE
maintain-kubeusers-66d8b64b78-bnchb   1/1     Running   3 (14h ago)   6d10h
$ kubectl sudo -n maintain-kubeusers logs -f pod/maintain-kubeusers-66d8b64b78-bnchb
...
starting a run
Update quota for tool wikibugs from version '2-T306322' to version '2-T358538'
finished run, wrote 0 new accounts, disabled 0 accounts, cleaned up 0 accounts, renewed 0 accounts, updated 1 quotas
$ kubectl sudo -n tool-wikibugs describe quota
Name:                   tool-wikibugs
Namespace:              tool-wikibugs
Resource                Used    Hard
--------                ----    ----
configmaps              2       10
count/cronjobs.batch    0       50
count/deployments.apps  5       6
count/jobs.batch        0       15
limits.cpu              2500m   8
limits.memory           2560Mi  8Gi
persistentvolumeclaims  0       0
pods                    5       16
requests.cpu            1125m   4
requests.memory         1280Mi  4Gi
secrets                 8       30
services                1       2
services.nodeports      0       0