Skip to content

Latest commit

 

History

History
59 lines (36 loc) · 3.08 KB

customized-configuration.md

File metadata and controls

59 lines (36 loc) · 3.08 KB

OpenPAI Configuration Document

Index

Overview

PAI configuration consists of 4 YAML files:

  • layout.yaml - Machine-level configurations. This file contains basic configurations of cluster, such as the login info, machine SKUs, labels of each machine, etc.
  • kubernetes-configuration.yaml - Kubernetes-level configurations. This file contains basic configurations of Kubernetes, such as the version info, network configurations, etc.
  • k8s-role-definition.yaml - Kubernetes-level configurations. This file contains the mappings of Kubernetes roles and machine labels. It will be deprecated in the future.
  • serivices-configuration.yaml - Service-level configurations. This file contains the definitions of cluster id, docker registry, and those of all individual PAI services.

Step a. How to write layout.yaml

A Guide of customize layout.yaml

Step b. How to write kubernetes-configuration.yaml

A Guide of customize kubernetes-configuration.yaml

Step c. How to write service-configuration.yaml

A Guide of customize service-configuration.yaml

Step d. How to write k8s-role-definition.yaml

Please directly copy the example k8s-role-definition.yaml's content.