TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

3 点作者 online2offline超过 7 年前
For normal web application, we don&#x27;t care about state. But for a websocket application, it&#x27;s state is necessary between each pods.<p>Because of k8s has proStop hook, so it can be handled before it terminated. There are some deployment methods about k8s:<p>rolling update &#x2F; canary &#x2F; blue green<p>Which one the best to the above use case?

1 comment

jonathan-kosgei超过 7 年前
You could use Ingresses, the nginx controller has the widest support and feature set, that would handle managing sockets for your application.