thankful-father-61351
05/30/2023, 1:10 PMvictorious-lawyer-58417
05/30/2023, 4:02 PMvictorious-lawyer-58417
05/30/2023, 4:03 PM@batch and @kubernetes in a single flow if you do that πthankful-father-61351
05/30/2023, 7:10 PMfast-pizza-24629
05/30/2023, 7:39 PMvictorious-lawyer-58417
05/30/2023, 10:10 PMMETAFLOW_PROFILE)
If you use our Terraform to deploy the EKS cluster, it should work out of the box. No need to install anything else.victorious-lawyer-58417
05/30/2023, 10:15 PMvictorious-lawyer-58417
05/30/2023, 10:26 PMvictorious-lawyer-58417
05/31/2023, 4:18 PMthankful-father-61351
05/31/2023, 5:16 PMaverage-beach-28850
05/31/2023, 5:28 PMflow.py run --with kubernetes) it uses your kubeconfig just like any other kubernetes tool would. So as a rule of thumb,
β’ make sure you have a valid kubeconfig and things like kubectl work
β’ make sure that this config has credentials that have permissions to manage pod and Job objects in the cluster (i can give you a more specific list of permissions)
That will allow metaflow to launch tasks in the cluster. Beyond that, the tasks need to be able to connect to metadata service networking wise, and obtain AWS credentials access S3.
β’ Networking depends on your setup. If metadata service is only accessible on a private IP, you'd need to make sure that security groups / vpc connections are in place. If its accessible on a public IP with auth, you should be good as long as outbound connections from the pods are allowed.
β’ For aws credentials, there are multiple options in EKS. One option is making sure pods can use node IAM role, and that role has permissions for S3. More advanced but more secure way is to set up IRSA. After configuring IRSA, you just need to set Service Account name in metaflow config.thankful-father-61351
05/31/2023, 9:57 PM