Implement LimitRanger plugin
This commit is contained in:
31
examples/limitrange/limitrange.json
Normal file
31
examples/limitrange/limitrange.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"id": "limits",
|
||||
"kind": "LimitRange",
|
||||
"apiVersion": "v1beta1",
|
||||
"spec": {
|
||||
"limits": [
|
||||
{
|
||||
"kind": "pods",
|
||||
"max": {
|
||||
"memory": "1073741824",
|
||||
"cpu": "2",
|
||||
},
|
||||
"min": {
|
||||
"memory": "1048576",
|
||||
"cpu": "0.25"
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "containers",
|
||||
"max": {
|
||||
"memory": "1073741824",
|
||||
"cpu": "2",
|
||||
},
|
||||
"min": {
|
||||
"memory": "1048576",
|
||||
"cpu": "0.25"
|
||||
}
|
||||
},
|
||||
],
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user