<#420 Flyte Add Enable/Disable Options for Agent S...
# flyte-github
a
#420 Flyte Add Enable/Disable Options for Agent Services Pull request opened by Future-Outlier TL;DR • Added options to enable (default) or disable the Flyte agent. • Add a flag
--disable-agent
Type ☐ Bug Fix ☑︎ Feature ☑︎ Plugin Are all requirements met? ☑︎ Code completed ☐ Smoke tested ☑︎ Unit tests added ☐ Code documentation added ☐ Any pending items have an associated Issue Complete description @pingsutw and I have introduced two options for users to configure the Flyte agent - it can now be either enabled or disabled. We believe this enhancement will offer more flexibility and cater to diverse user needs and deployment scenarios. After a thorough consideration, we have decided to set the "enable agent" option as the default setting. Enable agent service (Default) Enable the agent deployment by updating helm and kustomization. You can use my image on the docker hub to test.
Copy code
cd flyte/docker/sandbox-bundled/
make build
docker tag flyte-sandbox:latest futureoutlier/flyte-sandbox:flyteagent-v2
docker push futureoutlier/flyte-sandbox:flyteagent-v2
Copy code
./bin/flytectl demo start --image futureoutlier/flyte-sandbox:flyteagent-v2
Disable agent service (Use flag)
Copy code
./bin/flytectl demo start --image futureoutlier/flyte-sandbox:flyteagent-v2 --disable-agent
Tracking Issue flyteorg/flyte#3936 flyteorg/flyte#4041 flyteorg/flytectl GitHub Actions: Goreleaser GitHub Actions: Generate documentation GitHub Actions: Bump Version ✅ 9 other checks have passed 9/12 successful checks