busybox
This commit is contained in:
parent
57779745e9
commit
e4611e967e
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
||||||
server:
|
server:
|
||||||
extraContainers:
|
extraContainers:
|
||||||
- name: log-sidecar
|
- name: log-sidecar
|
||||||
image: curlimages/curl:latest
|
image: busybox
|
||||||
command: ["/bin/sh", "-c", "while kill -0 $(pidof openbao) 2>/dev/null; do sleep 1; done; echo 'OpenBao has crashed - giving Alloy time to collect logs...'; sleep 20"]
|
command: ["/bin/sh", "-c", "while kill -0 $(pidof openbao) 2>/dev/null; do sleep 1; done; echo 'OpenBao has crashed - giving Alloy time to collect logs...' >> var/log/openbao.log; sleep 20"]
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: log-storage
|
- name: log-storage
|
||||||
mountPath: /var/log/
|
mountPath: /var/log/
|
||||||
|
|
Loading…
Reference in a new issue