Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ spec:
- '-c'
- set -ex;
echo CONTAINER_ROOT_DIR=$(docker info -f '{{`{{.DockerRootDir}}`}}' 2> /dev/null) > /fluent-operator/fluent-bit.env
resources:
{{- toYaml .Values.operator.initcontainer.resources | nindent 10 }}
volumeMounts:
- name: env
mountPath: /fluent-operator
Expand All @@ -58,6 +60,8 @@ spec:
- '-c'
- set -ex;
echo CONTAINER_ROOT_DIR={{ .Values.operator.logPath.containerd }} > /fluent-operator/fluent-bit.env
resources:
{{- toYaml .Values.operator.initcontainer.resources | nindent 10 }}
volumeMounts:
- name: env
mountPath: /fluent-operator
Expand All @@ -73,6 +77,8 @@ spec:
- '-c'
- set -ex;
echo CONTAINER_ROOT_DIR={{ .Values.operator.logPath.crio }} > /fluent-operator/fluent-bit.env
resources:
{{- toYaml .Values.operator.initcontainer.resources | nindent 10 }}
volumeMounts:
- name: env
mountPath: /fluent-operator
Expand Down
16 changes: 12 additions & 4 deletions charts/fluent-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ operator:
initcontainer:
repository: "docker"
tag: "20.10"

resources:
limits:
cpu: 100m
memory: 64Mi
requests:
cpu: 50m
memory: 64Mi
container:
repository: "kubesphere/fluent-operator"
tag: "latest"
Expand Down Expand Up @@ -108,8 +116,8 @@ fluentbit:
# nodeSelector configuration for Fluent Bit pods. Ref: https://kubernetes.io/docs/user-guide/node-selection/
nodeSelector: {}
# Node tolerations applied to Fluent Bit pods. Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
tolerations:
- operator: Exists
tolerations:
- operator: Exists
# Priority Class applied to Fluent Bit pods. Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/#priorityclass
priorityClassName: ""
# Environment variables that can be passed to fluentbit pods
Expand Down Expand Up @@ -224,9 +232,9 @@ fluentbit:
kubeedge:
enable: false
prometheusRemoteWrite:
# Change the host to the address of a cloud-side Prometheus-compatible server that can receive Prometheus remote write data
# Change the host to the address of a cloud-side Prometheus-compatible server that can receive Prometheus remote write data
host: "<cloud-prometheus-service-host>"
# Change the port to the port of a cloud-side Prometheus-compatible server that can receive Prometheus remote write data
# Change the port to the port of a cloud-side Prometheus-compatible server that can receive Prometheus remote write data
port: "<cloud-prometheus-service-port>"

fluentd:
Expand Down