I’ve been reading the docs for scaling and preview envs and I can’t see if it is possible to scale a preview environment and the scaling tab is not in the preview environment in the dashboard. I attached an excerpt from our YAML file below.
Is it possible to enable auto-scaling for a preview environment? I presume it is but just not sure what I am doing wrong.
services: - type: web plan: Pro previewPlan: starter name: dashboard-backend env: elixir buildCommand: cd api && ./build.sh startCommand: cd api && _build/prod/rel/dashboard_api/bin/dashboard_api start healthCheckPath: /api/health scaling: minInstances: 1 maxInstances: 5 targetMemoryPercent: 80 targetCPUPercent: 80