carlosedp / cluster-monitoring

Cluster monitoring stack for clusters based on Prometheus Operator
MIT License
740 stars 200 forks source link

Error when running 'make' #53

Closed 22367rh closed 4 years ago

22367rh commented 4 years ago

While running make I eventually get this in the console:

rm -rf manifests
./scripts/build.sh main.jsonnet /root/go/bin/jsonnet
using jsonnet from arg
+ set -o pipefail
+ rm -rf manifests
+ mkdir -p manifests/setup
+ /root/go/bin/jsonnet -J vendor -m manifests main.jsonnet
+ xargs '-I{}' sh -c 'cat {} | $(go env GOPATH)/bin/gojsontoyaml > {}.yaml; rm -f {}' -- '{}'
./scripts/build.sh: line 23:  7595 Killed                  $JSONNET_BIN -J vendor -m manifests "${1-example.jsonnet}"
      7596 Done                    | xargs -I{} sh -c 'cat {} | $(go env GOPATH)/bin/gojsontoyaml > {}.yaml; rm -f {}' -- {}
make: *** [Makefile:19: manifests] Error 137

My vars.jsonnet edits from default are:

Any ideas what is causing this or how to get this to run?

22367rh commented 4 years ago

Ignore this. Sorry for the noise.

Turns out Error 137 is an out of memory issue which will be due to the fact I was attempting to run it on an SBC with only 512mb Ram.

Will wait until my RPi4 with 8GB ram arrives.

curtisspendlove commented 4 years ago

I just spent a couple hours debugging this...until I finally thought; hmmm, I wonder if anyone else is having this issue.

I'm wondering if maybe an entry in the FAQ of the README is appropriate?

Elara6331 commented 4 years ago

I fixed this error by making the swapfile 2GB in size