Skip to content

Release v0.3.4

Compare
Choose a tag to compare
@github-actions github-actions released this 18 Jan 20:53
819670e

options is now completely optional:

Sample entry

- name: "identifier"
  target: "<svc-name>.<namespace>"
  ports:
    local: <any free local port> 
    remote: <remote port on the pod> 
  options: <optional | define it if you need to tweak the default behavior>
    retry_interval: <optional> (define it in seconds for example 5s)
    max_retries: <optional> (define it as a number for example 20)
    health_check_interval: <optional> (define it in seconds for example 10s)
    persistent_connection: <optional | defaults to true and ignores max_retries>
  pod_selector:
    label: <optional> if the <svc-name>" doesn't match the pod name you need to use a label like: app.kubernetes.io/instance=simple"

Minimal configuration example

Assuming we have an instance called "simple" we can easily match the pod using that label.

- name: "jaeger-ui"
  target: "simple-query.observability"
  ports:
    local: 16686
    remote: 16686
  options:
    retry_interval: 1s
    health_check_interval: 30s
  pod_selector:
    label: "app.kubernetes.io/instance=simple"

- name: "postgres"
  target: "postgres.tr"
  ports:
    local: 5434 
    remote: 5432