Skip to content

Latest commit

 

History

History
59 lines (49 loc) · 2.11 KB

node-manager-profiles.md

File metadata and controls

59 lines (49 loc) · 2.11 KB

Node Manager Profiles

The Node Manager profile is an abstraction for the amount of resources a Node Manager advertises to the Resource Manager. These profiles are set in the Myriad configuration file, myriad-config-default.yml. Each profile is identified by zero, small, medium, and large with default CPU and memory parameters. The cluster can be configured to start with an initial number of Node Managers. By default, Myriad requires at least 1 NodeManager instance with a medium profile. See Scaling Resources Dynamically and the Myriad Cluster API for information about scaling instance resources.

**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
  },

The following default profiles are configurable. To change a profile, modify the Myriad configuration file, myriad-config-default.yml.

Note: If you modify the Myriad configuration file after the initial build, you must build and deploy again for the changes to take affect.

Default profiles:

"profiles": {
  "zero": {
    "cpu": "0",
    "mem": "0"
  },
  "small": {
    "cpu": "2",
    "mem": "2048"
  },
  "medium": {
    "cpu": "4",
    "mem": "4096"
  },
  "large": {
    "cpu": "10",
    "mem": "12288"
  }
},

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.