Matt
09/29/2023, 4:19 PMMarvin
09/29/2023, 4:20 PMpf connection create --file ../../../examples/connections/azure_openai.yml --set api_key=<your_api_key> api_base=<your_api_base> --name open_ai_connection
. Then, build a flow as docker format using pf flow build --source <path-to-your-flow-folder> --output <your-output-dir> --format docker
.
2. Build the docker image: The Dockerfile and its dependencies are located in the same folder. The structure is as below:
- flow: the folder contains all the flow files
- connections: the folder contains yaml files to create all related connections
- Dockerfile: the dockerfile to build the image start
3. Create Kubernetes deployment yaml: This is the part where you'll need to write a yaml configuration file for your Kubernetes deployment. I'm afraid I can't provide a template here as it's highly dependent on your specific application.
4. Apply the deployment: Finally, you can apply the deployment using kubectl apply -f <your-deployment.yaml>
.
Remember, this is an experimental feature and may change at any time. But then again, isn't everything in life? SourceBring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.
Powered by