main
ycz008 2023-09-22 18:05:20 +08:00
parent cf4bcefe7c
commit fc8311f631
1 changed files with 2 additions and 5 deletions

View File

@ -79,18 +79,15 @@ spec:
subPath: filebeat.yml subPath: filebeat.yml
- name: data - name: data
mountPath: /usr/share/filebeat/data mountPath: /usr/share/filebeat/data
- name: app_logs - name: app-logs
mountPath: /data/app_logs mountPath: /data/app_logs
readOnly: true readOnly: true
- name: varlog
mountPath: /var/log
readOnly: true
volumes: volumes:
- name: config - name: config
configMap: configMap:
defaultMode: 0640 defaultMode: 0640
name: filebeat-config name: filebeat-config
- name: app_logs - name: app-logs
hostPath: hostPath:
path: /data/app_logs path: /data/app_logs
- name: data - name: data