Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Cloud Ingress: Use Regional IP from other region for Kubernetes

Tags:

kubernetes

we are currently still running our Kubernetes cluster in region europe-west2 (London) but have to use a new ipaddress for an ingress on the cluster from europe-west3 (Frankfurt).

After trying to deploy our new ingress on the cluster in region europe-west2 I get the following error:

the given static IP name xyz doesn't translate to an existing static IP. 

I assume that ingress only has access to regional IP addresses in the same region.

I use the following annotation:

  annotations:
    kubernetes.io/ingress.regional-static-ip-name: xyz

Does anybody have an idea how to use the IP address from europe-west3 on an ingress in europe-west2?

Cheers

like image 463
JSt Avatar asked Oct 21 '25 11:10

JSt


1 Answers

I've tried to replicate your issue but couldn't find any solution.

However, note that from the official documentation:

Regional IP addresses do not work with Ingress.

To learn more about how to use Ingress to expose your applications to the internet, refer to the Setting up HTTP(S) Load Balancing with Ingress tutorial.

And please refer to the similar issues and the useful answers under it:

  • Issue 1

  • Issue 2

like image 180
Bazhikov Avatar answered Oct 23 '25 07:10

Bazhikov



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!