Open schrodit opened 1 year ago
Hi Tim,
are you sure that you have actual connection issues without setting NODE_NETWORK
? The local gardener development setup also does not set NODE_NETWORK
and VPN is working fine there.
What you can see in the logs, though, is that the readiness/liveness probes happening every 10 seconds (see https://github.com/gardener/gardener/blob/5eb88cb64bc5d503cacb7d66fc026ef85ecd4189/pkg/component/vpnseedserver/vpn_seed_server.go#L341-L354). The attempt to clean the logs from the probe requests seems to not work in all environments equally well.
Could you please confirm that you face actual connections issues, i.e. do you also see the connect requests in vpn-shoot
? Otherwise, I would close this issue.
Best regards, Johannes.
What happened:
When the VPN server has no
NODE_NETWORK
configured it will constantly reconnect.Configuring a dummy value temporarily fixes the issue.
server (seed):
client (shoot)
What you expected to happen:
Some providers in gardener like equinix expect not to have a node network configured to correctly work. So the VPN should also work without a required node network.
How to reproduce it (as minimally and precisely as possible):
Create a shoot without a node network defined in the networks config.
Environment: