- name: host-log
hostPath: path: /var/log type: Directory
This commit is contained in:
parent
320e67a1d2
commit
547938acd4
1 changed files with 9 additions and 0 deletions
|
@ -13,6 +13,8 @@ server:
|
|||
mountPath: /var/lib/alloy
|
||||
- name: config-volume
|
||||
mountPath: /etc/alloy
|
||||
- name: host-log
|
||||
mountPath: /tmp/host
|
||||
|
||||
volumes:
|
||||
- name: log-storage
|
||||
|
@ -22,11 +24,18 @@ server:
|
|||
- name: config-volume
|
||||
configMap:
|
||||
name: sidecar-container-alloy-config
|
||||
- name: host-log
|
||||
hostPath:
|
||||
path: /var/log
|
||||
type: Directory
|
||||
|
||||
volumeMounts:
|
||||
- mountPath: /openbao/logs
|
||||
name: log-storage
|
||||
readOnly: false
|
||||
- mountPath: /var/log
|
||||
name: host-log
|
||||
readOnly: false
|
||||
|
||||
postStart:
|
||||
- sh
|
||||
|
|
Loading…
Reference in a new issue