Kubernetes and CloudFlare

February 17, 2019 539 views
Kubernetes

Hi everyone,

I’m searching for a solution to protect an api running with kubernetes on Digital Ocean.

I didn’t found anything about the new Kubernetes hosting (LTD), DDoS protection and DigitalOcean in the same place…

I’m playing around right now, I would like to protect it from DDOS attacks.

Do you have some documentation or tutorial or tips to implement a way to hide/protect an API with the new Kubernetes hosting of DO ? :)

Thx a lot !

1 Answer

What exactly would you want? How is your current setup, or how will it be?
I am not very familiar with kubernetes, but I think you would be able to create a Service, and let Nginx or some other proxy listen to it.

Then you can use your public IP and add a DNS record in Cloudflare towards this IP.

  • I want to protect my API from DDOS without thinking about it! (or less)

    I agree with the Nginx solution and the public ip and CloudFlare :)

    I think, i was searching for a double validation ahah :p

    Thx for your response, it’s calming my anxiety ahah :D

Have another answer? Share your knowledge.