Score:0

How to connect k8s deployment calls private VPC cloud function on Google cloud platform?

td flag

I'm trying to deploy my frontend container image on Kubernetes, and this frontend depends on the GCP cloud function. I want to make the flow more secure by using a virtual private cloud (VPC) feature on GCP.

What I have done:

I created a custom network and subnet. I created a VPC connector. I Updated all cloud functions connection settings to use that connector; in the ingress setting I chose Allow internal traffic and traffic from Cloud Load Balancing and on Egress settings, I chose Route only requests to private IPs through the VPC connector. I created a private auto-pilot cluster and bound it with my network. I deployed my frontend image on K8S and then I expose it using an external load balancer. I tried to open my exposed frontend link and it opened but all requests to the cloud functions failed.

If anyone has tried this scenario before, please share the knowledge.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.