Remove the resource limit for pod in k8s deployment
For non-image type function, it's the runtime server's reponsibility to set resource limit for sub-process. For image type function, we set the limit in pod definition for now, may provide config option or input param in future. Change-Id: I6c0e19759df0b964eb63839998327e55b4c4b092
This commit is contained in:
parent
d0e4ae6452
commit
9922c20249
@ -34,13 +34,6 @@ spec:
|
||||
volumeMounts:
|
||||
- name: package-folder
|
||||
mountPath: /var/qinling/packages
|
||||
resources:
|
||||
limits:
|
||||
cpu: "0.3"
|
||||
memory: 128Mi
|
||||
requests:
|
||||
cpu: "0.1"
|
||||
memory: 32Mi
|
||||
- name: sidecar
|
||||
image: openstackqinling/sidecar
|
||||
imagePullPolicy: IfNotPresent
|
||||
|
Loading…
x
Reference in New Issue
Block a user