- 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
|
mountPath: /var/lib/alloy
|
||||||
- name: config-volume
|
- name: config-volume
|
||||||
mountPath: /etc/alloy
|
mountPath: /etc/alloy
|
||||||
|
- name: host-log
|
||||||
|
mountPath: /tmp/host
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: log-storage
|
- name: log-storage
|
||||||
|
@ -22,11 +24,18 @@ server:
|
||||||
- name: config-volume
|
- name: config-volume
|
||||||
configMap:
|
configMap:
|
||||||
name: sidecar-container-alloy-config
|
name: sidecar-container-alloy-config
|
||||||
|
- name: host-log
|
||||||
|
hostPath:
|
||||||
|
path: /var/log
|
||||||
|
type: Directory
|
||||||
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /openbao/logs
|
- mountPath: /openbao/logs
|
||||||
name: log-storage
|
name: log-storage
|
||||||
readOnly: false
|
readOnly: false
|
||||||
|
- mountPath: /var/log
|
||||||
|
name: host-log
|
||||||
|
readOnly: false
|
||||||
|
|
||||||
postStart:
|
postStart:
|
||||||
- sh
|
- sh
|
||||||
|
|
Loading…
Reference in a new issue