identiops / terraform-hcloud-k3s

Private k3s Kubernetes Terraform installer for Hetzner Cloud
https://identiops.com/projects/k3s
MIT License
55 stars 6 forks source link

port forarding doesn't correct described in readme #13

Open mogol07 opened 2 weeks ago

mogol07 commented 2 weeks ago

Hi!

in readme said

Forward the cluster port locally since it's not exposed to the Internet by default. Do this every time you want to interact with the cluster: ./ssh-node gateway

but this command open new terminal session, not just forwarding port. To achive only port forwarding, I need to use ./ssh-node gateway -fN

i.e. no run command, only forward port. But to finish process I need to kill process. Maybe make sense to update readme?

jceb commented 2 weeks ago

Hi @mogol07, Thank you for your feedback. Yes, you're right, the command will also open a shell. Would you create a PR to update the documentation accordingly? I'm not sure how useful it is to just get the port forwarded without a shell on the host but feel free to point out this option.