Page MenuHomePhabricator

Add HTTP proxy settings for outgoing requests to the production service configuration(s)
Closed, ResolvedPublic

Description

As noted on wikitech, apps and services running in Wikimedia production need to go through a proxy to make HTTP requests to the outside world.

Since we are using service-runner, we can use the standard app configuration proxy setting for this:

services:
  - name: push-notifications
    module: ./dist/app.js
    conf:
      port: 8900
      proxy:
         host: url-downloader.eqiad.wikimedia.org
         port: 8080
         protocol: http
      [...]

This setting should be added to the production service configurations provided on a per-DC basis under the helmfile.d directory in operations/deployment-charts.

Event Timeline

Change 602390 had a related patch set uploaded (by MSantos; owner: MSantos):
[operations/deployment-charts@master] charts for push-notification service

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

Updated the task to reflect discussion with Alexandros last week about the HTTP proxy; it should be a url-downloader instance IIUC. (This should be verified during the Helm chart code review.)

Change 602390 merged by jenkins-bot:
[operations/deployment-charts@master] charts for push-notification service

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