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
configuration: fix resource configuration #1704
configuration: fix resource configuration #1704
Conversation
|
||
其中 PD/TiKV/TiDB 是 TiDB 集群的核心服务组件,在生产环境下它们的资源配置需要按组件要求指定,具体参考:[资源配置推荐](/how-to/deploy/hardware-recommendations.md)。如果是测试环境,可以无需配置资源直接使用 `values.yaml` 中默认的配置。 | ||
其中 PD、TiKV、TiDB 是 TiDB 集群的核心服务组件,在生产环境下它们的资源配置需要按组件要求指定,具体参考:[资源配置推荐](/how-to/deploy/hardware-recommendations.md)。如果使用 NUMA 架构的 CPU,为了获得更好的性能,请务必进行绑核,同时保证 PD、TiKV、TiDB 组件获得 Guaranteed 级别的 QoS,具体要求在配置资源时 limits 要等于 requests,并且 CPU 的数量必须是大于或等于 1 的整数。这块请参考: [Guaranteed](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/#static-policy)。 |
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.
绑核就是设置 Guaranteed QoS,并且 CPU 为整数,绑核与 Guaranteed QoS 是不是平行的概念。
@tennix PTAL again |
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.
LGTM
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.
LGTM
What is changed, added or deleted?
this PR adds the resource configuration requirements for NUMA architecture CPU
Checklist