Hello, I am trying to configure Metaflow on Kubere...
# ask-metaflow
b
Hello, I am trying to configure Metaflow on Kuberenetes and reading up about the different environment variables that can be set in a ConfigMap. I have 2 questions: 1. I saw that the Datastore for metaflow can be S3 or local, for a local datastore, is it the
METAFLOW_DEFAULT_DATASTORE
which I should set to β€œlocal” or to a local path ? (For S3, I have understood it needs to be set to β€œs3") 2. For using an S3 Datastore, I would then set
METAFLOW_DEFAULT_DATASTORE
to S3,
METAFLOW_S3_ENDPOINT_URL
to my MinIO service endpoint, but do I still need to set other S3 variables such as
METAFLOW_DATASTORE_SYSROOT_S3
to a specific s3 bucket url? The fine-tuning of these env parameters is not very clear to me and any help would be much appreciated! thanks πŸ™‚
βœ… 1
c
a
yes you'd need
METAFLOW_DATASTORE_SYSROOT_S3
and
METAFLOW_DATATOOLS_S3ROOT
to be set to an s3 path
πŸ‘ 1
there is also this guide https://github.com/outerbounds/metaflow-with-airflow-minio written by @hallowed-glass-14538 you can refer to, just ignore airflow bits
πŸ‘ 1
s
@better-cat-13994 - these config variables need to be set on the user's workstation (their laptops) and not the kubernetes configmap
πŸ‘ 1
b
thank you all very much for your inputs ! πŸ€—