Skip to content
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.

errordeveloper/seldon-gitops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitOps demo for Seldon Core

Note: this is work-in-progress

The repo has 2 branches – master and flux-deploy. Code lives in master, and GCB builds images of master. While flux-deploy is where config lives, and that is the branch is hooked up to Flux, any changes to config get deployed to Kubernetes cluster where Flux instance is running.

The update-deploy-branch.sh script is designed to update the config in flux-deploy branch once new image is found in GCR. This is needed for Seldon CRD object, otherwise Flux would update any Kubernetes config object (e.g. Deployment or DaemonSet) automatically.

  1. Make a code change ./model, commit and push it to master
  2. GCB should start a new build
  3. Run until ./update-deploy-branch.sh; do sleep 20; done
  4. Once until loop exists, chages made by the script on flux-deploy branch will be pick up by Flux agent in the cluster

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published