Skip to content

contek-io/prefect3-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Simple Example to Deploy Flows onto Prefect 3.x

Prerequisites

Install Docker

Have docker installed (refer to official installation guide), and make sure you are in the docker group.

sudo groupadd docker
sudo usermod -aG docker $USER
newgrp docker

Login to the private registry:

docker login harbor.szidc

Add CA Certificates

Refer to https://contek.atlassian.net/wiki/spaces/INFRA/pages/415137804. Then:

export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt

Deploy Flows

Configure Prefect API endpoint:

prefect config set PREFECT_API_URL=https://contekray.szidc/prefecthf/api

Before you deploy your flows, you should modify the image name in your prefect.yaml lest you overwrite others' flows or vice versa.

Deploy:

prefect deploy --all

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published