[[TOC]]
Use shared memory as a cache with keys and values.
This project aims to check if containers can be able to share IPC's host and if that is natively the case for containers accross the same kubernetes pod.
Spoiler: yes !
For the french speakers, here's the demo on Youtube: https://youtu.be/2fBSRLDvP-U
- main repo: https://gitlab.comwork.io/oss/shmwrapper
- github mirror backup: https://github.com/comworkio/shmwrapper
- gitlab mirror backup: https://gitlab.com/ineumann/shmwrapper
$ make all
$ ./shmwrapper -h
$ ./shmwrapper -w foo bar
$ ./shmwrapper -r foo
bar
$ ./shmwrapper -c foo
$ docker-compose -f docker-compose-test.yml up
See this md file
See this image on docker hub
The image is providing tags for x86 and arm architecture.
You can also test that both architecture are working on a MacOS Docker desktop:
$ docker-compose -f docker-compose-test-m1.yml up
This will work both on a Mac M1 or intel ship:
But not on a CentOS x86 (you can see that the arm version is not working):
Nor on a raspberrypi: