https://pulumi.com logo
#automation-api
Title
# automation-api
l

limited-rainbow-51650

10/06/2020, 2:50 PM
I have a container running on K8s with an automation API application. The application uses
npm install
in a
Setup
func on the
GitRepo
setup like adviced here: https://pulumi-community.slack.com/archives/C019YSXN04B/p1600959484002700?thread_ts=1600959097.002500&cid=C019YSXN04B The app is running using a sub-image of
pulumi/pulumi-nodejs:2.11.2
. But when executing this, the
npm install
bails out. When trying this manually via an attached terminal, the
npm install
seems to hang around 75%. Package being installed at that moment was
grcp-js
, but not sure if it is related to that. Eventually, the process is killed. sigh
l

lemon-agent-27707

10/06/2020, 3:13 PM
This does not sound like an Automation API specific issue. A couple of general suggestions that might help: 1. Try bumping the resources allocated to the VM. How much RAM have you allocated? Try doubling perhaps? 2. If (1) isn't possible, you could build docker images with the node projects already cloned and installed in the image and instead use
LocalSource
variants of automation API.
l

limited-rainbow-51650

10/06/2020, 3:14 PM
@lemon-agent-27707 nr 1 solved it. By accident, I gave the container only 100M of RAM. While that was ok for another container, it clearly wasn’t for this one. 🙂
partypus 8bit 1