Commit Graph

183 Commits

Author SHA1 Message Date
Carlos de Paula
47711c5ed6 Add clusterRole generator function 2019-10-09 11:52:00 -03:00
Carlos de Paula
42ffee2d4c Update API versions 2019-10-09 11:26:42 -03:00
Carlos de Paula
fb08cda75e Refactor into classes 2019-09-26 19:02:47 -03:00
Carlos Eduardo
037431c1fd
Merge pull request #19 from Letme/patch-1
Dependency on the jsonnet vendor and gojsontoyaml
2019-09-12 12:14:55 -03:00
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 Eduardo
12dd5665b0
Update Readme.md 2019-08-22 19:06:10 -03:00
Carlos de Paula
9d254345ad Match both K8s and K3s Traefik services 2019-08-22 19:02:30 -03:00
Carlos Eduardo
cee63c15f5
K3s start argument supporting metrics generation 2019-08-22 18:07:13 -03:00
Carlos Eduardo
8a357ac414
K3s Support (#18)
K3s Support
2019-08-21 19:14:21 -03:00
Carlos de Paula
aad5dd8d93 Update readme and regenerate manifests for default Kubernetes 2019-08-21 19:13:13 -03:00
Carlos de Paula
8ef44ef1ce Update libs and regenerate manifests 2019-08-21 12:28:55 -03:00
Carlos de Paula
19bd000f3e Update readme and manifest generation for K3s 2019-08-20 21:46:29 -03:00
Carlos de Paula
5c19ad2ab2 Expose ports on KSM for K3s 2019-08-20 17:45:42 -03:00
Carlos de Paula
b6cdf80843 Fix ports for ksm and kubelet 2019-08-20 16:35:09 -03:00
Carlos de Paula
c0fb818677 Add config parameter and overrides to remove kube-rbac-proxy from exporters 2019-08-19 20:20:17 -03:00
CarlosEDP
28075aa925 Regenerate manifests 2019-08-08 19:39:26 -03:00
CarlosEDP
ff1a34d1ab Fix named ports 2019-08-08 19:39:08 -03:00
CarlosEDP
4ae33be2c7 Fix build script 2019-08-08 19:38:35 -03:00
CarlosEDP
7375469d1c Update image and lib versions 2019-08-08 17:09:53 -03:00
Carlos Eduardo
23af384d74
Merge pull request #14 from eons44/master
Updated jsonnet link for make jsonnet
2019-05-25 09:41:22 -03:00
eons
3850e50938
Updated jsonnet link for make jsonnet
link was broken.
2019-05-24 18:57:48 -07:00
CarlosEDP
01949ea64f Merge dynamic_loading branch 2019-05-15 17:31:59 -03:00
CarlosEDP
87ed1bf665 Load additional modules dynamically from vars module definition 2019-05-15 17:28:47 -03:00
CarlosEDP
4a62faced2 Better jsonnet format 2019-05-08 22:23:16 -03:00
CarlosEDP
5590ec8538 Remove addon-resizer customization due to revert image 2019-05-08 22:22:26 -03:00
CarlosEDP
4bceaa67e2 Change domain to generic nip.io. Use http Kubelet port 2019-05-07 12:19:04 -03:00
CarlosEDP
ad1677dad5 Start working on dynamic jsonnet loading for modules 2019-05-07 12:16:16 -03:00
CarlosEDP
056dd8a8b0 Change domain to generic nip.io. Use http Kubelet port 2019-05-03 14:00:05 -03:00
CarlosEDP
693da4dc9d Update libs. Remove arm-exporter from default manifest generation 2019-05-03 13:57:03 -03:00
Carlos Eduardo
25b391a68a
Issue #11 - Add ServiceAccount and TLS params to arm-exporter (#12)
Issue #11 - Add ServiceAccount and TLS params to arm-exporter
2019-05-03 13:52:47 -03:00
CarlosEDP
732a650b51 Fix issue #11. Arm-exporter didn't have a ServiceAccount and TLS params 2019-04-23 12:03:34 -03:00
Carlos Eduardo
88c16b9702
Update Readme.md 2019-04-23 11:39:59 -03:00
CarlosEDP
a2f54dddd0 Change references to kube-prometheus library. Update libs and regenerate manifests 2019-04-22 15:17:53 -03:00
CarlosEDP
1f50c68326 Updated readme 2019-04-08 17:57:06 -03:00
CarlosEDP
651c0cfe49 Regenerate manifests. Set all additional modules and persistence to false by default 2019-04-08 16:42:26 -03:00
CarlosEDP
3487ade880 Separate variables into new file. Add persistence options 2019-04-08 16:41:23 -03: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
de1c46dd63 Remove old manifests. They are still available on legacy tag 2019-03-25 19:53:45 -03:00
CarlosEDP
4ee0c86a03 Fix for the unused namespaces in case of disabling additional addons 2019-03-25 18:01:00 -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
6d88688be6 Join Elasticsearch monitor and rules files 2019-03-22 16:03:59 -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
7c31f8e998 Updated libraries 2019-03-13 18:44:16 -03:00
CarlosEDP
362478a928 Formatted files with jsonnet_fmt 2019-03-13 18:44:01 -03:00
CarlosEDP
408e21d044 Update readme 2019-03-13 18:15:37 -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
eb9320fd55 Update fluentd dashboard 2019-03-06 18:16:24 -03:00