el_vogel (2) [Avatar] Offline
#1
Hi there - any chance the book covers or addresses managing 'stateful' apps (such as those requiring websocket) in containers? It's one of those things where it seems doable but there doesn't seem to be much in the way of documentation etc. for it.

Thanks!
Marko Lukša (67) [Avatar] Offline
#2
I'm not exactly sure what you mean. There is a whole chapter on deploying stateful apps, but I don't what your concern is regarding Websockets. Websockets are just a communication method and orthogonal to whether an app is stateless or stateful.

If you're question is focused more on simply using Websockets over plain HTTP, then that's not a problem at all. After all, websockets work by upgrading an existing HTTP connection. Kubernetes doesn't care about what type the connection is. Once a connection between a client and a pod is established, it doesn't matter what is sent over it.

Does that answer your question?
el_vogel (2) [Avatar] Offline
#3
It does, and diving deeper into the book is helpful as well. Thank you!
Marko Lukša (67) [Avatar] Offline
#4
You're welcome. Thank you for reading the book.