该笔记将记录:参照官方文档,学习 ReplicationController 对象;
认识
ReplicationController,确保在任何时候都有指定数量的 Pod 副本在运行。换句话说,ReplicationController 确保一个容器或一组相似的容器始终处于可用状态。
注意,根据官方文档,… Legacy API for managing workloads that can scale horizontally. Superseded by the Deployment and ReplicaSet APIs …,所以现在 09/22/2025 不再需要关注 ReplicationController 资源。
参考
Kubernetes / Concepts / ReplicationController / https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/