Skip to content
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 topologySpreadConstraints for the operator + a small refactoring #611

Merged
merged 3 commits into from
Aug 16, 2023

Conversation

Amper
Copy link
Contributor

@Amper Amper commented Aug 15, 2023

required for cross-dc operator installation

@Amper Amper added enhancement New feature or request operator operator helm chart related issue labels Aug 15, 2023
@Amper Amper self-assigned this Aug 15, 2023
@Amper Amper requested a review from Haleygo August 15, 2023 15:01
tenmozes
tenmozes previously approved these changes Aug 15, 2023
@Amper Amper force-pushed the operator-topology-spread-constraints branch from b6d4496 to 7530183 Compare August 15, 2023 19:41
@@ -182,4 +182,5 @@ Change the values according to the need of the environment in ``victoria-metrics
| serviceAccount.name | string | `""` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template |
| serviceMonitor | object | `{"annotations":{},"enabled":false,"extraLabels":{},"relabelings":[]}` | configures monitoring with serviceScrape. VMServiceScrape must be pre-installed |
| tolerations | list | `[]` | Array of tolerations object. Ref: [https://kubernetes.io/docs/concepts/configuration/assign-pod-node/](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/) |
| topologySpreadConstraints | object | `{}` | Pod Topology Spread Constraints. Ref: [https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/](https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/) |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

topologySpreadConstraints should be list | [] too.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, fixed

@Amper Amper requested a review from Haleygo August 16, 2023 10:59
Copy link
Contributor

@Haleygo Haleygo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Amper Amper merged commit 99db279 into master Aug 16, 2023
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request operator operator helm chart related issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants