Score:0

How to prevent public access to GKE Ingress and make it accessible just for Apigee X

us flag

I am new in Cloud stuff, and my question may be basic, but this problem has bugged me for a week, and I don't know how to fix it.

I deployed my first Cloud project on GCP using GKE. After that, I used Kubernetes Ingress to expose its service. On the API gateway side, I used Apigee X. And successfully created a proxy and used the Ingress's IP address as the proxy's backend. Up to now, everything is fine.

My problem is to prevent public access to GKE Ingress and make it accessible just for Apigee X to communicate with it.

I am thinking of creating an internal ingress ( I know we have both external and internal options for Ingress in GKE) and giving the internal IP address to the Apigee proxy's backend. But I am unsure if and how to make Apigee load balancer talk to an internal IP address.

Alex G avatar
ar flag
Does this help? https://stackoverflow.com/questions/47893375/limiting-access-by-ip-in-kubernetes-on-gcps-gke
Score:0
pe flag

Your need create your cluster as Private

In a private cluster, nodes only have internal IP addresses, which means that nodes and Pods are isolated from the internet by default.

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.