Link Search Menu Expand Document

Different proxies for probes

Table of contents

  1. Scenario
  2. Scenario

Scenario

Sometimes you need different proxies for different HTTP probes.

Scenario

scenarios:
- name: Proxies
  steps:

  # no proxies needed in cluster
  - probeHTTP:
      target:
        service:
          name: myservice
          namespace: example
          port: 8000

  # for this url, we need a special proxy
  - probeHTTP:
      target:
        url: https://something.somewhere.com
      proxy: http://some-proxy:8080

  # note, that this will ignore HTTP_PROXY and HTTPS_PROXY in the env
  # at will go without proxies
  - probeHTTP:
      target:
        url: https://something.somewhere.com


© 2020 Bloomberg Finance L.P.