Page MenuHomePhabricator

Create a basic helm chart to test MediaWiki on kubernetes
Open, HighPublic


Independently of how we're going to distribute the php code in production (see the discussion at T265183), we will need to create at first at least a basic helm chart for running MediaWiki on kubernetes.

This chart will need to install:

  • a Deployment comprising envoy, apache, php-fpm, mcrouter, the corresponding exporters
  • a nutcracker daemonset
  • (possibly) a memcached daemonset

We should try to get something ready as soon as possible, and test performance of e.g. using unix sockets for communicating between apache, mcrouter and php-fpm, and various configuration options.

This chart will need to allow multiple (as in - not just main/canary) releases.

Event Timeline

Joe triaged this task as High priority.Oct 13 2020, 7:49 AM
Joe created this task.

Mentioned in SAL (#wikimedia-operations) [2021-03-08T09:55:11Z] <_joe_> uploading new versions of docker images: php7.{2,3}-{cli,fpm}, httpd, httpd-fcgi, mediawiki-httpd, memcached T276097 T265327

Change 670220 had a related patch set uploaded (by Giuseppe Lavagetto; owner: Giuseppe Lavagetto):
[operations/deployment-charts@master] [WiP] Helm chart to run MediaWiki

joe@wotan:~/Sandbox/mw-on-k8s$ kubectl get pods
NAME                              READY   STATUS    RESTARTS   AGE
mediawiki-test-6fb67b5f8b-2nwqh   6/6     Running   5          3m44s

The chart now works with mcrouter and all metrics exporters, I didn't really check nutcracker still, but we're almost in the status where we can deploy a first version of the service in staging.