2335 Commits

Author SHA1 Message Date
mansikulkarni96
1c63b6d021 Add relabel_config to replace endpoint address
This commit adds a relabeling config to the scrape config of
windows-exporter using the 'replace' action field to replace
the node endpoint address with node name. The windows_exporter
returns endpoint target as node IP but we need it to be node name
to use the prometheus adapter queries and collect resource metrics
information.
2021-03-31 13:29:16 -04:00
Damien Grisonnet
f06175bb3b jsonnet: add function to apply platform patches
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2021-03-31 18:00:04 +02:00
ArthurSens
069f95148f Psp should be deployed at the same namespace as kube-prometheus stack
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-03-30 19:00:12 +00:00
Frederic Branczyk
f5f72e1b50
Merge pull request #1060 from ArthurSens/as/psp-addon-fixes
PodSecurityPolicy uses role instead of clusterRole where posible
2021-03-30 13:33:48 +02:00
mansikulkarni96
7ba0479433 jsonnet: Add windows_exporter queries for adapter
This commit includes windows_exporter metrics in the
node queries for the prometheus adapter configuration.
This will help obtain the resource metrics: memory and
CPU for Windows nodes. This change will also help in
displaying metrics reported through the 'kubectl top'
command which currently reports 'unknown' status for
Windows nodes.
2021-03-29 14:55:11 -04:00
Lili Cosic
dafa0f8edd
Merge pull request #1064 from lilic/bump-ksm-rc.1
Bump kube-state-metrics to latest kube-state-metrics rc.1
2021-03-29 15:46:04 +02:00
Lili Cosic
0df93109d4 manifests: Regenerate files 2021-03-29 14:32:08 +02:00
Lili Cosic
17b11ae344 jsonnetfile.lock.json: Bump kube-state-metrics to 2.0.0-rc.1 2021-03-29 14:29:59 +02:00
Lili Cosic
af0719e8d8
Merge pull request #1063 from viperstars/main
add cluster role to list and watch ingresses in "networking.k8s.io"
2021-03-29 13:29:01 +02:00
viperstars
d1f401a73d add cluster role to list and watch ingresses in api group "networking.k8s.io" 2021-03-29 14:19:35 +08:00
Frederic Branczyk
003daae495
Merge pull request #1052 from paulfantom/simplify-managed-cluster-addon
jsonnet/addons: simplify managed-cluster addon
2021-03-26 19:35:22 +01:00
ArthurSens
c9b52c97f5 PodSecurityPolicy uses role instead of clusterRole where posible
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-03-25 20:59:49 +00:00
Paweł Krupa
6497d78f2c
Merge pull request #1023 from paulfantom/deps-update 2021-03-25 21:03:56 +01:00
Paweł Krupa
e3dcbb7fa6
Merge pull request #1059 from dgrisonnet/watchdog-example
Update developing examples to use ExampleAlert instead of Watchdog
2021-03-25 20:59:37 +01:00
Damien Grisonnet
8973a90049 examples: use ExampleAlert instead of Watchdog
Replace Watchdog alerts part of the `example-group` in some examples by
ExampleAlert alerts to reinforce the fact that this is just an example.

Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2021-03-25 18:11:56 +01:00
paulfantom
c960da64bb
manifests: regenerate 2021-03-25 14:22:38 +01:00
paulfantom
35a22050e0
*: update dependencies
Signed-off-by: paulfantom <pawel@krupa.net.pl>
2021-03-25 14:22:06 +01:00
Paweł Krupa
ea12911e4f
Merge pull request #1041 from lilic/ksm-2.0.0-rc.0 2021-03-25 14:18:27 +01:00
Lili Cosic
4bc91a8303
Merge pull request #1057 from jan--f/update-kubernetes-mixins
Update kubernetes mixins
2021-03-25 10:38:55 +01:00
Jan Fajerski
9966c37573 update generated manifests
Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
2021-03-24 16:52:30 +01:00
Jan Fajerski
4e5087c665 jsonnet: update kubernetes-mixins
Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
2021-03-24 16:51:54 +01:00
Paweł Krupa
ab554c6ecb
Merge pull request #911 from jsturtevant/windows
Windows addon
2021-03-23 09:48:25 +01:00
Paweł Krupa
fe1a446b01
Merge pull request #1019 from dgrisonnet/thanos-image
examples/thanos-sidecar: fix image url
2021-03-23 09:47:05 +01:00
paulfantom
5d2156ffbf
jsonnet/addons: simplify managed-cluster addon
Signed-off-by: paulfantom <pawel@krupa.net.pl>
2021-03-23 09:36:08 +01:00
Paweł Krupa
4d200f29f5
Merge pull request #1022 from lentzi90/update-readme 2021-03-22 13:50:18 +01:00
paulfantom
0bf34a24f8
jsonnet: unify internal configuration field name
Signed-off-by: paulfantom <pawel@krupa.net.pl>
2021-03-22 12:48:55 +01:00
Paweł Krupa
ed884b0399
Merge pull request #1045 from enkov/main
allow install grafana plugins
2021-03-22 10:17:01 +01:00
Petr Enkov
094cdb34e8
allow install grafana plugins 2021-03-22 11:57:11 +04:00
Paweł Krupa
eacf316f61
Merge pull request #1040 from paulfantom/release-0.6-compat
*: remove statement about release-0.6 compatibility with k8s 1.18
2021-03-19 16:11:51 +01:00
Paweł Krupa
63e20afe98
Merge pull request #1038 from paulfantom/prom-op-0.46 2021-03-19 16:11:41 +01:00
Paweł Krupa
bea6b1a0c2
Merge pull request #1042 from ArthurSens/arthursens/adding-externallabels-86
Add externalLabels to Prometheus defaults
2021-03-19 11:37:46 +01:00
Paweł Krupa
c2ac2a2838
Merge pull request #1010 from ArthurSens/arthursens/add-pod-security-policies-572 2021-03-19 11:27:31 +01:00
ArthurSens
b7d7ba0271 Use node-exporter defaults.port on psp
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-03-18 20:57:48 +00:00
ArthurSens
478a18a6a7 Turn alertmanager's and grafana's roles into clusterRoles
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-03-18 20:57:48 +00:00
ArthurSens
e8abcd3dc9 Allow node-exporter to use hostPath volumes
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-03-18 20:57:48 +00:00
ArthurSens
98559a0f42 Allow kube-state-metrics to run as any user
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-03-18 20:57:48 +00:00
ArthurSens
1237843e62 Adds an addon for podSecurityPolicies
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-03-18 20:57:48 +00:00
ArthurSens
2fa7ef162f Add externalLabels on Prometheus defaults
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-03-18 18:36:10 +00:00
Lili Cosic
09b30e124f manifests: Regenerate 2021-03-18 09:30:35 +01:00
Lili Cosic
4bba284d9b jsonnetfile.lock.json: jb update kube-state-metrics only 2021-03-18 09:30:35 +01:00
Lili Cosic
b473929b36 jsonnet/kube-prometheus/: Bump kube-state-metrics to v2.0.0-rc 2021-03-18 09:30:24 +01:00
Frederic Branczyk
ecd70d66c8
Merge pull request #1037 from paulfantom/prom-adapter-query
jsonnet/prometheus-adapter: include pause container in resource calculations
2021-03-18 08:22:08 +01:00
Lennart Jern
6ece9ca0bc squash! Update README defaults and config 2021-03-18 09:21:35 +02:00
paulfantom
24afd652ab
*: remove statement about release-0.6 compatibility with k8s 1.18 2021-03-17 16:06:28 +01:00
Matthias Loibl
41b3f9bafd
Merge pull request #1030 from metalmatze/website
Add headers for Hugo website
2021-03-17 09:31:01 +01:00
paulfantom
8b877c1753
manifests: regenerate 2021-03-16 18:48:58 +01:00
paulfantom
70a63d1541
jsonnet: lock prom-op to 0.46 branch 2021-03-16 18:48:48 +01:00
Matthias Loibl
558574b086
Update docs/deploy-kind.md
Co-authored-by: Paweł Krupa <pawel@krupa.net.pl>
2021-03-16 18:21:17 +01:00
Matthias Loibl
d1a3ebbe90
Update docs/deploy-kind.md
Co-authored-by: Paweł Krupa <pawel@krupa.net.pl>
2021-03-16 18:21:02 +01:00
paulfantom
8b30b2b669
manifests: regenerate 2021-03-16 15:19:18 +01:00