-
Notifications
You must be signed in to change notification settings - Fork 871
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
* Make ha standby service generate random nodeport - #463
Conversation
In order to prevent collision with the ha active svc * Make the generic server svc generate a random nodeport if using HA mode, otherwise use the value supplied by the user on the chart
Pick a random nodePort
select a random port
random port when running in ha
nodePort if running in HA - we care about the active service only
This PR should make the user able to pick the nodePort port for the active svc, while generating port values for other svc that are also being created as nodePort (standby and generic server nodeport) |
Hi @jasonodonnell, |
Hi @shayfisher, sorry for the delay! I think this error is coming from CircleCI pipeline so I will look into it. About this PR: does it not make more sense to simply change the port of the standby service instead of generating one? It's probably better to be explicit with the port rather than generating due to firewall rules you might want to apply. Thoughts? |
Hi @jasonodonnell , |
@shahbazn Yes, I think a configurable on the port number makes sense. |
Hey @jasonodonnell maybe you wanted to tag @shayfisher in the last comment? |
My apologies @shahbazn, indeed I made a mistake 😄 |
I believe this PR was superseded by #610 |
In order to prevent collision with the ha active svc
nodeport if using HA mode, otherwise use the
value supplied by the user on the chart
This addresses this issue:
#344