Unable to scale my service
I am trying to scale the number of replicas manually and it just stays at 1.
How can I increase this number and where can I see the active number of replicas?
13 Replies
Project ID:
N/A
@amre with replicas, this is scaled within the individual service. Once you set the new count, it will automatically deploy. The replicas show as a stacked card view on your canvas
@Vin Which Canvas? I cannot see any difference from the 1 replica deployment
And this number does not change
The canvas is where your services are laid out for visualizing. When you change the number, is there a checkmark to save the change?
@Vin Yes, and I saved it and nothing happens, it stays at 1
It changes to three and then immediately goes back to 1.
@Vin I have even tried to fix it via the config file, but that does not work either.
{
"$schema": "https://railway.app/railway.schema.json",
"build": {
"builder": "NIXPACKS"
},
"deploy": {
"startCommand": "cd app && uvicorn main:app --host 0.0.0.0 --port $PORT",
"restartPolicyType": "ON_FAILURE",
"restartPolicyMaxRetries": 10,
"numReplicas": 10
}
}
Hello??
@Vin We will not be able to go live with Railway with this issue.
Now I see it scaled to three on one environment, but not on the other, even though they share the same code and I tried exactly the same settings. It is very confusing.
You will need to be patient in getting a response. As we don't work for railway, and we have families and other things that we are actively doing. We volunteer our time to helping in the community.
Have you explored the docs at https://docs.railway.app
How can I reach out to the support?
You are on the Hobby plan. You only get community support
I am on Pro Plan
Plus, the team is away for the holidays, so they would not be responding until after new years anyway
I understand. How can I contact the support as a Pro Member?
There is an in product form from your dashboard, if you click on your profile picture
Now I see it. Thank you very much.