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:
Lingxian Kong 2018-03-09 14:42:47 +13:00
parent d0e4ae6452
commit 9922c20249
1 changed files with 0 additions and 7 deletions

View File

@ -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