Skip to content

Commit 4a3904a

Browse files
backport of commit 6d30ed5 (#27309)
Co-authored-by: Piotr Kazmierczak <[email protected]>
1 parent cff1199 commit 4a3904a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

command/quota_init.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,10 @@ limit {
130130
variables = 1000 # in MB
131131
host_volumes = 100000 # in MB
132132
}
133+
node_pool "example" {
134+
cpu = 500
135+
memory = 100
136+
}
133137
}
134138
}
135139
`)
@@ -155,6 +159,10 @@ var defaultJsonQuotaSpec = strings.TrimSpace(`
155159
"Storage": {
156160
"Variables": 1000,
157161
"HostVolumes": 100000
162+
},
163+
"NodePool": {
164+
"CPU": 500,
165+
"MemoryMB": 1000
158166
}
159167
}
160168
}

0 commit comments

Comments
 (0)