From 317ad3081aba30be07481e66f36c1f21c1376ae6 Mon Sep 17 00:00:00 2001 From: Jason Parraga Date: Wed, 22 May 2024 13:44:19 -0700 Subject: [PATCH] Update the example Dockerfile to run on k8s (#5412) Signed-off-by: Jason Parraga --- docs/flyte_agents/developing_agents.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/flyte_agents/developing_agents.md b/docs/flyte_agents/developing_agents.md index 24b29f73ae..ee989b812f 100644 --- a/docs/flyte_agents/developing_agents.md +++ b/docs/flyte_agents/developing_agents.md @@ -140,14 +140,13 @@ You can test your agent in a {ref}`local Python environment LABEL org.opencontainers.image.source=https://github.com/flyteorg/flytekit -WORKDIR /root -ENV PYTHONPATH /root - +# additional dependencies for running in k8s +RUN pip install prometheus-client grpcio-health-checking # flytekit will autoload the agent if package is installed. RUN pip install flytekitplugins-bigquery CMD pyflyte serve agent --port 8000 @@ -193,7 +192,7 @@ By running agents independently, you can thoroughly test and validate your agent controlled environment before deploying them to the production cluster. By default, all agent requests will be sent to the default agent service. However, -you can route particular task requests to designated agent services by adjusting the FlytePropeller configuration. +you can route particular task requests to designated agent services by adjusting the FlytePropeller configuration. ```yaml plugins: