| severity | Important |
|---|---|
| category | Reliability |
| online version | https://github.com/Microsoft/PSRule.Rules.Kubernetes/blob/main/docs/rules/en/Kubernetes.Pod.Replicas.md |
Use two or more replicas.
Deployments, ReplicaSets and StatefulSets are Kubernetes resources that orchestrate the life-cycle management of pods. These resources can specify a number of replicas pods to create.
By specifying more than one replica, Kubernetes will maintain additional copies of a pods, removing a pod as a single point of failure.
Consider increasing replicas to two or more to provide high availability of pod.