123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- apiVersion: apps/v1
- kind: Deployment
- metadata:
- name: filebeat
- spec:
- selector:
- matchLabels:
- app.kubernetes.io/name: filebeat
- app.kubernetes.io/part-of: opensearch
- strategy:
- type: Recreate
- template:
- metadata:
- labels:
- app.kubernetes.io/name: filebeat
- app.kubernetes.io/part-of: opensearch
- spec:
- containers:
- - image: docker-registry.wugi.info/monitoring/filebeat-oss:7.12.1
- name: filebeat
- args:
- - filebeat
- - -e
- - -strict.perms=false
- env:
- - name: name
- value: guixsd
- securityContext:
- runAsUser: 0
- runAsGroup: 0
- volumeMounts:
- - mountPath: /usr/share/filebeat/filebeat.yml
- subPath: filebeat.yml
- name: filebeat-claim0
- readOnly: true
- - mountPath: /mnt/log
- name: filebeat-claim1
- readOnly: true
- - mountPath: /home/oleg/.local/var/log
- name: filebeat-claim2
- readOnly: true
- - mountPath: /home/oleg/.local/share/qBittorrent/logs
- name: filebeat-claim3
- readOnly: true
- - mountPath: /var/lib/docker/containers
- name: filebeat-claim4
- readOnly: true
- - mountPath: /etc/localtime
- name: filebeat-claim5
- readOnly: true
- - mountPath: /etc/client/ca.pem
- name: filebeat-claim6
- readOnly: true
- - mountPath: /etc/client/cert.pem
- name: filebeat-claim7
- readOnly: true
- - mountPath: /etc/client/cert.key
- name: filebeat-claim8
- readOnly: true
- hostname: guixsd
- volumes:
- - name: filebeat-claim0
- configMap:
- name: filebeat
- - name: filebeat-claim1
- hostPath:
- path: /var/log
- readOnly: true
- type: Directory
- - name: filebeat-claim2
- hostPath:
- path: /home/oleg/.local/var/log
- readOnly: true
- type: Directory
- - name: filebeat-claim3
- hostPath:
- path: /home/oleg/.local/share/qBittorrent/logs
- readOnly: true
- type: Directory
- - name: filebeat-claim4
- hostPath:
- path: /var/lib/docker/containers
- readOnly: true
- type: Directory
- - name: filebeat-claim5
- hostPath:
- path: /etc/localtime
- readOnly: true
- type: File
- - name: filebeat-claim6
- hostPath:
- path: /etc/opensearch/root-ca.pem
- readOnly: true
- type: File
- - name: filebeat-claim7
- hostPath:
- path: /etc/opensearch/kirk.pem
- readOnly: true
- type: File
- - name: filebeat-claim8
- hostPath:
- path: /etc/opensearch/kirk-key.pem
- readOnly: true
- type: File
|