Mark Fickett
08/16/2022, 5:07 PMalex
08/16/2022, 5:15 PMLike if I had a Kubernetes agent running and specified a multiprocessing executor on the job, that would be nonsensical.Having a K8s agent means that the
user code servers
managed by the agent are k8s deployments, and likely that each run is its own k8s job.
Using the multiprocess executor here makes sense - the pod created for the run job would create sub processes in that container for each op.Mark Fickett
08/16/2022, 5:21 PMalex
08/16/2022, 5:28 PMI’m having trouble following things like: with Kubernetes, will 1 job run on one pod (what you described), or use 1 ephemeral pod per step within the job (k8s_job_executor’s description)?This is configurable per job, by setting the
executor_def
on the job. So by default you get an executor that can toggle between in process
and multiproces
via config but in your case youll want to set it to k8s_job_executor
to achieve your desired EKS/fargate step per k8s pod set-upMark Fickett
08/16/2022, 5:38 PMOren Lederman
08/16/2022, 5:41 PMMark Fickett
08/16/2022, 5:42 PMalex
08/16/2022, 6:10 PMa k8s agent and an ECS agent?the k8s agent summons containers by interacting with k8s cluster, using k8s primitives (Deployment, Job, etc) the ECS agent summons containers by interacting with AWS, using AWS ECS primitives (Task, etc)