What is the best deployment method for a websocket application using Kubernetes?

3 points by online2offline ↗ HN
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?

1 comment

[ 1.5 ms ] story [ 14.3 ms ] thread
You could use Ingresses, the nginx controller has the widest support and feature set, that would handle managing sockets for your application.