Provide minimal resources to prevent accidental crashes due to resource exhaustion
Signed-off-by: Mariusz Sabath <[email protected]>
This commit is contained in:
committed by
Marco Franssen
parent
1675997748
commit
91bdea2a1d
@@ -41,6 +41,15 @@ service:
|
|||||||
port: 3000
|
port: 3000
|
||||||
annotations: {}
|
annotations: {}
|
||||||
|
|
||||||
|
# -- Provide minimal resources to prevent accidental crashes due to resource exhaustion
|
||||||
|
# resources:
|
||||||
|
# requests:
|
||||||
|
# cpu: 50m
|
||||||
|
# memory: 128Mi
|
||||||
|
# limits:
|
||||||
|
# cpu: 100m
|
||||||
|
# memory: 512Mi
|
||||||
|
|
||||||
# -- URL of the Tornjak APIs (backend)
|
# -- URL of the Tornjak APIs (backend)
|
||||||
# Since Tornjak Frontend runs in the browser, this URL must be accessible from
|
# Since Tornjak Frontend runs in the browser, this URL must be accessible from
|
||||||
# the machine running a browser.
|
# the machine running a browser.
|
||||||
|
|||||||
@@ -8,3 +8,10 @@ tornjak-frontend:
|
|||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
port: 3000
|
port: 3000
|
||||||
apiServerURL: "http://localhost:10000/"
|
apiServerURL: "http://localhost:10000/"
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 50m
|
||||||
|
memory: 128Mi
|
||||||
|
limits:
|
||||||
|
cpu: 100m
|
||||||
|
memory: 512Mi
|
||||||
|
|||||||
Reference in New Issue
Block a user