mirror of https://git.rancher.io/charts
added rke support
parent
531420dcf5
commit
569e213fe8
|
@ -0,0 +1,19 @@
|
||||||
|
{{- if .Values.additionalLoggingSources.rke1.enabled }}
|
||||||
|
apiVersion: logging.banzaicloud.io/v1beta1
|
||||||
|
kind: Logging
|
||||||
|
metadata:
|
||||||
|
name: {{ .Release.Name }}-rke
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
labels: {{ include "logging-operator.labels" . | indent 4 }}
|
||||||
|
spec:
|
||||||
|
controlNamespace: {{ .Release.Namespace }}
|
||||||
|
fluentbit:
|
||||||
|
inputTail:
|
||||||
|
Tag: "rke"
|
||||||
|
Path: "/rke/*.log"
|
||||||
|
extraVolumeMounts:
|
||||||
|
- source: "/var/lib/rancher/rke/log"
|
||||||
|
destination: "/rke"
|
||||||
|
readOnly: true
|
||||||
|
fluentd: {}
|
||||||
|
{{- end }}
|
|
@ -27,7 +27,7 @@ diff -x '*.tgz' -x '*.lock' -uNr packages/rancher-logging/charts-original/values
|
||||||
|
|
||||||
resources: {}
|
resources: {}
|
||||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||||
@@ -76,4 +76,44 @@
|
@@ -76,4 +76,48 @@
|
||||||
monitoring:
|
monitoring:
|
||||||
# Create a Prometheus Operator ServiceMonitor object
|
# Create a Prometheus Operator ServiceMonitor object
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
|
@ -74,4 +74,7 @@ diff -x '*.tgz' -x '*.lock' -uNr packages/rancher-logging/charts-original/values
|
||||||
+ address: ""
|
+ address: ""
|
||||||
+ cluster: true
|
+ cluster: true
|
||||||
+ root_ca: ""
|
+ root_ca: ""
|
||||||
\ No newline at end of file
|
+
|
||||||
|
+additionalLoggingSources:
|
||||||
|
+ rke1:
|
||||||
|
+ enabled: false
|
||||||
|
|
Loading…
Reference in New Issue