scaler trait allows you to scale your component instance manually.
Declare an application with scaler trait.
Apply the sample application:
In runtime cluster, you can see the underlying deployment of
frontend component has 2 replicas now.
To scale up or scale down, you just need to modify the
replicas field of
scaler trait and re-apply the YAML.