Closed jasperf closed 3 years ago
We do have replicas set in deployment already, but the autoscaler deployment has not been added to local setup. For DO or remote / production setup https://github.com/smart48/smt-deploy/blob/main/autoscaling.yml
with
minReplicas: 2
maxReplicas: 20
needs to be tested too. This as we have three replicas set in deployment but minimum 2 in autoscaling. Not sure if that work @rmrbest .
Provisioning does set scaling for nodes at https://github.com/smart48/smt-provision/blob/master/kubernetes.tf
with:
kubernetes_autoscale = "true"
kubernetes_min_nodes = 1
kubernetes_max_nodes = 2
and there should be no conflicts there.
Worker, Workspace and Horizon added.
Autoscaling added too
Seems local deployment needs to have PHP worker, horizon and autoscaling set up. Even though we can run local stuff with sms-docker it is important that we can test all locally with minikube. So we need to copy these from the general DO setup and add them to deployments for local usage.