Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unique external IP per kubernetes pod

I need to scale my application so that it won't get banned for passing request rate-limit of a site it uses frequently (which allow up to X requests per minute per IP).
I meant to use kubernetes and split the requests between multiple workers, but I saw that all the pods get the same external IP. so what can I do?

like image 321
arielorvits Avatar asked Sep 14 '25 15:09

arielorvits


1 Answers

I used kubernetes DaemonSet to attach pod to each node, and instead of scaling by changing deployment, I'm scaling by adding new nodes.

like image 132
arielorvits Avatar answered Sep 17 '25 04:09

arielorvits