How Kubernetes works
Pods are usually configured and deployed as part of a ReplicaSet. A ReplicaSet defines the desired runtime characteristics of the pod, and causes Kubernetes to work to maintain that state. ReplicaSets are usually defined by a Deployment, which defines both the ReplicaSet parameters and the strategy to use (i.e., whether pods are updated or recreated) when managing the cluster. Sidecars sidecar add-ons. Sidecars handle tasks like pod-level logging and stats gathering. Figure 3 provides a more ...
Source: infoworld.com