Commit Graph

151 Commits

Author SHA1 Message Date
Mart Roosmaa
c11655a56d
Argo-CD example improvements (#2200)
* Sync ArgoCD example with latest components from example.jsonnet

* Extend the ArgoCD example to include ArgoCD related annotations to make everything work on first try

* Run jsonnetfmt
2023-08-31 22:21:19 +01:00
Joseph Daniel
4b5b94347d
Fix alertmanager external config example (#1891)
Co-authored-by: Joseph Daniel <joseph@apxor.com>
2023-08-21 10:17:16 +01:00
Dinesh Sharma
dc0ad5e216
Addon: Use Hostprocess for Windows Exporter (#2048)
* Addon: Use Hostprocess for Windows Exporter #1627

This allows for Windows Exporter to be deployed and configured
dynamically without requiring to specify targets manually for each
Windows node

Documentation and example added

* Addon: Windows Exporter using Hostprocess

Fix some performance issues.
- Specify resource limits for windows exporter.
- Allow for scrape timeout and interval to be configured. Depending
on how many pods are running on a node it can take from 500ms to 15s
to scrape metrics from node. Default timeout is 10s.
- Allow for enabled collectors to be configured.
- Only enable collectors that are being used in rules and dashboards.

* Addon: Windows Exporter using Hostprocess

Fix formatting issues

* Fix formatting issues in windows-hostprocess addon

* Windows Addon: update doc to reflect both configs
- Hostprocess and static

* Windows Addon: update doc

---------

Co-authored-by: Dinesh Sharma <dinesh.sharma@health.telstra.com>
2023-06-12 09:58:45 +01:00
Haoyu Sun
72132aa5ce add rule patching function 2022-05-16 11:37:59 +02:00
Vladislav Polyakov
76f1ba051a
style: fmt code 2022-04-19 10:48:24 +03:00
Vladislav Polyakov
35bb9f3ee8
Merge branch 'prometheus-operator:main' into patch-1 2022-04-19 10:32:25 +03:00
Vladislav Polyakov
17d2831fc5
fet: include ingress network policy for thanos 2022-04-19 10:27:14 +03:00
Paweł Krupa (paulfantom)
3370f0bdfe *: move sync-to-internal-registry.jsonnet out of TLD 2022-04-12 12:37:30 +02:00
Paweł Krupa (paulfantom)
030dec7656 *: add example for disabling NetworkPolicies
(cherry picked from commit b4bf38ba6c)
(cherry picked from commit c21bf4fbfa)
2022-03-09 07:46:44 +00:00
ArthurSens
61f05b2050 Add drop dashboards example
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2022-02-23 14:18:57 +00:00
Philip Gough
41a5ef110d Update apiVersion from deprecated RBAC 2022-02-10 17:42:04 +00:00
Paweł Krupa
b2a250f39b
Merge pull request #1472 from paulfantom/prom-agent 2022-01-07 11:49:46 +01:00
Paweł Krupa (paulfantom)
f01d3e6c87 examples: prometheus version no longer needed for agent snippet 2022-01-04 09:43:55 +01:00
Paweł Krupa
ddfbed0d89
Merge pull request #813 from Blizter/example/alertmanager-custom-config 2021-12-16 10:45:33 +01:00
ArthurSens
d60c5f6b69 examples/prometheus-agent: Hide ruleSelector
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-11-30 17:24:34 +00:00
ArthurSens
6437e1414a examples/prometheus-agent: Override agent-only flags
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-11-30 17:13:12 +00:00
paulfantom
72664d900b examples: simplify kustomize.jsonnet
This also renames files to be aligned with names used in jsonnet

Signed-off-by: paulfantom <pawel@krupa.net.pl>
2021-11-30 10:08:29 +01:00
paulfantom
724f0034ca examples,manifests: provide only NS and CRDs in setup directory 2021-11-30 10:08:29 +01:00
ArthurSens
af00060d9c docs/customizations: Move customization examples to dedicated folder
With the objective of improving our README, customization examples are being moved to a dedicated folder under `docs/`.

Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-11-18 18:57:22 +00:00
ArthurSens
25d5f86c80 examples/prometheus-agent: Fix broken configurations
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-11-06 20:52:35 +00:00
paulfantom
eac0eb5cb1 examples: add example usage of prometheus-agent
Signed-off-by: paulfantom <pawel@krupa.net.pl>
2021-11-02 09:58:30 +01:00
Blizter
d4b8fff276 import main.libsonnet to allow exmaple generation 2021-10-24 09:34:01 -04:00
Blizter
1ffd6dfb30 let example generate 2021-10-24 09:31:28 -04:00
Blizter
7c748b987b Merge branch 'main' of https://github.com/prometheus-operator/kube-prometheus into example/alertmanager-custom-config 2021-10-23 19:13:54 -04:00
Blizter
24f444fc76 fix typo in local confgimap metadata 2021-10-23 12:39:36 -04:00
Andrei Nistor
882484daf1 add grafana ldap example 2021-10-18 15:33:06 +03:00
Haoyu Sun
e7d2135cea
replace deprecated "app" label selector by "app.kubernetes.io/name" in
documents and examples
2021-10-08 14:00:52 +02:00
blizter
bdfa78ad6c Merge branch 'master' of github.com:Blizter/kube-prometheus into example/alertmanager-custom-config 2021-09-19 17:27:10 -04:00
Eric
a519249214
Merge branch 'prometheus-operator:main' into master 2021-09-19 17:26:07 -04:00
Paweł Krupa
e931a417fc
Merge pull request #1230 from Luis-TT/fix-kube-proxy-dashboard 2021-08-04 09:55:09 +02:00
Luis Vidal Ernst
0b49c3102d Added PodMonitor for kube-proxy 2021-08-03 08:31:49 +02:00
Nicolas Degory
9bc6bf3db8 update doc on Prometheus rule updates since release 0.8
Signed-off-by: Nicolas Degory <ndegory@axway.com>
2021-07-14 19:18:07 -07:00
Sang Le
4e43a1e16e
Fix ingress rules for api networking.k8s.io/v1 - format code 2021-06-17 08:19:23 +10:00
Sang Le
db6a513190
Fix ingress rules for api networking.k8s.io/v1 2021-06-16 13:06:32 +10:00
paulfantom
859b87b454
examples: add example of running without grafana deployment
Signed-off-by: paulfantom <pawel@krupa.net.pl>
2021-06-11 11:07:05 +02:00
Paweł Krupa
dccf2ee085
Merge pull request #1135 from paulfantom/use-common 2021-05-31 23:12:53 +02:00
paulfantom
3197720de6
*: add test of mixin addition in examples/; change config to _config in addMixin to be consistent with main components 2021-05-21 11:43:59 +02:00
paulfantom
c2ea96bf4f
jsonnet: use common to populate options for additional objects
Signed-off-by: paulfantom <pawel@krupa.net.pl>
2021-05-05 16:31:36 +02:00
Luis Vidal Ernst
419eaf28ce Fixed windows addon example 2021-04-27 12:49:29 +02:00
paulfantom
cd755f2487
examples: add anti-affinity example and include it in readme 2021-04-23 09:38:23 +02:00
Kristijan Sedlak
28d58a9dbc Update versions 2021-04-14 20:19:00 +02:00
Paweł Krupa
1e67c71703
Merge pull request #1072 from dgrisonnet/platform-patch
Allow configuring the platform used directly instead of having to use a patch
2021-04-09 14:29:34 +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
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
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
ArthurSens
1237843e62 Adds an addon for podSecurityPolicies
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-03-18 20:57:48 +00:00
Damien Grisonnet
9f6c7d7654 examples/thanos-sidecar: fix image url
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2021-03-10 11:47:57 +01:00
Damien Grisonnet
816c73acc6 examples: cleanup thanos-sidecar addon imports
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2021-03-10 10:59:59 +01:00
James Sturtevant
d9ac51aed0 Windows addon
Signed-off-by: James Sturtevant <jstur@microsoft.com>
2021-02-26 10:09:27 -08:00