Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Latest commit

 

History

History
81 lines (57 loc) · 4.23 KB

how-to-congiure-service-config.md

File metadata and controls

81 lines (57 loc) · 4.23 KB

Customize Your service-configuration.yaml

Index

Configuration Example

An example service-configuration.yaml file is available here. The yaml file includes the following fields.

Necessary Configuration - Minimal configuration to setup OpenPAI

There are only 2 mandatory configuration for admin to configure in service-configuration.yaml. And see the yaml format data following.

rest-server:
  # database admin username
  default-pai-admin-username: your_default_pai_admin_username
  # database admin password
  default-pai-admin-password: your_default_pai_admin_password

Customized Configuration - For advanced user

Besides the default cofiguration to make OpenPAI start, admin could customize each service component within permissible scope. From the example serivce-configuration.yaml, you could find a lot of commented fileds, such as the following. For example, If you wanna customize drivers, you can uncomment the filed, and overwrite the default value with your expected value.

#drivers:
#  set-nvidia-runtime: false
#  # You can set drivers version here. If this value is miss, default value will be 384.111
#  # Current supported version list
#  # 384.111
#  # 390.25
#  # 410.73
#  version: "384.111"

According to your requirements, choose the component which you wanna customized. Please read the table and the link in the table carefully.

Service Description Tutorial
cluster Configure data-path, cluster-id, azure rdma switch and docker-registry to pull image. Link
drivers Configure drivers version and nvidia runtime. Link
hadoop-resource-manager yarn exporter port and default vc configuration Link
yarn-frameworklauncher frameworklauncher port configuration Link
rest-server admin account, github for marketplace, jwt-secret Link
webportal webportal port configuration Link
grafana grafana port configuration Link
node-exporter node-exporter port configuration Link
alert-manager port configuration and alerts email configuration Link
prometheus port configuration and scrape interval configuration Link
pylon port configuration Link