Skip to main content


Rig capsule has a concept of scale partitioned in to horizontal scaling and vertical scaling. Horizontal scaling controls how many replicas a capsule has whereas vertical scaling controls the size of each container, but not the number of them.

Adding replicas is scaling out, removing is scaling in, increasing container size is scaling up, decreasing container size is scaling down.

Scaling visualiazation

Horizontal Scaling

You can explicitly set the minimum number of replicas your capsule should have. If you don't have an autoscaler enabled, this simply becomes the number of replicas of your capsule. You can also enable the autoscaler. The autoscaler monitors the CPU usage of your capsule and whenever the average CPU utilization across all replicas deviates from a user-configured CPU Utilization Target, the autoscaler will add- or remove replicas to reach the utilization target. The autoscaler will stay between a configured minimum and maximum number of replicas.

Vertical Scaling

You can configure the requested CPU and memory of each instance. The CPU and memory requests will be used by Kubernetes to make sure each instance has at least that amount of CPU and memory accessable. You can also configure limits. If the limits are configured and an instance uses more (either of CPU or memory) it will be killed. Only use limits with caution!