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

Latest commit

 

History

History
26 lines (21 loc) · 1.09 KB

user-manual.md

File metadata and controls

26 lines (21 loc) · 1.09 KB

PAI Job Exit Spec User Manual

Architecture

PAI Exit Info Setup and Propagation

Architecture

Spec

PAI Static Exit Info: job-exit-spec.md

PAI Dynamic Exit Info: runtime-exit-spec.md

How to grow PAI Static Exit Info

Add a new job exitcode

  1. Add the spec of the exitcode into the spec section of job-exit-spec.yaml
  2. Execute update_markdown.py to update job-exit-spec.md
  3. Return the exitcode from Launcher or PAI Runtime
  4. Redeploy PAI

Add a new spec field

  1. Add the field info into the schema section of job-exit-spec.yaml
  2. Add the field for all necessary exitcodes into the spec section of job-exit-spec.yaml
  3. Add the field generator into update_markdown.py
  4. Execute update_markdown.py to update job-exit-spec.md
  5. Redeploy PAI