726 Commits

Author SHA1 Message Date
Adin Hodovic
0268128bd1 Add External mixin library
Add library for mixins
2021-04-06 11:59:03 +02:00
Damien Grisonnet
b59b2c23d8 examples: update platform snippets and doc
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2021-04-06 11:42:29 +02:00
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
17b11ae344 jsonnetfile.lock.json: Bump kube-state-metrics to 2.0.0-rc.1 2021-03-29 14:29:59 +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
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
Paweł Krupa
ab554c6ecb
Merge pull request #911 from jsturtevant/windows
Windows addon
2021-03-23 09:48:25 +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
paulfantom
0bf34a24f8
jsonnet: unify internal configuration field name
Signed-off-by: paulfantom <pawel@krupa.net.pl>
2021-03-22 12:48:55 +01:00
Petr Enkov
094cdb34e8
allow install grafana plugins 2021-03-22 11:57:11 +04: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
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
b473929b36 jsonnet/kube-prometheus/: Bump kube-state-metrics to v2.0.0-rc 2021-03-18 09:30:24 +01:00
paulfantom
70a63d1541
jsonnet: lock prom-op to 0.46 branch 2021-03-16 18:48:48 +01:00
paulfantom
0d2e0875d9
jsonnet/prometheus-adapter: include pause container in resource calculations 2021-03-16 15:17:22 +01:00
paulfantom
30a41d18d8
jsonnet: conditionally add PDB 2021-03-15 23:39:24 +01:00
Frederic Branczyk
60d5aa25fc
Merge pull request #1035 from paulfantom/pdb
Add PodDisruptionBudget objects
2021-03-15 16:43:56 +01:00
paulfantom
9d327cb328
jsonnet: add PDB to alertmanager and prometheus pods 2021-03-15 16:33:18 +01:00
Adin Hodovic
db2f6f1acc jsonnet/addons: Cleanup managed cluster addon 2021-03-15 15:05:03 +01:00
Paweł Krupa
578fa2dede
Merge pull request #1033 from paulfantom/ksm_version
jsonnet: pick kube-state-metrics version from versions.json file
2021-03-15 14:58:40 +01:00
paulfantom
10f710bb58
jsonnet: pick kube-state-metrics version from versions.json file 2021-03-15 14:38:48 +01:00
Adin Hodovic
24d9633998 Fix managed Cluster addon 2021-03-15 14:23:38 +01:00
ArthurSens
5f06f0da5e managed-cluster addon to not fully override prometheus object, only what's necessary
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-03-12 17:55:40 +00:00
Matthias Loibl
8e5bf00c54
Merge pull request #984 from paulfantom/am_resources
jsonnet/alertmanager: add default alertmanager resource requirements
2021-03-08 10:20:20 +01:00
Paweł Krupa
5f13d38155
Merge pull request #1007 from ArthurSens/arthursens/missing-runbook-url-1001 2021-03-05 15:36:04 +01:00
ArthurSens
bb2971e874 Add runbook_url annotation for custom mixins
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-03-05 14:07:01 +00:00
ArthurSens
e586afb280 Add runbook_url annotation to all alerts
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-03-05 13:39:40 +00:00
paulfantom
16c05d16e2
jsonnet,scripts: better version updater 2021-03-05 10:36:58 +01:00
s-urbaniak
654283a048 Auto-updated dependencies 2021-03-03 08:38:39 +00:00
paulfantom
f7f817a79e
jsonnet/alertmanager: better name for prometheus-rule object 2021-03-01 13:26:46 +01:00
James Sturtevant
d9ac51aed0 Windows addon
Signed-off-by: James Sturtevant <jstur@microsoft.com>
2021-02-26 10:09:27 -08:00
paulfantom
23c8d865f5
jsonnet/alertmanager: add default alertmanager resource requirements
Co-authored-by: Latch M <latch_mihaylov@homedepot.com>
2021-02-25 18:51:34 +01:00
paulfantom
c88d18c9d2
*: allow automatic updates of installed components
Signed-off-by: paulfantom <pawel@krupa.net.pl>
2021-02-23 14:24:55 +01:00
paulfantom
c0a136a4c7
jsonnet: bump KSM to 1.9.8 and use multi-arch images 2021-02-23 12:07:49 +01:00
Paweł Krupa
70cb4c10cd
Merge pull request #961 from PaytmLabs/feature/anti-affinity/soft-hard-topologykey
addons/anti-affinity: Support soft/hard podAntiAffinity and topologyKey
2021-02-23 10:31:18 +01:00
Paweł Krupa
f691421c91
Merge pull request #960 from paulfantom/k8s-control-plane
Do not modify $.prometheus object when it is not needed (k8s control plane)
2021-02-23 10:30:17 +01:00
Frederic Branczyk
da05d36c31
Merge pull request #941 from paulfantom/ksm-krp-cpu
increase default CPU values for main kube-rbac-proxy sidecar in kube-state-metrics
2021-02-23 09:50:16 +01:00