Skip to content

Releases: kainlite/kube-forward

Release v0.4.0

19 Jan 04:27
790f3d5
Compare
Choose a tag to compare

Initial support for UDP connections.

Example:

- name: "coredns"
  target: "kube-dns.kube-system"
  ports:
    protocol: udp
    local: 5454 
    remote: 53
  pod_selector:
    label: "k8s-app=kube-dns"

To test it you can do:

❯ dog google.com @127.0.0.1:5454
A google.com. 30s   172.253.122.139
A google.com. 30s   172.253.122.102
A google.com. 30s   172.253.122.101
A google.com. 30s   172.253.122.113
A google.com. 30s   172.253.122.100
A google.com. 30s   172.253.122.138

Release v0.3.4

18 Jan 20:53
819670e
Compare
Choose a tag to compare

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   

Release v0.3.3

17 Jan 00:53
720d741
Compare
Choose a tag to compare

Notes from v0.3.3:

  • Updated tests.

Notes from v0.3.2:

  • Improved connection tracking (works after sleep / suspend)
  • Added per port-forward permanent_connection which defaults as true and ignores max_retries.
  • Added some notes in the Readme.md file with these changes.
  • Updated some crates.

Release v0.3.2

17 Jan 00:19
d7773a1
Compare
Choose a tag to compare
  • Improved connection tracking (works after sleep / suspend)
  • Added per port-forward permanent_connection which defaults as true and ignores max_retries.
  • Added some notes in the Readme.md file with these changes.
  • Updated some crates.

Release v0.2.0

12 Jan 01:22
80403ec
Compare
Choose a tag to compare
chore: bump to 0.2.0

Release v0.1.7

10 Jan 03:15
7309372
Compare
Choose a tag to compare
chore: seventh is the charm

Release v0.1.6

10 Jan 01:30
bd0bfa1
Compare
Choose a tag to compare
chore: another attempt for aarch64