According to the comments in wmf-config/CommonSettings.php:
// Please note: neither command exists in the container, and this should // never be called in production - still better to set it to something that could work on k8s. $wgImageMagickConvertCommand = ClusterConfig::getInstance()->isK8s() ? '/usr/bin/convert' : '/usr/local/bin/mediawiki-firejail-convert';
However, the ThumbnailRender fails with a variety of errors, one of which is the job trying to call /usr/bin/convert Example log
This happened around 8k times in 1h, so we should revert ThumbnailRender to bare metal until we have fixed this.
After further investigation, the ThumbnailRender job was not implicated and was returned to mw-on-k8s. The call happens inside the jobs spawned by the MediaModeration maintenance script scanFilesInScanTable.php when using --use-jobqueue.