siderolabs / contrib

talos/sidero setup examples
Mozilla Public License 2.0
40 stars 29 forks source link

proxmox with single public IP #17

Open thecodeassassin opened 1 year ago

thecodeassassin commented 1 year ago

hey all,

thank you for the great work on this provider. I just have a question regarding a setup on Proxmox. I only have one public IP and I need to use the bastion to connect to the instances. How would I go about this? Is there a way to connect to the endpoints (which are on internal ips) via a proxy/bastion host ?

smira commented 1 year ago

In general, you could run a TCP loadbalancer for both Talos and Kubernetes API on your bastion host.

For Kubernetes, if your loadbalancer supports hairpinning, you can use that external endpoint as the Kubernetes endpoint for the cluster.

For Talos, make sure loadbalancer hostname/IP is included in the .machine.certSANs in the machine config.