Skip to content

Commit ff5ee53

Browse files
authored
Merge pull request teamhephy#20 from jianxiaoguo/master
chore(LimitRanges): modify the default limits
2 parents da67201 + 967b212 commit ff5ee53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rootfs/api/settings/production.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -371,8 +371,8 @@
371371
"limits": [
372372
{
373373
"default": {
374-
"cpu": "%sm" % KUBERNETES_CPU_MIN_ALLOCATION * KUBERNETES_CPU_ALLOCATION_RATIO, # noqa
375-
"memory": "%sMi" % KUBERNETES_RAM_MIN_ALLOCATION * KUBERNETES_RAM_ALLOCATION_RATIO # noqa
374+
"cpu": "%sm" % (KUBERNETES_CPU_MIN_ALLOCATION * KUBERNETES_CPU_ALLOCATION_RATIO), # noqa
375+
"memory": "%sMi" % (KUBERNETES_RAM_MIN_ALLOCATION * KUBERNETES_RAM_ALLOCATION_RATIO) # noqa
376376
},
377377
"defaultRequest": {
378378
"cpu": "%sm" % KUBERNETES_CPU_MIN_ALLOCATION,

0 commit comments

Comments
 (0)