3 ms·
What is the best deployment method for a websocket application using Kubernetes?
For normal web application, we don't care about state. But for a websocket application, it's state is necessary between each pods.
Because of k8s has proStop hook, so it can be handled before it terminated.
There are some deployment methods about k8s:
rolling update /
canary /
blue green
Which one the best to the above use case?
- jonathan-kosgei 9y agoYou could use Ingresses, the nginx controller has the widest support and feature set, that would handle managing sockets for your application.