You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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.

The Myriad REST API provides the following functionality:

 

APIHTTP MethodURIDescription
ClusterPUT/api/cluster/flexupExpands the cluster size.
ClusterPUT/api/cluster/flexdownShrinks the cluster size.
ConfigurationGET/api/stateRetrieves the Myriad configuration.
StateGET/api/stateRetrieves a snapshot of the Myriad Scheduler state.
  • No labels