kubernetes – With the same node and the same namespace, multiple Nginx instances can only have one that can function properly
Here, both the front-end and back-end projects are deployed. The front-end code is deployed to nginx and packaged into an image, then it is deployed using k8s. Both the front-end and back-end, along with the middleware they use, are deployed to the same node in the same namespace. Here, multiple nginx images have been deployed, and only one can be accessed normally. The others can be used initially, but after a refresh, they will keep loading. However, when the nginx is deployed to different namespaces, one per namespace, they can all be used.
Read more here: Source link
