chore(nix-kubernetes): allow configuring cpu and memory request for template

This commit is contained in:
technofab 2024-05-08 13:36:59 +02:00
parent 70601ffbd0
commit 1392cb7d0c
2 changed files with 12 additions and 3 deletions

View file

@ -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";
};
};
}