Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: How do you tell kourier to use a static IP? #747

Closed
vazexqi opened this issue Jan 11, 2022 · 3 comments
Closed

Question: How do you tell kourier to use a static IP? #747

vazexqi opened this issue Jan 11, 2022 · 3 comments

Comments

@vazexqi
Copy link

vazexqi commented Jan 11, 2022

There are instructions on how to do it using istio at https://github.com/dewitt/knative-docs/blob/master/serving/gke-assigning-static-ip-address.md#step-2-update-the-external-ip-of-the-knative-ingressgateway-service however I have not been able to find anything for kourier.

Any pointers would be appreciated.

@nak3
Copy link
Contributor

nak3 commented Jan 11, 2022

@vazexqi You can set the static IP for external Kourier service. So this command should work:

$ kubectl patch svc kourier --namespace kourier-system --patch '{"spec": { "loadBalancerIP": "<your-reserved-static-ip>" }}'

@vazexqi
Copy link
Author

vazexqi commented Jan 11, 2022

Ah, it's just a Service of LoadBalancer underneath!
Thanks, confirming that specifying the loadBalancerIP value in spec works!

@vazexqi vazexqi closed this as completed Jan 11, 2022
@theomessin
Copy link

Any way of configuring this using the Knative Operator?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants