-
Notifications
You must be signed in to change notification settings - Fork 312
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
LoadBalancerIP support for Amazon LoadBalancer #48
Comments
It seems that support for this did find its way into the in-tree cloud provider, but is missing from this out-of-tree provider. The original PR is here kubernetes/kubernetes#69263 @brooksgarrett it was your work originally got this support into the cloud provider, but it would seem to have got lost in the move to the separate repo. By the looks of things, the original work never made it into a non-alpha/beta release of Kubernetes. So, in a sense this is a feature, in another sense it is a nearly a regression. I'm happy to open a PR that is shamelessly the original PR to the main kubernetes repo, but rejigged as best I can, or it might be simpler (and more honest) if @brooksgarrett were to do that, if they happen to have the time. |
It was nearly a year from opening the PR to merge so I'm completely out of touch with the code base. I'll look when I have a moment and see if I can get it sorted. |
Looking some more, might |
Looking for this feature as well to host our top-level domian proxy app on Kubernetes rather than a standalone server |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
I would need this too. |
/remove-lifecycle stale |
This is supported in k8s 1.16.0+ via the ---
apiVersion: v1
kind: Service
metadata:
annotations:
# ...
service.beta.kubernetes.io/aws-load-balancer-eip-allocations: >-
eipalloc-0123456789abcdefg,
eipalloc-0123456789hijklmn,
eipalloc-0123456789opqrstu
service.beta.kubernetes.io/aws-load-balancer-type: nlb
name: test-service
spec:
selector:
app: test-service
externalTrafficPolicy: Local
ports:
# ...
type: LoadBalancer |
I'm confused, so you can specify an Elastic IP to associate with the service but not an existing Load Balancer's ARN? How does this solve the problem of reusing an existing Load Balancer? |
In AWS once a NLB is created you cannot change the subnets or assign an EIP. This is an aws limitation not k8 |
@bfmiv What is the External IP assigned for the service? |
Will be used IP associated with this allocations
You can resolve IP address using AWS API from IP allocation. |
comment from @andrewsykim : kube-proxy will inject rules to take traffic for anything with "LoadBalancerIP" and will be routed internally. |
/assign |
@sergey-safarov does the annotation mentioned above fit your use case? Should we close this issue? |
Hi Nicholas @nckturner Thank you very much Nicholas |
…penshift-4.15-ose-aws-cloud-controller-manager OCPBUGS-19218: Updating ose-aws-cloud-controller-manager images to be consistent with ART
What would you like to be added:
Amazon cloud support addition elastic IP as loadbalancer external IP. Screenshot attached.
But I cannot use this featured as not supported for Kubernetes 1.13. I receive error
LoadBalancerIP cannot be specified for AWS ELB
.yaml content
Service addition
Server status
Why is this needed:
This feature need because many customers use firewalls and need use static IP on our server side.
/kind feature
The text was updated successfully, but these errors were encountered: