Commit Graph

13 Commits

Author SHA1 Message Date
Crt Mori
129fdd7182
Dependency on the jsonnet vendor and gojsontoyaml
I have tried to run a simple `make deploy`. First problem was my GOPATH was blank (even though the golang was installed). After that was fixed, I needed to actually run `make vendor` before I could even consider running `make deploy`. I also needed to add my GOPATH/bin directory to path as it did not find gojsontoyaml otherwise
`export PATH=$PATH:$GOPATH/bin`

Error I was solving:
```
$ make deploy
Installing jsonnet
rm -rf manifests
./scripts/build.sh main.jsonnet /home/xzy/cluster-monitoring/bin/jsonnet
using jsonnet from arg
+ set -o pipefail
+ rm -rf manifests
+ mkdir manifests
+ /home/xyz/cluster-monitoring/bin/jsonnet -J vendor -m manifests main.jsonnet
+ xargs '-I{}' sh -c 'cat {} | gojsontoyaml > {}.yaml; rm -f {}' -- '{}'
RUNTIME ERROR: couldn't open import "kube-prometheus/kube-prometheus.libsonnet": no match locally or in the Jsonnet library paths
	main.jsonnet:12:13-63	thunk <kp> from <$>
	main.jsonnet:30:81-83	
	<std>:1268:24-25	thunk from <function <anonymous>>
	<std>:1268:5-33	function <anonymous>
	main.jsonnet:30:64-99	$
		
		
	During evaluation	

make: *** [Makefile:12: manifests] Error 1
```
2019-09-11 23:50:37 +02:00
Carlos de Paula
aad5dd8d93 Update readme and regenerate manifests for default Kubernetes 2019-08-21 19:13:13 -03:00
Carlos de Paula
19bd000f3e Update readme and manifest generation for K3s 2019-08-20 21:46:29 -03:00
eons
3850e50938
Updated jsonnet link for make jsonnet
link was broken.
2019-05-24 18:57:48 -07:00
CarlosEDP
d4114769e2 Update libs. Re-add Kube-state-metrics override due to reverted threshold parameter on lib 2019-03-25 20:08:54 -03:00
CarlosEDP
031fd7e157 Fix previous commit, total lack of attention. 2019-03-25 10:08:16 -03:00
CarlosEDP
9443e93a8c Remove fmt from manifests target. Require C jsonnet 2019-03-25 09:55:00 -03:00
CarlosEDP
0f39e2fdb9 Add default images to modules 2019-03-22 15:23:23 -03:00
CarlosEDP
a38192bbe0 Improve build scripts. Rebuild manifests due to escaping error on ~ 2019-03-13 19:27:20 -03:00
CarlosEDP
d4b472c4c2 Small fix on makefile 2019-03-13 18:07:09 -03:00
CarlosEDP
2d042dcd50 Fix makefile to install utilities when not present 2019-03-13 18:04:19 -03:00
CarlosEDP
a883952ca1 Move scripts to dir 2019-02-27 09:23:58 -03:00
CarlosEDP
f59ff6aece New prometheus-operator structure using jsonnet build 2018-12-12 15:18:00 -02:00