add inventory metadata
This commit is contained in:
parent
ccad6b4798
commit
218eb0ea42
1 changed files with 20 additions and 4 deletions
24
clan.nix
24
clan.nix
|
@ -6,10 +6,26 @@
|
|||
};
|
||||
|
||||
inventory.machines = {
|
||||
m1 = {};
|
||||
c1 = {};
|
||||
c2 = {};
|
||||
c3 = {};
|
||||
m1 = {
|
||||
name = "Management node 1";
|
||||
machineClass = "nixos";
|
||||
tags = [ "cloud:amarth" "region:oss" "nodeType:management" "criticallity: medium" "" ];
|
||||
};
|
||||
c1 = {
|
||||
name = "Compute node 1";
|
||||
machineClass = "nixos";
|
||||
tags = [ "cloud:amarth" "region:oss" "nodeType:compute" "criticallity: medium" "" ];
|
||||
};
|
||||
c2 = {
|
||||
name = "Compute node 2";
|
||||
machineClass = "nixos";
|
||||
tags = [ "cloud:amarth" "region:oss" "nodeType:compute" "criticallity: medium" "" ];
|
||||
};
|
||||
c3 = {
|
||||
name = "Compute node 3";
|
||||
machineClass = "nixos";
|
||||
tags = [ "cloud:amarth" "region:oss" "nodeType:compute" "criticallity: medium" "" ];
|
||||
};
|
||||
};
|
||||
|
||||
# Docs: See https://docs.clan.lol/reference/clanServices
|
||||
|
|
Reference in a new issue