-
Notifications
You must be signed in to change notification settings - Fork 498
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 resources configuration for InitContainer in TiDB initializer job #1911
Comments
@tfulcrand Just set |
@tfulcrand Did you try the above setting? |
@DanielZhangQD Yes we set |
@tfulcrand Yes, you're right. Looking forward to your contribution, Thanks! |
@DanielZhangQD Is there something wrong with the PR ? |
@tfulcrand by the way, you can join our stack channel |
@tfulcrand PR merged, sorry for the late review, thanks for your contribution! |
Feature Request
Is your feature request related to a problem? Please describe:
When we run TiDB cluster with init options for TiDB component in a namespace with defined quotas, we get an error for
tidb-cluster-tidb-initializer
job object likeWarning FailedCreate 3s job-controller Error creating: pods "tidb-cluster-tidb-initializer-cwx85" is forbidden: failed quota: karazhan-quota: must specify limits.memory,requests.cpu,requests.memory
Investigations show us that the
initContainer
of this job has no ressources defined.Describe the feature you'd like:
Allow to use the TiDB initializer job in namespace with quotas.
The text was updated successfully, but these errors were encountered: