mirror of
https://gitlab.com/TECHNOFAB/coder-templates.git
synced 2026-02-02 19:35:06 +01:00
chore(nix-kubernetes): allow configuring cpu and memory request for template
This commit is contained in:
parent
70601ffbd0
commit
1392cb7d0c
2 changed files with 12 additions and 3 deletions
|
|
@ -12,5 +12,15 @@
|
|||
error_message = "Invalid architecture selected";
|
||||
};
|
||||
};
|
||||
cpu_request = {
|
||||
type = "string";
|
||||
description = "CPU request to apply to workspaces. Kubernetes Notation (eg. 500m)";
|
||||
default = "0";
|
||||
};
|
||||
memory_request = {
|
||||
type = "string";
|
||||
description = "Memory request to apply to workspaces. Kubernetes Notation (eg. 1Gi)";
|
||||
default = "0";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue