Define a second deployment named $namespace.$environment.$release-statsd
- With at least 2 replicas
- Reusing base.statsd.container, base.statsd.volume and base.statsd.configmap for convenience. This already includes the external port for prometheus to scrape when statsd is enabled in values.yaml.
- Adding a UDP port reachable from the mediawiki pod's local envoy
Add configuration to mediawiki's local envoy to listen on UDP localhost:9125 (matching $wgStatsTarget = 'udp://localhost:9125') and upstream to $namespace.$environment.$release-statsd on the previously defined port.