-
Notifications
You must be signed in to change notification settings - Fork 825
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
Added labels to the agones.allocator #3125
Added labels to the agones.allocator #3125
Conversation
Build Failed 😱 Build Id: fa611a27-0e46-496f-978a-c2bad5ccbea1 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Build Succeeded 👏 Build Id: 05cffcac-f387-4841-9bb9-cacdf0a74b46 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 Failed 😱 Build Id: d8ec5534-8238-4c74-b681-5c95860de705 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Build Failed 😱 Build Id: 263f9616-5006-4544-9188-f75f948eaef5 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Build Succeeded 👏 Build Id: 3a2f8f06-effb-47e4-acd3-54c27168db5d 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:
|
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.
Small docs change, but otherwise good to go.
@@ -201,6 +201,7 @@ The following tables lists the configurable parameters of the Agones chart and t | |||
| `agones.allocator.tolerations` | Allocator [toleration][toleration] labels for pod assignment | `[]` | | |||
| `agones.allocator.affinity` | Allocator [affinity][affinity] settings for pod assignment | `{}` | | |||
| `agones.allocator.annotations` | [Annotations][annotations] added to the Agones allocator pods | `{}` | | |||
| `agones.allocator.labels` | [Labels][labels] added to the Agones allocator pods | `{}` | |
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 table will need to added to the feature shortcoded table at the bottom so they don't show up in documentation when merged into main
(docs get updated immeadiately)
https://agones.dev/site/docs/contribute/#within-a-page
#2961 is a good example
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.
I've updated the helm file, please review and let me know if there's anything that needs further attention..
Build Succeeded 👏 Build Id: f3cb718f-3b53-4e2d-bee6-8349d485ca80 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:
|
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.
Just realised this was missing a step.
Also hope you don't mind but I edited the description to add the "closes" to the issue so it would actually close the issue.
@@ -36,6 +36,7 @@ agones: | |||
allocator: | |||
name: agones-allocator | |||
annotations: {} | |||
labels: {} |
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.
I just realised something! This value hasn't been applied to the actual service Deployment! We will need to do that as well.
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.
I have added labels in this allocation.yaml file, please share your suggestions
Build Failed 😱 Build Id: f5eb7d77-a70d-4724-9b1c-35dba6dd7c54 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Looks like a flake:
|
@@ -160,6 +160,9 @@ spec: | |||
{{- end }} | |||
{{- if .Values.agones.allocator.annotations }} | |||
{{- toYaml .Values.agones.allocator.annotations | nindent 8 }} | |||
{{- end }} | |||
{{- if .Values.agones.allocator.labels }} |
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.
Looks good - just checking if you had a chance to do any manual testing on this? (I don't think there's any better way to actually test this).
Easiest way might be to use make install
and pass in some extra HELM_ARGS
and make sure the Deployment labels are good.
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.
I have validated the labels manually per your guidance
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.
Thanks for the validation - but I just realised after looking at it, that these values are showing up in the annotations:
section.
We should move this code up to above line 152, so it sits under labels:
- then it should be good to go.
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.
The values have been moved to the labels section
Build Failed 😱 Build Id: 12b838fd-72fc-43f0-b78c-5fc07aec6fe4 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Build Succeeded 👏 Build Id: 8a643f02-2662-4e04-adf6-7a0a7226209a 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:
|
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.
Looks good!
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.
Looks good!
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Kalaiselvi84, markmandel The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
What this PR does / Why we need it:
Which issue(s) this PR fixes:
Closes #3093
Special notes for your reviewer: