Replies: 1 comment
-
See #2493 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, and thank you for accepting my inquiry.
General information:
kubernetes version: v1.23.3
nginx-ingress vesion: (nginxinc/nginx-ingress OSS) v2.1.1 / nginx:1.21.5
Installation type: bare metal
I have the following service configuration:
And the respective Ingress config:
What I am trying to do is Load Balance the requests to myservice.example.com to the same backend service, but by using multiple ports (5591 and 5592 in this example).
Please note that the requests I want to load balance are in the same path.
The generated config is:
Targeted config (what I am trying to achieve) is:
I have tried several approaches, but I always seem to fall into a duplication of some sort.
Duplicate resource (for the host if I create multiple Ingress rules, duplicate location if I add both services under the same path, or ignoring the first part of the configuration if it is repeated in any way).
I also tried with VirtualServer:
Again, one of the two services gets ignored:
Generated Config:
Desired Config:
Is there any way I can achieve the desired configuration?
Thank you in advance
Beta Was this translation helpful? Give feedback.
All reactions