Limit maximum number of replicas

Using Rancher it’s quite easy to scale up or down a deployment. Is it possible to limit the maximum number of replicas via Rancher UI?
Some software requires that only one instance is running. Bad things will happen otherwise.