Releases: kainlite/kube-forward
Releases · kainlite/kube-forward
Release v0.4.0
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
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
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
- Improved connection tracking (works after sleep / suspend)
- Added per port-forward
permanent_connection
which defaults astrue
and ignoresmax_retries
. - Added some notes in the Readme.md file with these changes.
- Updated some crates.
Release v0.2.0
chore: bump to 0.2.0
Release v0.1.7
chore: seventh is the charm
Release v0.1.6
chore: another attempt for aarch64