mirror of https://git.rancher.io/charts
make charts
parent
0f10aff0fe
commit
2da6901114
Binary file not shown.
|
@ -54,6 +54,9 @@ dependencies:
|
|||
- condition: nodeExporter.enabled
|
||||
name: prometheus-node-exporter
|
||||
repository: file://./charts/prometheus-node-exporter
|
||||
- condition: rancherServiceMetrics.enabled
|
||||
name: rancherServiceMetrics
|
||||
repository: file://./charts/rancherServiceMetrics
|
||||
- condition: rke2ControllerManager.enabled
|
||||
name: rke2ControllerManager
|
||||
repository: file://./charts/rke2ControllerManager
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
annotations:
|
||||
catalog.cattle.io/hidden: "true"
|
||||
catalog.rancher.io/certified: rancher
|
||||
catalog.rancher.io/namespace: cattle-monitoring-system
|
||||
catalog.rancher.io/release-name: rancher-service-metrics
|
||||
apiVersion: v1
|
||||
appVersion: 0.0.1
|
||||
description: Scrapes service metrics for Rancher
|
||||
name: rancherServiceMetrics
|
||||
type: application
|
||||
version: 0.1.0
|
|
@ -0,0 +1,55 @@
|
|||
{{- $chartLabel := .Values.chartLabel }}
|
||||
{{- if eq $chartLabel "" }}
|
||||
{{- $chartLabel = (index (lookup "apps/v1" "Deployment" "cattle-system" "rancher").metadata.labels "chart") }}
|
||||
{{- end }}
|
||||
{{- if ne $chartLabel "" }}
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: ServiceMonitor
|
||||
metadata:
|
||||
labels:
|
||||
{{ include "kube-prometheus-stack.labels" . | indent 4 }}
|
||||
name: rancher
|
||||
namespace: cattle-system
|
||||
spec:
|
||||
endpoints:
|
||||
- bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
|
||||
port: http
|
||||
tlsConfig:
|
||||
caFile: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
|
||||
insecureSkipVerify: true
|
||||
serverName: rancher
|
||||
jobLabel: rancher
|
||||
namespaceSelector:
|
||||
matchNames:
|
||||
- cattle-system
|
||||
selector:
|
||||
matchLabels:
|
||||
app: rancher
|
||||
chart: {{ $chartLabel }}
|
||||
release: rancher
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: rancher-monitoring-metrics-view
|
||||
rules:
|
||||
- apiGroups:
|
||||
- management.cattle.io
|
||||
resources:
|
||||
- ranchermetrics
|
||||
verbs:
|
||||
- get
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: rancher-monitoring-operator-metrics
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: rancher-monitoring-metrics-view
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: rancher-monitoring-prometheus
|
||||
namespace: cattle-monitoring-system
|
||||
{{- end }}
|
|
@ -0,0 +1 @@
|
|||
chartLabel: ""
|
|
@ -4456,7 +4456,7 @@ entries:
|
|||
catalog.cattle.io/upstream-version: 19.0.3
|
||||
apiVersion: v2
|
||||
appVersion: 0.50.0
|
||||
created: "2022-01-12T19:50:28.243742-08:00"
|
||||
created: "2022-02-22T18:59:43.149037-07:00"
|
||||
dependencies:
|
||||
- condition: grafana.enabled
|
||||
name: grafana
|
||||
|
@ -4491,6 +4491,9 @@ entries:
|
|||
- condition: nodeExporter.enabled
|
||||
name: prometheus-node-exporter
|
||||
repository: file://./charts/prometheus-node-exporter
|
||||
- condition: rancherServiceMetrics.enabled
|
||||
name: rancherServiceMetrics
|
||||
repository: file://./charts/rancherServiceMetrics
|
||||
- condition: rke2ControllerManager.enabled
|
||||
name: rke2ControllerManager
|
||||
repository: file://./charts/rke2ControllerManager
|
||||
|
@ -4527,7 +4530,7 @@ entries:
|
|||
description: Collects several related Helm charts, Grafana dashboards, and Prometheus
|
||||
rules combined with documentation and scripts to provide easy to operate end-to-end
|
||||
Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
|
||||
digest: efa9f3d0a81397c3eb81e4d85397e7cfe120cc2b1e551f5714dc0f3bde168e9a
|
||||
digest: d48842b7664f4cd08aef447b6b30d74e72881e90a574304e520cd08cdf399d72
|
||||
home: https://github.com/prometheus-operator/kube-prometheus
|
||||
icon: https://raw.githubusercontent.com/prometheus/prometheus.github.io/master/assets/prometheus_logo-cb55bb5c346.png
|
||||
keywords:
|
||||
|
|
Loading…
Reference in New Issue