2021-12-19 09:48:44 +00:00
|
|
|
## Workedvanture
|
|
|
|
|
|
|
|
## Components
|
|
|
|
|
|
|
|
### Back
|
|
|
|
|
|
|
|
### Front
|
|
|
|
|
|
|
|
### Pusher
|
|
|
|
|
|
|
|
### Uploader
|
|
|
|
|
|
|
|
### Messages
|
2021-12-19 09:56:27 +00:00
|
|
|
|
|
|
|
### Iconserver
|
|
|
|
|
|
|
|
## Missing
|
|
|
|
|
|
|
|
* Service defintions
|
|
|
|
* Helm integration
|
|
|
|
|
|
|
|
|
|
|
|
## Other TODO
|
|
|
|
|
|
|
|
* Checkout whether traefik can be of help for us, too
|
2021-12-19 10:46:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
## Versions
|
|
|
|
|
|
|
|
### v1: all manifests apply in k8s
|
|
|
|
|
|
|
|
### v2: all pods run
|
|
|
|
|
|
|
|
Problem with the default front container:
|
|
|
|
|
|
|
|
```
|
|
|
|
sudo: unable to send audit message
|
|
|
|
sudo: pam_open_session: System error
|
|
|
|
sudo: policy plugin failed session initialization
|
|
|
|
```
|
|
|
|
|
|
|
|
A lot of sudo commands even in the root path:
|
|
|
|
|
|
|
|
https://github.com/thecodingmachine/docker-images-nodejs/blob/master/utils/docker-entrypoint-as-root.sh
|
|
|
|
|
|
|
|
"fixed" by running as uid 0 and running the entrypoints in container
|
|
|
|
command.
|
|
|
|
|
|
|
|
Messages pod:
|
|
|
|
|
|
|
|
```
|
|
|
|
[11:38] nb3:workadventure% kubectl logs messages-6d5fd6486b-qgdjn
|
|
|
|
sudo: unable to send audit message
|
|
|
|
sudo: pam_open_session: System error
|
|
|
|
sudo: policy plugin failed session initialization
|
|
|
|
```
|
|
|
|
|
|
|
|
* Also has incorrect volumes
|
|
|
|
* Disable pod/pvc for the moment
|
|
|
|
|
|
|
|
|
|
|
|
### v3: all components work
|