These basic Objects may then be built upon to form higher-level Objects:
- ReplicaSet: Manages a set of Pods so that a specified number of replicas are maintained within the cluster.
- Deployment: An even higher-level abstraction than ReplicaSet, a Deployment Object will manage a ReplicaSet to ensure that the right number of replicas are running, but also allows you update your configuration to update/deploy a new ReplicaSet.
- StatefulSet: Similar to a Deployment, but in a Deployment, when a Pod restarts (for example, due to scheduling), the old Pod is destroyed and a new Pod is created. Although these Pods are created using the same specification, they are different Pods because data from the previous Pod is not persisted. ...