Wikis running on k8s only have a 2MB file size upload limit
[20:05] <urbanecm> Reedy: shell.php in k8s says that `ini_get('upload_max_filesize')` evals to `2M`, while in non-k8s it evals to 100m
Wikis running on k8s only have a 2MB file size upload limit
[20:05] <urbanecm> Reedy: shell.php in k8s says that `ini_get('upload_max_filesize')` evals to `2M`, while in non-k8s it evals to 100m
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Stalled | None | T255792 Quibble runs core:unit tests twice! | |||
Open | None | T328919 Upgrade to PHPUnit 10 | |||
Open | None | T338103 Micro-optimize ApiResult::isMetadataKey with str_starts_with once we support PHP8+ | |||
Open | None | T328921 Drop PHP 7.4 support from MediaWiki | |||
Stalled | None | T334726 Use return type `never` in Wikibase | |||
Open | None | T328922 Drop PHP 8.0 support from MediaWiki | |||
Stalled | None | T319055 Upgrade to psr/container 2.x | |||
Stalled | Krinkle | T319432 Migrate WMF production from PHP 7.4 to PHP 8.1 | |||
Open | None | T291916 Tracking task for Bullseye migrations in production | |||
Stalled | None | T356293 Migrate MW appservers' base images to bullseye | |||
Open | None | T290536 Serve production traffic via Kubernetes | |||
Resolved | Joe | T341825 Max upload size on k8s is 2M |
The 100M in bare metal comes from https://gerrit.wikimedia.org/r/plugins/gitiles/operations/puppet/+/refs/heads/production/modules/php/manifests/init.pp#34
Change 938027 had a related patch set uploaded (by Giuseppe Lavagetto; author: Giuseppe Lavagetto):
[operations/docker-images/production-images@master] Fix max upload size in php-fpm
Change 938027 merged by Giuseppe Lavagetto:
[operations/docker-images/production-images@master] Fix max upload size in php-fpm
Change 938030 had a related patch set uploaded (by Giuseppe Lavagetto; author: Giuseppe Lavagetto):
[operations/deployment-charts@master] mw-debug: add ini values dumper
Change 938030 merged by jenkins-bot:
[operations/deployment-charts@master] mw-debug: add ini values dumper
Please note this is now working as intended on mw-debug (just select 'k8s-experimental' from the wikimedia-debug extension, then visit https://en.wikipedia.org/w/debug/ini_get.php?value=<desired ini value? to verify. The REPL will still report 2M but that's because it uses a different php.ini.
I'll resolve the task once I've deployed to all of k8s later.
Mentioned in SAL (#wikimedia-operations) [2023-07-14T08:47:36Z] <_joe_> deploying to mw on k8s for T341825