{"action":"closed","issue":{"url":"https://api.github.com/repos/openfaas/faas/issues/364","repository_url":"https://api.github.com/repos/openfaas/faas","labels_url":"https://api.github.com/repos/openfaas/faas/issues/364/labels{/name}","comments_url":"https://api.github.com/repos/openfaas/faas/issues/364/comments","events_url":"https://api.github.com/repos/openfaas/faas/issues/364/events","html_url":"https://github.com/openfaas/faas/issues/364","id":270598913,"number":364,"title":"Question: Extreme memory requirements - Pod needs 13GB","user":{"login":"rayhero","id":3665120,"avatar_url":"https://avatars0.githubusercontent.com/u/3665120?v=4","gravatar_id":"","url":"https://api.github.com/users/rayhero","html_url":"https://github.com/rayhero","followers_url":"https://api.github.com/users/rayhero/followers","following_url":"https://api.github.com/users/rayhero/following{/other_user}","gists_url":"https://api.github.com/users/rayhero/gists{/gist_id}","starred_url":"https://api.github.com/users/rayhero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rayhero/subscriptions","organizations_url":"https://api.github.com/users/rayhero/orgs","repos_url":"https://api.github.com/users/rayhero/repos","events_url":"https://api.github.com/users/rayhero/events{/privacy}","received_events_url":"https://api.github.com/users/rayhero/received_events","type":"User","site_admin":false},"labels":[{"id":505489879,"url":"https://api.github.com/repos/openfaas/faas/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2017-11-02T10:15:54Z","updated_at":"2017-11-25T19:15:41Z","closed_at":"2017-11-25T19:15:41Z","author_association":"NONE","body":"<!--- Provide a general summary of the issue in the Title above -->\r\nI have a image processing function that need to use 13G memory. I create a Cluster\r\nhave 16G memory with 3 nodes. But I can not find a way to configure my function's \r\nPod memory size or swap memory size. And if several request at same time, How to \r\nset configure to make my each function call can have enough memory to complete the job?\r\n\r\n## Expected Behaviour\r\nThe image processing job can finish and upload the result.\r\n\r\n## Current Behaviour\r\nThe image processing job will return memory not enough error.\r\n\r\n## Possible Solution\r\nDoes faas-cli have command that can set the deploy function's memory/swap memory size? \r\nor I can manual set the function's pod's memory? But how can I ensure each job can have\r\n13G free memory to use??\r\n\r\n## Context\r\n<!--- How has this issue affected you? What are you trying to accomplish? -->\r\n<!--- Providing context helps us come up with a solution that is most useful in the real world -->\r\nI can run my image processing function on local docker with large swap memory. I try to enlarge \r\nmy cluster's memory but I found the root cause is that the function's pod only can use 40M memory and 0.419 cores cpu for one job request. I try to check the pod's yaml: it shows resources->requests->cpu:100m. I guess this is create by faas-cli deploy command. Can I use faas-cli to\r\nincrease my function's pod memory? and ensure each request can have at least 13G memory?\r\n\r\n## Your Environment\r\n<!--- Include as many relevant details about the environment you experienced the bug in -->\r\n* Docker version `docker version` (e.g. Docker 17.0.05 ):\r\nClient:\r\n Version:      17.09.0-ce\r\n API version:  1.32\r\n Go version:   go1.8.3\r\n Git commit:   afdb6d4\r\n Built:        Tue Sep 26 22:40:09 2017\r\n OS/Arch:      darwin/amd64\r\n\r\nServer:\r\n Version:      17.09.0-ce\r\n API version:  1.32 (minimum version 1.12)\r\n Go version:   go1.8.3\r\n Git commit:   afdb6d4\r\n Built:        Tue Sep 26 22:45:38 2017\r\n OS/Arch:      linux/amd64\r\n Experimental: true\r\n* Are you using Docker Swarm or Kubernetes (FaaS-netes)?\r\nKubernetes (FaaS-netes)\r\n* Operating System and version (e.g. Linux, Windows, MacOS):\r\nLocal: MacOS 10.12.5, remote: GCP k8s\r\n* Link to your project or a code example to reproduce issue:\r\n"}}
{"actor":{"display_login":"alexellis"}}