mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 17:35:43 +03:00
command: quota init writes files with a network limit
This commit is contained in:
committed by
Preetha Appan
parent
fe8e3e7d80
commit
eea322522c
@@ -115,6 +115,9 @@ limit {
|
||||
region_limit {
|
||||
cpu = 2500
|
||||
memory = 1000
|
||||
network {
|
||||
mbits = 50
|
||||
}
|
||||
}
|
||||
}
|
||||
`)
|
||||
@@ -128,7 +131,10 @@ var defaultJsonQuotaSpec = strings.TrimSpace(`
|
||||
"Region": "global",
|
||||
"RegionLimit": {
|
||||
"CPU": 2500,
|
||||
"MemoryMB": 1000
|
||||
"MemoryMB": 1000,
|
||||
"Networks": [
|
||||
{ "MBits": 50 }
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user