Commit Graph

277 Commits (fc4a6b1ccb3263844e8615857e518f365c39ba53)

Author SHA1 Message Date
Nicholas Flynt 0abb957377 Remove two subfilter URL rewriting rules from grafana nginx config
With the switch from AngularJS to ReactJS, grafana is now using
/absolute/url style hrefs in its templates and its JavaScript assets,
but these URLs are passed directly into React's clientside routing
engine rather than hitting the proxy on the backend. Thus, rewriting
these URLs is inappropriate, confuses the clientside router, and breaks
interlink between several tabs in the UI, and a few dashboards, among
other things.

Attempts to address #2445
2023-02-28 15:06:17 -05:00
Arvind Iyengar c9930db8b3
Bump Prometheus Federator 2023-02-22 11:49:17 -08:00
Arvind Iyengar 2587c841d4
Fix system_default_registry references in rancher-monitoring chart
(cherry picked from commit 6ad8e16d30)
2023-02-15 17:29:35 -08:00
Arvind Iyengar 1dee9705f7
Merge pull request #2411 from aiyengar2/add_prometheus_federator
Bring in Project Monitoring charts with PSP issues fixed
2023-02-10 20:13:49 -08:00
Arvind Iyengar 39242d51de
Update prometheus-federator to 0.2.0 2023-02-10 15:47:25 -08:00
Arvind Iyengar dc0ee9733c
Update rancher-project-monitoring to 0.2.0 2023-02-10 15:44:42 -08:00
Arvind Iyengar 1cf7b1a468
Remove faulty .Capabilities check for kube-state-metrics 2023-02-10 15:33:53 -08:00
Arvind Iyengar 6bde4c49aa
Remove faulty .Capabilities check for node-exporter 2023-02-10 15:33:53 -08:00
Arvind Iyengar dd63ae66f4
Ensure all references of 9100 are removed 2023-02-10 15:11:30 -08:00
Arvind Iyengar 3db170070d
Fix rancher-monitoring-crd chart uninstall failure
It seems like the order of parameters in the CRD uninstall Job are incorrect.

```
arvindiyengar: ~/Rancher/charts/src/github.com/rancher/charts
$ kubectl apply -f charts/rancher-monitoring-crd/101.0.0+up19.0.3/crd-manifest
customresourcedefinition.apiextensions.k8s.io/alertmanagerconfigs.monitoring.coreos.com created
customresourcedefinition.apiextensions.k8s.io/alertmanagers.monitoring.coreos.com created
customresourcedefinition.apiextensions.k8s.io/podmonitors.monitoring.coreos.com created
customresourcedefinition.apiextensions.k8s.io/probes.monitoring.coreos.com created
customresourcedefinition.apiextensions.k8s.io/prometheuses.monitoring.coreos.com created
customresourcedefinition.apiextensions.k8s.io/prometheusrules.monitoring.coreos.com created
customresourcedefinition.apiextensions.k8s.io/servicemonitors.monitoring.coreos.com created
customresourcedefinition.apiextensions.k8s.io/thanosrulers.monitoring.coreos.com created
arvindiyengar: ~/Rancher/charts/src/github.com/rancher/charts
$ kubectl delete -Rf --ignore-not-found=true charts/rancher-monitoring-crd/101.0.0+up19.0.3/crd-manifest
the path "--ignore-not-found=true" does not exist
arguments in resource/name form may not have more than one slash
```

Since it is invalid to place `--ignore-not-found=true` after `-Rf`, I'm just switching the order to be successful.
2023-02-09 12:44:55 -08:00
Arvind Iyengar 8d416da04e
Fix typo with metricRelabelings 2023-02-09 12:08:54 -08:00
Geet Samra 74e0eac696 resetting prometheus-node-exporter.service.port and prometheus-node-exporter.service.targetPort to 9796 2023-02-02 15:46:23 -08:00
Arvind Iyengar ca676fcf6f
[rancher-monitoring-crd] Use global.cattle.psp.enabled field 2023-01-30 09:32:51 -08:00
Arvind Iyengar faf139a0a6
[rancher-monitoring] Add global.cattle.psp.enabled docs to app-README.md 2023-01-30 09:32:51 -08:00
Arvind Iyengar 25831e5541
[rancher-monitoring] Include validate-psp-install.yaml 2023-01-30 09:32:51 -08:00
Arvind Iyengar 2185c35881
[rancher-monitoring] Update kube-version annotation to support 1.25 2023-01-30 09:32:51 -08:00
Arvind Iyengar 955ac68c66
[rancher-monitoring] Replace .Values.global.rbac.pspEnabled with .Values.global.cattle.psp.enabled and bump major version 2023-01-30 09:32:51 -08:00
Arvind Iyengar b465411a62
[rancher-windows-exporter] Include .Values.global.cattle.psp.enabled and bump major version 2023-01-30 09:32:50 -08:00
Arvind Iyengar 2ea3bbdcac
[rancher-pushprox] Add global.cattle.psp.enabled docs to README.md 2023-01-30 09:32:50 -08:00
Arvind Iyengar 29a3da4b0c
[rancher-pushprox] Include validate-install-crd.yaml 2023-01-30 09:32:50 -08:00
Arvind Iyengar ea503a320d
[rancher-pushprox] Include validate-psp-install.yaml 2023-01-30 09:32:50 -08:00
Arvind Iyengar 8913ad8f84
[rancher-pushprox] Update kube-version annotation to support 1.25 2023-01-30 09:32:50 -08:00
Arvind Iyengar 9c264011a5
[rancher-pushprox] Replace implicit capabilities check with .Values.global.cattle.psp.enabled and bump major version 2023-01-30 09:32:49 -08:00
Arvind Iyengar 71f20e3e17
[rancher-prometheus-adapter] Replace .Values.psp.create with .Values.global.cattle.psp.enabled and bump major version 2023-01-30 09:32:49 -08:00
Arvind Iyengar 54720ea2a5
[rancher-node-exporter] Replace .Values.rbac.pspEnabled with .Values.global.cattle.psp.enabled and bump major version 2023-01-30 09:32:49 -08:00
Arvind Iyengar d94a62c56d
[rancher-kube-state-metrics] Replace .Values.podSecurityPolicy.enabled with .Values.global.cattle.psp.enabled and bump major version 2023-01-30 09:32:49 -08:00
Arvind Iyengar 40325d35a4
[rancher-grafana] Replace .Values.rbac.pspEnabled with .Values.global.cattle.psp.enabled and bump major version 2023-01-30 09:32:49 -08:00
Geet Samra 3419b2ffc4 rancher-monitoring: updating metricRelabelings to include cluster_id for service monitors 2023-01-27 13:10:20 -08:00
Geet Samra 84237bbbcc rancher-pushprox: updating metricRelabelings to include cluster_id for service monitor 2023-01-27 12:25:26 -08:00
Geet Samra 2f61690cc7 rancher-grafana: updating metricRelabelings to include cluster_id for service monitors 2023-01-27 10:06:29 -08:00
Geet Samra 66464a1b3c rancher-node-exporter: updating metricRelabelings to include cluster_id for service monitors 2023-01-27 10:06:29 -08:00
Geet Samra 8868ff98e0 kube-state-metrics: updating metricRelabelings to include cluster_id for service monitors 2023-01-27 10:06:29 -08:00
Geet Samra db784bc681 PSP fixes for rancher-monitoring 2023-01-03 13:38:52 -08:00
Geet Samra fa46c46b9a fixing pushprox bug 2023-01-03 10:56:02 -08:00
Vaishnav Gaikwad 96b7d17fb9 add condition to check for PSP capability in rancher-monitoring-crd 2022-12-23 15:37:47 +05:30
Geet Samra 501ea344e3 fixing clusterrole 2022-12-22 16:39:11 -08:00
Geet Samra ebd92ddea0 fixing error in node-exporter 2022-12-22 15:48:35 -08:00
Geet Samra 65d0e400ab updating HPA for rancher-grafana 2022-12-22 14:52:08 -08:00
Geet Samra 9859369453 psp changes for pushprox 2022-12-20 14:39:02 -08:00
Geet Samra d6d67f4d33 psp changes for node-exporter 2022-12-20 14:35:23 -08:00
Geet Samra fa6acc091f psp updates for rancher-prometheus-adapter 2022-12-20 14:35:23 -08:00
Geet Samra 3ea9286642 psp changes for kube-state-metrics 2022-12-20 14:35:00 -08:00
Arvind Iyengar 2c1e0bd6bf
Merge pull request #2254 from aiyengar2/some_more_monitoring_fixes
Bug Fixes for latest Monitoring chart
2022-12-15 12:04:36 -08:00
Arvind Iyengar b649292d3d
Ensure alertmanager's PrometheusRule is not deployed if alertmanager is not enabled 2022-12-15 12:00:13 -08:00
Arvind Iyengar fb82fa3af3
Revert change to remove tpl from prometheus containers 2022-12-15 11:59:36 -08:00
Arvind Iyengar 07891a5065
Rebase rancher-project-monitoring chart 2022-12-14 12:30:10 -08:00
Arvind Iyengar b80d9a86cf
Rebase prometheus-federator chart 2022-12-14 12:30:10 -08:00
Geet Samra 55642f3e53 switching to upstream query 2022-12-12 11:40:22 -08:00
Arvind Iyengar 7f5b845119
Merge pull request #2189 from aiyengar2/fix_values_yaml_redundant_keys
Fix patches and remove redundant container value from values.yaml

(cherry picked from commit 252143f2d7)
2022-11-21 12:12:37 -08:00
Arvind Iyengar 2cd9429bb5
Merge pull request #2162 from aiyengar2/geet_monitoring_rebase_fixes
Rancher Monitoring Chart Rebase to 40.0.1

(cherry picked from commit 52fd568dae)
2022-11-21 12:12:36 -08:00