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

Allow configuring node affinity from operator #306

Open
vuldin opened this issue Feb 6, 2023 · 2 comments
Open

Allow configuring node affinity from operator #306

vuldin opened this issue Feb 6, 2023 · 2 comments

Comments

@vuldin
Copy link
Member

vuldin commented Feb 6, 2023

Who is this for and what problem do they have today?

A user would like to set node affinity through the operator.

What are the success criteria?

Allowing node selector configuration via the operator. Possible relevant code is here: https://github.com/redpanda-data/redpanda/blob/2959f38e37aad6dc968159273b4b25c4e84ad22c/src/go/k8s/pkg/resources/statefulset.go#L531

Why is solving this problem impactful?

Description of the issue from the user:

the nodeSelector works but it'll cause a lot of pain to currently implement because only certain types of clusters have the specific label. vs the node affinity which would just prefers the node and is ignored for the label doesn't exist

Additional notes

JIRA Link: CORE-1160

@david-yu
Copy link
Contributor

@david-yu
Copy link
Contributor

Re-opening since base on further discussion it looks like this is not implemented in the statefulset for the Operator as you have suggested: https://docs.redpanda.com/current/reference/k-crd/#k8s-api-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-statefulset

@david-yu david-yu reopened this Nov 13, 2024
@david-yu david-yu transferred this issue from redpanda-data/redpanda Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants