forked from LaconicNetwork/kompose
Fix the cpu limits and requests in generated deployment file
Signed-off-by: Li Yi <denverdino@gmail.com>
This commit is contained in:
parent
fa5281d440
commit
d283bbbcc2
@ -155,7 +155,7 @@
|
||||
],
|
||||
"resources": {
|
||||
"limits": {
|
||||
"cpu": "1",
|
||||
"cpu": "1m",
|
||||
"memory": "52428800"
|
||||
},
|
||||
"requests": {
|
||||
|
||||
@ -64,11 +64,11 @@
|
||||
"image": "redis",
|
||||
"resources": {
|
||||
"limits": {
|
||||
"cpu": "10",
|
||||
"cpu": "10m",
|
||||
"memory": "52428800"
|
||||
},
|
||||
"requests": {
|
||||
"cpu": "1",
|
||||
"cpu": "1m",
|
||||
"memory": "20971520"
|
||||
}
|
||||
}
|
||||
|
||||
@ -155,7 +155,7 @@
|
||||
],
|
||||
"resources": {
|
||||
"limits": {
|
||||
"cpu": "1",
|
||||
"cpu": "1m",
|
||||
"memory": "52428800"
|
||||
},
|
||||
"requests": {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user