-
Notifications
You must be signed in to change notification settings - Fork 0
Template configuration - new coder_agent resource #245
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
Comments
defelmnq
added a commit
to coder/coder
that referenced
this issue
Feb 4, 2025
As requested for [this issue](coder/internal#245) we need to have a new resource `resources_monitoring` in the agent. It needs to be parsed from the provisioner and inserted into a new db table.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The template configuration issue includes all the components required in order for coderd to read and access the OOM & OOD configuration.
As per the RFC, the new component to read from the agent block look like :
This logic is done inside the
ConvertState
function https://github.com/coder/coder/blob/630fd7c0a1ee44fa6ce61ac9cb4c76842dc247dd/provisioner/terraform/resources.go#L143The parsed configuration then has to be stored into the DB for further usage.
The scope of this issue stops when the data are inserted in the database - with the associated methods available to fetch it.
The text was updated successfully, but these errors were encountered: