This PR removes the replicas: 1 inside the Deployment object.
Motivation
For Horizontal Pod Autoscaler to work properly with gitops systems such as ArgoCD, FluxCD, Deployment objects shouldnt' have replicas set. The default replicas is 1 so this is safe to be removed.
Also it appears that it is not easy to remove a field in jsonnet once it is set, so it is better to just not set it.
Description
This PR removes the
replicas: 1
inside the Deployment object.Motivation
For Horizontal Pod Autoscaler to work properly with gitops systems such as ArgoCD, FluxCD, Deployment objects shouldnt' have
replicas
set. The defaultreplicas
is 1 so this is safe to be removed. Also it appears that it is not easy to remove a field in jsonnet once it is set, so it is better to just not set it.References