Add option to add labels to Kubernetes nodes
Make nextcloud always go to nodes with fast storage Don't mount nextcloud on syncthing pod
This commit is contained in:
parent
11200c0ff7
commit
afa0bd023e
8 changed files with 41 additions and 9 deletions
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
machines.atlas = {
|
||||
arch = "x86_64-linux";
|
||||
kubernetesNodeLabels.storageType = "slow";
|
||||
|
||||
nixosModule.lab = {
|
||||
storage = {
|
||||
|
|
|
@ -22,6 +22,14 @@ let
|
|||
Customized configuration for this machine in the form of a NixOS module.
|
||||
'';
|
||||
};
|
||||
|
||||
kubernetesNodeLabels = lib.mkOption {
|
||||
default = null;
|
||||
type = with lib.types; nullOr attrs;
|
||||
description = ''
|
||||
Any labels to add to the Kubernetes node.
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
in
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
machines.jefke = {
|
||||
arch = "x86_64-linux";
|
||||
kubernetesNodeLabels.storageType = "fast";
|
||||
|
||||
nixosModule.lab = {
|
||||
storage = {
|
||||
|
|
Reference in a new issue