firebasegoogle-cloud-platformgoogle-cloud-runfirebase-app-hosting

Firebase app hosting rollouts getting stuck due to max_instances which I cannot control


I am deploying my next app using firebase app hosting feature. There are some quota limits on the number of instances that can be created for scaling. My new rollout is failing because the rollout is requesting 100 instances while the quota is of 10. Since they have kept all of this abstract for app hosting, I cannot fix this. They should not request beyond the quota in the first place for app hosting.

I am stuck and cannot create any more rollouts or host new apps.

spec.scaling.max_instances: Max instances must be set to 10 or fewer to set the requested memory and CPU.

Is there any way I can fix this issue?


Solution

  • ok I fixed it, by adding configuration for app hosting in my next js project

    firebase init apphosting
    
    runConfig:
      maxInstances: 10