Commit Graph

222 Commits

Author SHA1 Message Date
Carlos de Paula
3a93f39647 Add relabeling to have the correct node name 2020-05-25 19:14:28 -03:00
Carlos Eduardo
4ddebeb5b8
Merge pull request #42 from geerlingguy/39-affinity 2020-05-25 13:45:12 -03:00
Jeff Geerling
f40d8410b3 Fixing style tweak. 2020-05-25 11:27:12 -05:00
Jeff Geerling
6550be57be
Merge branch 'master' into 39-affinity 2020-05-25 11:25:25 -05:00
Carlos de Paula
17e7805ebf Use node affinity to select architectures 2020-05-25 11:40:04 -03:00
Carlos Eduardo
bee270ded7
Update Readme.md 2020-05-24 11:12:26 -03:00
Carlos Eduardo
760eddd0c6
Merge pull request #41 from geerlingguy/40-tolerations-arm-daemonset
Fixes #40: Add toleration to armexporter-daemonset so it deploys to all nodes.
2020-05-24 10:28:55 -03:00
Jeff Geerling
9d3076bf66 Issue #39: Add affinity for arm/arm64 support for arm-exporter. 2020-05-23 20:43:47 -05:00
Jeff Geerling
4a5b3f6d3c Fixes #40: Add toleration to armexporter-daemonset so it deploys to all nodes. 2020-05-23 20:35:29 -05:00
Carlos de Paula
8882eb5e78 Revert jsonnet libraries 2020-05-23 20:38:45 -03:00
Carlos de Paula
7c39bd7493 Fixed manifest generation without GOPATH set 2020-05-23 20:02:01 -03:00
Carlos de Paula
251a0f4f76 Gerenerate manifests 2020-05-23 19:13:38 -03:00
Carlos de Paula
a6a1133ec5 Fix GOPATH env and update lib sources 2020-05-23 19:05:40 -03:00
Carlos Eduardo
87a5983f88
Merge pull request #34 from kluzny/bug/make-task-for-ip-change-targets-missing-file 2020-04-19 17:15:40 -03:00
Kyle Luzny
b8d3e7ff8c corrected file path for the prometheus ingress config 2020-04-19 04:18:28 -05:00
Carlos de Paula
adc5d20086 Add Grafana container user. Cleanup. 2020-04-15 11:24:08 -03:00
Carlos de Paula
8c418b73bb Improve Makefile. Reformat code. 2020-03-18 18:13:06 -03:00
Carlos de Paula
d4be411a81 Bump images to latest versions 2020-03-18 16:58:42 -03:00
Carlos de Paula
fe61d99a73 Add information on running in minikube 2020-03-18 11:59:27 -03:00
Carlos de Paula
cf9d529222 Update ksm lib and remove workaround for image ver 2020-03-18 11:47:06 -03:00
Carlos de Paula
cdb23a0bcc Bump libraries and use kube-rbac-proxy in K3s 2020-03-18 11:13:47 -03:00
Carlos de Paula
10b82768c2 Add SMTP relay as optional. Adjust formatting. 2020-03-18 11:12:53 -03:00
Carlos de Paula
860d80f5e6 Bump Prometheus/Grafana image versions 2020-03-18 11:08:20 -03:00
Carlos Eduardo
683f536703
Merge pull request #27 from colin-mccarthy/master
modified K3s install section of Readme.md
2020-03-02 17:21:28 -03:00
Carlos de Paula
55a2b4967e Improve Readme for K3s 2020-03-02 17:01:15 -03:00
Carlos de Paula
bed566c8c5 Improve Ingress generation from #29
Add TLS to ingress as an optional feature and also be able to provide
own certificates.
2020-03-02 16:46:38 -03:00
Carlos Eduardo
11b4b0f11b
Merge pull request #29 from L0g4n/master
Redirect HTTP to HTTPS
2020-03-02 16:45:23 -03:00
L0g4n
fef4b2bb01 Redirect HTTP to HTTPS 2020-03-01 18:14:06 +01:00
Colin McCarthy
2c49ccbd03 updated Readme K3s install and added Ingress section 2020-02-16 14:38:18 -05:00
Colin McCarthy
622bbd9ec7 updated Readme.md k3s section 2020-02-16 14:30:09 -05:00
Carlos Eduardo
2ba0bc0834
Merge pull request #24 from NicklasWallgren/master
Fixed issue with grafana persistence storage on k3s
2019-11-18 17:04:40 -03:00
Nicklas Wallgren
dd6c34211c Fixed issue with grafana persistence storage on k3s 2019-11-17 17:53:09 +01:00
Carlos de Paula
f857930874 Update libs 2019-11-17 12:05:27 -03:00
Carlos de Paula
b4d6ff0466 Fix endpoint names 2019-11-14 12:31:45 -03:00
Carlos de Paula
cdc33631f4 Add new functions. Fix formatting 2019-10-11 17:15:14 -03:00
Carlos Eduardo
3202c3fe26
Merge pull request #22 from phalski/fix-utils
Fixed broken expression concatenation
2019-10-11 17:13:40 -03:00
Philipp Michalski
294744fd00 Fixed broken expression concatenation 2019-10-11 20:11:07 +01:00
Carlos de Paula
6213f12199 Update libs 2019-10-09 17:33:29 -03:00
Carlos de Paula
5fd83a4ef2 Use utils functions 2019-10-09 17:11:17 -03:00
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