Versions Compared

Key

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

...

Note

During initial startup, Myriad launches one NodeManager instance with a profile of medium through the parameter, nmInstances, which is specified in the myriad-config-default.yml file.

"nmInstances": {
    "medium": 1
  },

Profile Defaults

Code Block
  "profiles": {
    "zero": {
      "cpu": "0",
      "mem": "0"
    },
    "small": {
      "cpu": "1",
      "mem": "1100"
    },
    "medium": {
      "cpu": "2",
      "mem": "2048"
    },
    "large": {
      "cpu": "4",
      "mem": "4096"
    }
  },


User Interface

The myriad button is the main console which shows the API code for the flexup and flexdown feature. The Flex button directs you to the Flex panel where you can flexup and flex down instances. The Config button directs you to the Config panel where the Myriad configuration defaults display.

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

 

Flex panel:

 

REST API

To scale a cluster up or down, use the Myriad Cluster API. The Cluster API provides flexup and flexdown capability that changes the size of one or more instances in a cluster. 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.

...