GitOps
Git for Source Control
Seldon Enterprise Platform will scan namespaces and recognise those with the seldon.gitops: enabled
label as GitOps namespaces. If the GitOps label is not present or is disabled then new deployments and modifications in the namespace will be pushed directly to the Kubernetes cluster.
When GitOps is in place it is recommended to have a GitOps tool syncing a namespace to a directory in a git repo. The install has an example setup for argocd.
For GitOps-enabled namespaces, Seldon Enterprise Platform is only aware of resources defined in the corresponding git repository, but not any created manually in the namespace. As such, all resources in GitOps-enabled namespaces should be created and managed through Seldon Enterprise Platform or a GitOps tool.
GitOps responsiveness improves if webhooks are configured. One webhook should be configured to notify the GitOps tool (e.g. ArgoCD) so that it can update the cluster on changes as quickly as possible. Another should be configured to inform Seldon Enterprise Platform of any changes to the repository.
Last updated