-
Notifications
You must be signed in to change notification settings - Fork 138
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
Add support for custom job service names #4181
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Jason Parraga <sovietaced@gmail.com>
Signed-off-by: Jason Parraga <sovietaced@gmail.com>
…tom names Signed-off-by: Jason Parraga <sovietaced@gmail.com>
Signed-off-by: Jason Parraga <sovietaced@gmail.com>
@@ -4,6 +4,8 @@ import ( | |||
"math" | |||
"testing" | |||
|
|||
"github.com/armadaproject/armada/internal/server/configuration" |
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.
this needs to be in the block with the armada imports at the bottom (annoyingly linting isn't intellligent enough to fix/catch this)
@@ -41,6 +41,7 @@ message IngressConfig { | |||
message ServiceConfig { | |||
ServiceType type = 1; | |||
repeated uint32 ports = 2; | |||
string name = 3; |
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.
lets put a comment saying what this does and what the behaviour is if you don't set it.
Fixes #4171
This pull request adds a fix for #4171 and includes a feature flag to enable the new features (defaults to false). It includes an update to the
ServiceConfig
message that allows for an optional service name to be configured.As the PR currently sits, service name conflicts result in a recoverable error from the executor. I'm happy to change this but the error is plumbed to the user so I feel the user experience is ok and theoretically this could be a recoverable situation.