Archie Kennedy
12/13/2022, 10:07 AMdaniel
12/13/2022, 12:58 PMArchie Kennedy
12/13/2022, 1:22 PMlocation_name: my_pipeline
image: ************.<http://dkr.ecr.us-east-1.amazonaws.com/my-pipeline:staging|dkr.ecr.us-east-1.amazonaws.com/my-pipeline:staging>
code_source:
package_name: my_pipeline
container_context:
k8s:
env_secrets:
- my-pipeline-aws-access-key
env_vars:
- AWS_ACCESS_KEY_ID=****************
- DATABASE_HOST=**********
resources:
requests:
cpu: 250m
memory: 1024Mi
The problem is start-up times for each op are very slow.Archie Kennedy
12/13/2022, 1:24 PMeach op in its own kubernetes podThat sounds like the issue, ideally each job would be in it's own pod
Archie Kennedy
12/13/2022, 1:50 PMdaniel
12/13/2022, 2:35 PMdaniel
12/13/2022, 2:36 PMArchie Kennedy
12/13/2022, 3:20 PM[CloudK8sRunLauncher] Creating Kubernetes run worker job
Kubernetes Job name
dagster-run-64f20da2-2c40-4367-a3ce-864ae1f4a7a4
Kubernetes Namespace
dagster-cloud
Run ID
64f20da2-2c40-4367-a3ce-864ae1f4a7a4
That takes about 2 minutes on production and about 44 seconds on my local machinedaniel
12/13/2022, 3:21 PMdaniel
12/13/2022, 3:21 PMArchie Kennedy
12/13/2022, 3:22 PMdaniel
12/13/2022, 3:23 PMArchie Kennedy
12/13/2022, 3:25 PMArchie Kennedy
12/13/2022, 3:26 PMdaniel
12/13/2022, 3:26 PMArchie Kennedy
12/13/2022, 3:27 PMdaniel
12/13/2022, 3:28 PMArchie Kennedy
12/13/2022, 3:30 PMArchie Kennedy
12/13/2022, 3:31 PM