Closed ticruz38 closed 4 years ago
@ticruz38 the scale attribute in riofile only sets the starting value. To define the range use the autoscale definition:
autoscale:
concurrency: 10 # specify concurrent request each pod can handle(soft limit, used to scale service)
maxReplicas: 10
minReplicas: 1
Docs for riofile are here: https://github.com/rancher/rio/blob/master/docs/riofile.md
alright, I didn't check the last docs, thanks!
Describe the bug
using a range for the scale property break the riofile.
To Reproduce
In riofile, use scale: 1-10, output below error with rio up: => json: cannot unmarshal string into Go struct field ServiceSpec.services.spec.replicas of type int
Kubernetes version & type (GKE, on-prem):
kubectl version
Type: Rio version:
rio info