Page MenuHomePhabricator

Add conditional to mediawiki-config for stuff running on kubernetes
Closed, ResolvedPublic

Description

We need to have a global variable that allows us to distinguish kubernetes installations from "normal" ones. Something like $wgIsContainerized, so that we can vary configurations, e.g. for allowing to use TCP for connecting to nutcracker, or to add/not add the onhost memcached configuration (for now).

Conclusion: https://gerrit.wikimedia.org/r/711186 established $wmfUsingKubernetes

Event Timeline

Joe triaged this task as High priority.Jun 7 2021, 4:57 AM
Joe created this task.

Change 703835 had a related patch set uploaded (by Giuseppe Lavagetto; author: Giuseppe Lavagetto):

[operations/deployment-charts@master] mwdebug: add servergroup

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

Change 703836 had a related patch set uploaded (by Giuseppe Lavagetto; author: Giuseppe Lavagetto):

[operations/mediawiki-config@master] Add configuration for running on kubernetes

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

Change 703835 merged by jenkins-bot:

[operations/deployment-charts@master] mwdebug: add servergroup

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

Change 703836 merged by jenkins-bot:

[operations/mediawiki-config@master] Adjust redis configuration for running on kubernetes

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

Mentioned in SAL (#wikimedia-operations) [2021-08-10T23:06:54Z] <krinkle@deploy1002> Synchronized wmf-config/: I13e88c303a, T284418 (duration: 01m 07s)

dancy updated the task description. (Show Details)