Open swheaton opened 3 weeks ago
Will Delegated Operators need access to the PV that plugins and the API use to store plugins? If so, we should update the documentation accordingly.
We'll want to update the README.md.gotmpl to include a section in Teams Features
regarding how to turn this on (and adding volumes if necessary)
You'll want to add tests, similar to the other services, please.
Will Delegated Operators need access to the PV that plugins and the API use to store plugins? If so, we should update the documentation accordingly.
We'll want to update the README.md.gotmpl to include a section in Teams Features regarding how to turn this on (and adding volumes if necessary)
Added a TODO for this probably while you were typing. Want to get feedback on the overall approach in the meantime :D
You'll want to add tests, similar to the other services, please.
Sure thing
Added teams-do
deployment to the integration tests.
Intg tests will not pass because code from develop>v2.1 is required but tag 2.1 is used for these tests. We can wait until dev-cut, or fudge it with a develop tag in this branch? Not sure how this has been done in past releases.
Thanks @kevin-dimichel !
@swheaton - https://github.com/voxel51/fiftyone-teams-app-deploy/pull/220 will cause merge conflicts in this PR since the changes I made to the integration tests were also improved by @afoley587
Yes, I can help with merge conflicts!
thanks alex
Rationale
K8s/helm companion to https://github.com/voxel51/fiftyone-teams-app-deploy/pull/207 (docker)
As a new initiative we want users to be able to run delegated operations out of the box without airflow. These changes will allow users to configure X amount of workers which will pull delegated operations at a set interval and run them in the background in separate pods.
Changes
delegated-operator-executor-deployment.yaml
template (teams-do
) which is similar toteams-plugins
except has no exposed ports / service configurations, defaults to 0 replicas, runs an alternate entrypoint command, and sets theFIFTYONE_API_KEY
env var.secret.delegatedOperatorApiKey
secret to put admin API key for executing delegated operators withChecklist
Testing
helm template helm/fiftyone-teams-app s templates/delegated-operator-executor-deployment.yaml -f helm/fiftyone-teams-app/values.yaml -f stuart-ephem-values.yaml > teams-do.yaml
.teams-do.yaml
to containdelegatedOperatorApiKey
instead of pulling from the secrets resourceteams-do
deployment,ReplicaSet
andPod
s created successfully, queued delegated operation is successfully completed.TODO