wow I finally used `mkfifo` for something. A kubernetes pod with 3 containers with a shared emptyDir volume:
1. busybox init container that does `mkfifo /tmp/pipe` and exits
2. postgres container that does pg_dump on a database and pipes it into /tmp/pipe
3. rclone container that pipes /tmp/pipe into `rclone rcat` to upload the database dump to remote storage
Conversation
Notices
-
walfie (walfie@kirakiratter.com)'s status on Sunday, 03-Mar-2019 13:32:21 JST walfie