Inject server sidecar to a deployment and run the ktunnel client to establish a connection
ktunnel inject deployment [flags] DEPLOYMENT_NAME [ports]
# Inject a back tunnel from a running deployment to local mysql and redis
ktunnel inject deployment mydeployment 3306 6379
-c, --ca-file string tls cert auth file
--cert string TLS certificate file
--context string Kubernetes Context
-e, --eject Eject the sidecar when finished (default true)
-h, --help help for deployment
--key string TLS key file
-n, --namespace string Namespace (default "default")
-s, --scheme string Connection scheme (default "tcp")
-o, --server-host-override string Server name use to verify the hostname returned by the TLS handshake
-i, --server-image string Ktunnel server image to use (default "docker.io/omrieival/ktunnel:v2.0.0")
-p, --port int The port to use to establish the tunnel (default 28688)
-t, --tls Connection uses tls if true, else plain TCP
-v, --verbose verbose mode
- ktunnel inject - Inject server sidecar to the cluster and run the ktunnel client to establish a connection