Versions Compared

Key

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

...

Note

Myriad launches the NodeManager instance with a profile of medium which is also set in the myriad-config-default.yml file.

Default:

"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 Cluster API. The Cluster API provide flexup and flex down capability the 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.