E
E
Eur Po2018-08-24 17:08:06
Kubernetes
Eur Po, 2018-08-24 17:08:06

How is traffic routed between pods?

I just started to get comfortable with kubernates, I want, for starters, to assemble a bunch of nginx php-fpm with site data in cephFS, everything would be fine, but I have little idea how to arrange the connection between nginx and php-fpm, if through the service then the traffic will constantly dangle between the nodes , by ip - may change, as well as DN if it restarts. How is it better to organize it, and how to do what if the node with php-fpm falls and nginx will work, so that no requests go to it or it starts going to other nodes with their php-fpm?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question