-
Notifications
You must be signed in to change notification settings - Fork 146
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
[FEATURE] Add ability to configure resource requests and limits for the runner container #1491
Comments
Hello @ahmadbabaeimoghadam, Configuring resources like you have done in your example configuration is possible in the Terraform spec. Example:
|
It is introduced in release We are using v0.15.1 and it does not support this feature. Is there any ETA for a new stable release? like v0.16.0? |
Hi @akselleirv, while the controller code has been updated to allow setting resources (see: tf_controller_runner.go#L261), this functionality still doesn’t work. The issue lies in the CRD not being updated accordingly. As a result, the controller throws the following error when attempting to apply a Terraform resource with resources configured:
I deployed tf-controller v0.16.0-rc.2 using helm chart. |
@ahmadbabaeimoghadam it works in latest relesse |
Description
Currently, the runner container in tofu-controller does not support the configuration of resource requests and limits (CPU and memory). This feature is critical for environments where resource allocation needs to be tightly managed.
Proposal
Introduce a mechanism to allow users to set CPU and memory resource requests and limits for the runner container via configuration.
Suggested Implementation
Example Configuration
Use Cases
Additional Notes
The text was updated successfully, but these errors were encountered: