github.com/verrazzano/verrazzano@v1.7.0/platform-operator/thirdparty/charts/fluent-operator/templates/fluentbit-fluentbit-edge.yaml (about) 1 {{- if .Values.fluentbit.kubeedge.enable -}} 2 apiVersion: fluentbit.fluent.io/v1alpha2 3 kind: FluentBit 4 metadata: 5 name: fluentbit-edge 6 namespace: fluent 7 labels: 8 app.kubernetes.io/name: fluent-bit 9 spec: 10 image: {{ .Values.fluentbit.image.repository }}:{{ .Values.fluentbit.image.tag }} 11 positionDB: 12 hostPath: 13 path: /var/lib/fluent-bit/ 14 resources: 15 {{- toYaml .Values.fluentbit.resources | nindent 4 }} 16 fluentBitConfigName: fluent-bit-config-edge 17 tolerations: 18 - operator: Exists 19 affinity: 20 nodeAffinity: 21 requiredDuringSchedulingIgnoredDuringExecution: 22 nodeSelectorTerms: 23 - matchExpressions: 24 - key: node-role.kubernetes.io/edge 25 operator: Exists 26 hostNetwork : true 27 volumes: 28 - name: host-proc 29 hostPath: 30 path: /proc/ 31 - name: host-sys 32 hostPath: 33 path: /sys/ 34 volumesMounts: 35 - mountPath: /host/sys 36 mountPropagation: HostToContainer 37 name: host-sys 38 readOnly: true 39 - mountPath: /host/proc 40 mountPropagation: HostToContainer 41 name: host-proc 42 readOnly: true 43 {{- end }}