0

I'm on my home network. I've installed a VPN server using Raspberry Pi. I've connected my laptop with 4G (using my phone). I had a different IP. After connecting to my VPN server I had my IP from home. So this seems to work.

But now I want to create a VPC on Google Cloud from which I can only connect from my home network.

I was looking to this blog, but I'm not sure if this will work for me, or if this is the setup I need to follow? I want to connect to a fully private GKE network. (vpc)

My general goal is to create something like here.

I want to deploy a fully private Kubernetes cluster in google cloud from which I can connect from home OR using my VPN to my home.

DenCowboy
  • 283
  • 3
  • 6
  • 14

1 Answers1

0

You can use Internal load balancer on Kubernetes engine which is currently in beta to set this up. You have to create an internal load balancer by adding the LoadBalancer specification to service resource. This will eventually provide access outside the cluster using the internal load balancer ingress IP. As if you have VPN access to your GCP virtual private cloud (VPC) network, same VPC network used to create Kubernetes cluster should be able to access services through the K8 internal load balancer. More information is available here.

You may also find these links helpful Link1 Link2.

N Singh
  • 438
  • 3
  • 10