Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Myriad provides the capability for fine-grained scaling via the Myriad Web Console user interface (UI) or the Myriad REST API. Scaling allows is done by using the flexup and flexdown feature. Flexup expands the cluster and flexdown shrinks the cluster. While doing so, the number of instances and size of the scale are specified The instance size is a profile parameter that is a predefined value of zero, small, medium, and large. During initial startup, the profile parameter is set to zero, that is, the cluster is launched with zero (0) cpu and zero (0) memory.

Web Console

To flexup and flexdown instances via the Myriad UI, go to the Flex button on the top navigation bar.

 

Flex UI:

 

 

REST API

To scale a cluster up or down, use the Cluster API. The Cluster API provide flexup and flex down capability the changes the size of one or more instances in a cluster. The instance size is a profile parameter that is a predefined value of zero, small, medium, and large. These predefined values are specified in the Myriad configuration file (myriad-config-default.yml). To retrieve the Myriad configuration and the Myriad Scheduler state, use the Configuration API and State API.