digitalocean / DOKS

Managed Kubernetes designed for simple and cost effective container orchestration.
https://www.digitalocean.com/products/kubernetes/
Apache License 2.0
82 stars 5 forks source link

NAT gateway (static ip) #9

Open klausenbusk opened 5 years ago

klausenbusk commented 5 years ago

This is probably more a general DO feature request than a k8s specific request.

We need static IPs for egress traffic as it makes it a lot easier for our customers to whitelist traffic from us. We are currently using a kubeadm cluster and some custom scripting to route all traffic through a single node (which has a floating ip).

Ideally we could use DOKS directly.

https://cloud.google.com/nat/docs/using-nat
https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html

nathanjsweet commented 5 years ago

Hey @klausenbusk you are correct that this is more of a general DO feature than k8s specific, but it is a feature that is currently on the product roadmap for the networking team. Timelines can shift dramatically, but I think they are targetting early 2020. Would you be interested in a feature where you can pay to have staticIPs assigned to your nodes so that all your egress traffic keeps coming from the same IPs?

klausenbusk commented 5 years ago

Would you be interested in a feature where you can pay to have staticIPs assigned to your nodes so that all your egress traffic keeps coming from the same IPs?

Do you mean a staticIP per node or some sort of gateway so multiple nodes can use the same IP for egress traffic? If it is the latter then yes. Ideally I should be able to scale the cluster up or down, without the IP changing.

nathanjsweet commented 5 years ago

Do you mean a staticIP per node

Yes.

or some sort of gateway so multiple nodes can use the same IP for egress traffic

No, but perhaps you could set this up with a service mesh of some kind in conjunction with us creating a staticIP feature.

rafaelrosafu commented 5 years ago

Hello, I'm the product manager for network at DO. Just to give some context, Nathan is right that we are working on improving how to make gateways at DO, right now our private network has some limitations for that and we are working to make it more flexible early next year. Unfortunately we won't have a fully managed NAT gateway right then, but we want to do so in the future, just a matter of time.

vuphuong87 commented 4 years ago

@rafaelrosafu Do you have any update of this?

klausenbusk commented 4 years ago

VPC was just released, but we still need a NAT Gateway product.

lfelguetac commented 4 years ago

I need it !!

klausenbusk commented 4 years ago

@rafaelrosafu a year has nearly passed. Do you have any update on this?

chandanpasunoori commented 3 years ago

Hi @rafaelrosafu any update you can share?

vkruoso commented 3 years ago

This is really important nowadays. Most people do not want to manage their NAT Gateways or make sure its not a singe point of failure. Any news on that?

adarmanto commented 2 years ago

Any update on this? thanks

iNviNho commented 2 years ago

Any update? As soon as DO would have NAT gateway, i am migrating from AWS :)

timoreimann commented 2 years ago

Not yet unfortunately, but we do realize it's a frequently requested feature. Will certainly be considered for roadmap planning.

mihma commented 2 years ago

Much needed feature

simonoff commented 2 years ago

For now will be great at least to enable such NAT in Cillium

moovs commented 1 year ago

for now it's has this: https://github.com/digitalocean/k8s-staticroute-operator/ but any ideas how it make resiliancy or fault tolerance it's not have..

you can create a droplet and make it as your egress gateway, but if this droplet down.. your egress traffic stop working..

websmurf commented 1 year ago

We would like to see this feature as well

anuragpathak21 commented 1 year ago

Hi, We need this too and want to know where are we with this?

SergkeiM commented 1 year ago

Yes please, no updates from Nov 2019 almost 4 years :)

gofastlily commented 1 year ago

This feature is currently blocking me from using DOKS

duclm2609 commented 1 year ago

a NAT gateway is really neccesary for VPC networking, it's blocking me from using DOKS

anuragpathak21 commented 1 year ago

I don't think NAT Gateway is planned in near future, best way to go about it is using crossplane. I deployed it for two of my clusters and so far it's working just fine. If you want to give it a try then you can follow the URL : https://github.com/digitalocean/k8s-staticroute-operator/

sagaraspl commented 1 year ago

I think this is really needed feature, I am thinking to move all my cluster from DO to AWS as this is in discussion since 4 years and yet no action on this from DO side.

TwiN commented 1 year ago

It's unfortunate that this hasn't been added yet; I've been waiting for it since Kubernetes came out on DO.

While it would certainly be possible to manually create a gateway droplet and route egress traffic through it, it adds an additional point of failure for customers.

For SaaS companies to serve certain types of customers (think governments & large companies), providing said customers with a list of IPs that they must add to their allowlist is a hard requirement for them, and I have no doubt that the fact that this feature not being available is deterring smaller companies from using DigitalOcean specifically for that reason.

It would be very nice to have an estimate of when (or whether) this feature will be worked on. Though I am sure there are more pressing matters at hand for DO, it would at least allow people to plan accordingly.

M144-Coder commented 1 year ago

@rafaelrosafu Any updates on this or at least a roadmap? We have third party services that requires us to add ip addresses to their whitelist so we can use their API. We can't use droplet as a gateaway as this is will be both a bottleneck and a point of failure. Currently we manually added nodes public ip addresses to the whitelist, but we are considering moving to another cloud provider that has this functionallity.

timoreimann commented 1 year ago

👋 Timo here from DO.

Thanks for all the feedback. We're aware that NAT egress gateway continues to be a frequent customer request. It is definitely on our roadmap, though we cannot speak to specific timelines. We do want to make sure that we nail the right customer experiences.

In the meantime, https://github.com/digitalocean/k8s-staticroute-operator may be an acceptable workaround. (Yes, we're aware it has a few gaps and doesn't serve all customers well.)

simonoff commented 7 months ago

5 years its in your roadmap

mertcangokgoz commented 6 months ago

I am not sure if it is still on your roadmap or if they are keeping us waiting. It has been almost 5 years and there still seems to be no progress.

TwiN commented 4 months ago

@timoreimann Any news? 👀

mertcangokgoz commented 1 month ago

We don't use kubernetes on digitalocean anymore, we moved everything just because of the lack of this feature. 🤷‍♂️

kycfeel commented 1 month ago

@mertcangokgoz Same here. I love DO but the lack of a NAT gateway is critical. I'm planning to move out all the workloads to GCP instead.