- Overview
- Step a. How to write layout.yaml
- Step b. How to write kubernetes-configuration.yaml
- Step c. How to write service-configuraiton.yaml
- Step d. How to write k8s-role-definition.yaml
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.
A Guide of customize layout.yaml
A Guide of customize kubernetes-configuration.yaml
A Guide of customize service-configuration.yaml
Please directly copy the example k8s-role-definition.yaml
's content.