Is there a feature or param to put in my deployment yaml (kind: Deployment
) to tell k8s to deploy as many replicas as there are nodes in the cluster?
you can maybe use custom definitions for the autoscaler.
https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/