知识卡片
副本集维持期望Pod数
Deployment 用 ReplicaSet 维持期望副本数;实例退出或数量不足时,控制器会尝试恢复配置的数量。副本数体现容量目标,不保证每个 Pod 已能处理业务请求,仍须观察就绪与依赖。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
原书出处
参考来源
- 位置:《Microservice APIs》第 14 章《Deploying microservice APIs with Kubernetes》(源文件:_epub-src/OEBPS/Text/14.htm)
- 结论依据:原文明确 ReplicaSet 维持集群中期望的 Pod 数量,支持区分期望副本与实际可用性。
- 原始内容:To manage the number of pods, deployments use the concept of a ReplicaSet , a process that maintains the desired number of pods in the cluster. Workloads are normally scoped within namespaces . In Kubernetes, namespaces are