-
Notifications
You must be signed in to change notification settings - Fork 188
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
allow deploy to specify port index for healthchecks and LB api #887
Conversation
@@ -281,6 +289,11 @@ public String getId() { | |||
return healthcheckTimeoutSeconds; | |||
} | |||
|
|||
@ApiModelProperty(required=false, value="Perform healthcheck on this dynamically allocated port (e.g. 0 for first port)") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should probably indicate that it defaults to the first port
Can you also add checks for these new fields to |
Worth adding and/or updating tests to verify this works |
(LGTM once all this is addressed) |
Added validator pieces, just need to add tests |
c6ee903
to
fb56d10
Compare
LGTM, thanks |
allow deploy to specify port index for healthchecks and LB api
On the deploy you can specify
loadBalancerPortIndex
orhealthcheckPortIndex
(e.g.0
for first allocated port,1
for second allocated port). Defaults to 0 if not specified/fixes #886