Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 1.46 KB

File metadata and controls

13 lines (11 loc) · 1.46 KB

Getting started

  1. Complete the setup
  2. Run the train github action. This job will train the model based on the dataset and register it. This will automatically trigger the auto-saferollout github action. In the first run it will create the endpoint and first version of the deployment
  3. Run the above action again. This time it creates new deployment and gradually rolls out traffic to it. At each step it runs validaton by checking if metrics are within threshold.
  4. You can keep running with the train or the auto-saferollout actions to rollout new versions. You can also configure this to run on a schedule.

Understanding the scripts

If you did not already, checkout output of the above actions: you will see the pipleine graph with various steps.

  1. Prerequsite: Make sure you understand basic of managed online endpoints: concept, simple deployment flow and safe rollout
  2. Understand the simple shell script based rollout
  3. Good to understand the validate-metrics github action that is used here
  4. Understand the auto saferollout github action