feat: add matchExpressions support to Allocation Service#4630
Conversation
|
Build Failed 😭 Build Id: 9c126653-11e5-4f84-96fd-2eb884777550 Status: FAILURE To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
f477574 to
a8dc522
Compare
| map<string, string> annotations = 2; | ||
| } | ||
|
|
||
| // LabelMatchExpressions is a selector that contains values, a key, and an operator |
There was a problem hiding this comment.
this file get's copied over with make gen-all-sdk-grpc -- probably doesn't need to, but that's a cleanup task for another day.
|
Build Succeeded 🥳 Build Id: b6e565fd-b8c6-46b6-8bb3-1fe825ca3337 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version: |
a8dc522 to
564a17e
Compare
|
Build Failed 😭 Build Id: c3b9c356-49cd-41fc-8fdb-52ca38a44264 Status: FAILURE To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
* Introduce `MatchExpressions` to `GameServerSelector` for enhanced label-based selection alongside `MatchLabels`. * Update allocation logic to convert match expressions between internal and external representations. * Add e2e test `TestAllocatorWithMatchExpressions` to validate these scenarios. Closes agones-dev#2028 Signed-off-by: Mark Mandel <mark@compoundtheory.com>
564a17e to
06507ed
Compare
|
Build Succeeded 🥳 Build Id: 53199bfa-2ab0-4cbb-b8c8-a5b242cdd4b6 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version: |
|
Build Succeeded 🥳 Build Id: a4ef1323-a0da-41a0-a2df-5f48b462297f The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version: |
What type of PR is this?
/kind feature
What this PR does / Why we need it:
MatchExpressionstoGameServerSelectorfor enhanced label-based selection alongsideMatchLabels.TestAllocatorWithMatchExpressionsto validate these scenarios.Which issue(s) this PR fixes:
Closes #2028
Did you use AI tools in preparing this PR?:
Y
Special notes for your reviewer:
This was in my brain, and was an easy thing to get Claude to do.