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

operator: Add init container resources #1556

Conversation

RafalKorepta
Copy link
Contributor

Cover letter

This commit moves towards CPU static policy management. This will allow users
to assign containers to CPUs cores exclusively.

User needs to understand that in order to run Redpanda on exclusive CPUs cores
the cluster custom resource needs to have integer value for CPU requests and
whole requests needs to equal limits (including memory and cpu).

REF:
https://kubernetes.io/docs/tasks/configure-pod-container/quality-service-pod/#create-a-pod-that-gets-assigned-a-qos-class-of-guaranteed
https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/#static-policy

Fixes #1549

Release notes

Release note: Users can create Redpanda containers in Guaranteed QoS class.

This commit moves towards CPU static policy management. This will allow users
to assign containers to CPUs cores exclusively.

User needs to understand that in order to run Redpanda on exclusive CPUs cores
the cluster custom resource needs to have integer value for CPU requests and
whole requests needs to equal limits (including memory and cpu).

REF:
https://kubernetes.io/docs/tasks/configure-pod-container/quality-service-pod/#create-a-pod-that-gets-assigned-a-qos-class-of-guaranteed
https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/#static-policy

Fixes redpanda-data#1549
@RafalKorepta RafalKorepta requested a review from a team as a code owner June 8, 2021 08:01
Copy link
Contributor

@0xdiba 0xdiba left a comment

Choose a reason for hiding this comment

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

🔥

@dimitriscruz dimitriscruz merged commit b44918b into redpanda-data:dev Jun 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pass resource spec to configurator init container
3 participants