Commit Graph

66 Commits (32aa4afbe7207a6375271c46d7d28c9ef1df9d25)

Author SHA1 Message Date
Menna e5dfdc5c88 Adds support for monitoring the following k8s components in rke2 clusters:
- `rke2-scheduler`
- `rke2-controller-manager`
- `rke2-proxy`
- `rke2-etcd`

All exporters are created from the cattle-pushprox chart. This commit
also modifies the relevant Grafana Dashboard ConfigMaps and
PrometheusRules to deploy if the PushProx exporters are enabled.

See changes to `overlay/CHANGELOG.md` for details on what has been added/modified.
2020-08-26 22:16:37 +02:00
Arvind Iyengar e0d3e6519b Use Rancher images for rancher-monitoring 2020-08-25 19:37:34 -07:00
Arvind Iyengar aa30c498ea Add private registry support to rancher-monitoring 2020-08-25 19:37:34 -07:00
Arvind Iyengar d085bc088f Add alerting support to rancher-monitoring 2020-08-25 12:06:39 -07:00
Arvind Iyengar d2bf307e59 Change default to all CRs in all namespaces
This commit sets the following field to false:
`<serviceMonitor|podMonitor|rule>SelectorNilUsesHelmValues: true`

As a result, we look for all CRs with any labels in all namespaces rather than just
the ones tagged with `release: rancher-monitoring`.
2020-08-18 10:35:27 -07:00
Arvind Iyengar f3aebdca14 Update grafana default deploymentStrategy
If the Grafana deployment strategy is not Recreate, the deployment will
be stuck during an upgrade when PV is attached.
2020-08-18 10:35:27 -07:00
Arvind Iyengar 215cf10a68 Add NoExecute + NoSchedule toleration to PushProx
This commit adds NoExecute / NoSchedule tolerations by default to all of the
PushProx exporters since the default expectation when deploying these exporters
is that they are deployed on the expected nodes based on nodeSelector labels
regardless of any taints added to those nodes.

Users can always choose to override these settings if necessary.
2020-08-18 10:35:27 -07:00
Arvind Iyengar de6fbbb129 Increase prometheus resource limits and requests 2020-08-18 10:35:23 -07:00
Arvind Iyengar 3d6b8c94c7 Move ClusterRoles and change values.yaml fields
- Moves `monitoringRole` settings into `global.rbac` in values.yaml
- Moves user ClusterRoles into one file: `rancher-monitoring/clusterroles.yaml`
- Reformats user ClusterRoles format to look like upstream format
- Enables aggregateRolesForRBAC by default
- Updates README.md and CHANGELOG.md for relevant ClusterRole changes
2020-08-18 10:02:30 -07:00
Arvind Iyengar 701098fd72 Update default namespace to cattle-monitoring-system 2020-08-18 10:02:28 -07:00
Arvind Iyengar 63647c6849 Update README to add rancher-monitoring changes
Adds prometheus-adapter and rancher-pushprox to the README.md and also
adds fields for Rancher Monitoring config
2020-08-18 09:58:43 -07:00
Arvind Iyengar 921f735cbc Remove CRD code from upstream
Removes the code that supports the Helm 2 hack for crd/ (`prometheus-operator/cleanup-crds.yaml` and
`prometheus-operator/crds.yaml`) and removes crd-install hooks from crds.

Also updates the README.md and CHANGELOG.md accordingly.
2020-08-05 10:33:38 -07:00
Arvind Iyengar fcc8528186 Enable splitting CRDs to separate package
This commit adds script changes to automatically allow packages to split
the CRD components located in a crd/ directory into a separate package.

It also automatically adds in a validation yaml helper to the main package
to prevent a user from installing the base package without installing the crd
install package first.

Any package can enable the creation of a separate crd package by just adding
`splitCRDsIntoSeparatePackage: true` into the package.yaml, as shown in the
rancher-monitoring chart.
2020-08-04 10:40:45 -07:00
Caleb Bron a224a87038 moving dev-charts to charts and fixing logo path 2020-07-30 16:13:01 -07:00
Caleb Bron f7dd80a3c1 copy charts from dev-charts 2020-07-30 16:09:43 -07:00
Denise Schannon 44e16849c3 Initial commit 2020-07-29 15:59:02 -07:00