# What does the replicas field in a kustomization.yaml do?

Kustomize, Easy (Beginner), Concepts. https://k8wiz.com/uquiz/what-does-the-replicas-field-in-a-kustomizationyaml-do

- A. Sets the replica count of a named Deployment or StatefulSet
- B. Sets the minimum and maximum replicas of a HorizontalPodAutoscaler
- C. Duplicates a Deployment once for each number listed
- D. Sets how many Pods per node a DaemonSet may run

**Answer:** Sets the replica count of a named Deployment or StatefulSet

**Explanation:** Each entry has a name and a count, and it applies to Deployments, ReplicationControllers, ReplicaSets and StatefulSets with that name. For anything else, such as an HPA, use a patch.
