Back to Charts

⚠️ Repo Archive Notice

stable/socat-tunneller/README.md

latest2.2 KB
Original Source

⚠️ Repo Archive Notice

As of Nov 13, 2020, charts in this repo will no longer be updated. For more information, see the Helm Charts Deprecation and Archive Notice, and Update.

socat-tunneller

A port-forward proxy. Allows an onward connection from the cluster to some other host in your cluster's network, eg your hosted database/cache/other service.

In practice, this means that a hosted service can be made available only to the cluster, then cluster users can be granted access by giving them permission to run port-forward on the tunneller.

DEPRECATION NOTICE

This chart is deprecated and no longer supported.

Basic usage

helm install stable/socat-tunneller --name db-tunneller --set tunnel.host=mydbhost.cloud --set tunnel.port=3306 --set nameOverride=db-tunneller

then

kubectl port-forward svc/db-tunneller 13306:3306

then, for eg

mysql -u myuser -h 127.0.0.1 --port 13306 -p

Configuration values

Important configuration

ParameterDescriptionDefault
tunnel.hostThe host to target, this should be resolvable by the pod(required)
tunnel.portThe port to target on the host(required)

Other configuration

ParameterDescriptionDefault
replicaCountDeployment replicas1
image.repositoryImage repositoryalpine/socat
image.tagImage tag1.0.3
image.pullPolicyImage pull policyIfNotPresent
resourcesContainer resources{}
nodeSelectorPod node selector{}
tolerationsPod tolerations[]
affinityPod affinity{}
podAnnotationsPod annotations{}