faint-lion-81580
04/25/2023, 12:26 AM@kubernetes step failed to start with a 403 (GCS object forbidden). I ran the flow as a user that has permissions to assume the service account identity (and also tried the other method of using the key in metaflow_gsa_key_default.json). The permissions on the service account look correct. When I describe the pod, the service account listed is default. The gsa-metaflow-default service account shows up as default in cloud console. Any ideas on what else to try?victorious-lawyer-58417
04/25/2023, 5:01 AMvictorious-lawyer-58417
04/25/2023, 5:29 AMvictorious-lawyer-58417
04/25/2023, 5:29 AMgcloud auth application-default loginvictorious-lawyer-58417
04/25/2023, 5:31 AMgcloud storage ls <gs://your-bucket-name>
I wonder if it gives 403 too?faint-lion-81580
04/25/2023, 3:42 PMuser
04/25/2023, 10:18 PM--with=kubernetes)user
04/25/2023, 10:29 PM~/.metaflowconfig/config.json ?faint-lion-81580
04/25/2023, 11:16 PMfaint-lion-81580
04/25/2023, 11:18 PM{
"METAFLOW_DATASTORE_SYSROOT_GS": "<gs://storage>-[REDACTED]-metaflow-default/tf-full-stack-sysroot",
"METAFLOW_DEFAULT_DATASTORE": "gs",
"METAFLOW_DEFAULT_METADATA": "service",
"METAFLOW_SERVICE_INTERNAL_URL": "<http://metadata-service.default:8080/>",
"METAFLOW_SERVICE_URL": "<http://127.0.0.1:8080/>"
}
I'm using the port forwarding script that came with the GCP terraform templates.user
04/25/2023, 11:20 PMuser
04/25/2023, 11:20 PM"METAFLOW_KUBERNETES_NAMESPACE": "default",
"METAFLOW_KUBERNETES_SERVICE_ACCOUNT": "ksa-metaflow",faint-lion-81580
04/25/2023, 11:26 PMconfig.json from the gcp/terraform directory after running terraform. But I later ran metaflow configure. I wonder if it was overwritten/removed somehow.faint-lion-81580
04/25/2023, 11:28 PMksa-metaflow and the default namespace entry, what namespace/account would be used instead?faint-lion-81580
04/25/2023, 11:28 PMuser
04/25/2023, 11:30 PMdefault may already be used without the entry.user
04/25/2023, 11:30 PMksa-metaflow is key though.user
04/25/2023, 11:30 PMfaint-lion-81580
04/25/2023, 11:35 PMuser
04/25/2023, 11:36 PMfaint-lion-81580
04/25/2023, 11:37 PMfaint-lion-81580
05/02/2023, 9:10 PMmetaflow configure gcp with an existing config.json. First, it asked me if I wanted to edit an existing config. I said yes. Then, it asked about GCS bucket, metadata service and auth key. It did not prompt me about the kubernetes service account or namespace, and didn't ask about argo either. Those settings were then removed from config.json. Is this expected behavior?victorious-lawyer-58417
05/02/2023, 10:55 PMFinal note! Metaflow can scale your flows by executing your steps on Kubernetes.
You may use Google Kubernetes Engine (GKE) or a self-managed Kubernetes cluster on Google Compute Engine VMs. If/when your Kubernetes cluster is ready for use, please run 'metaflow configure kubernetes'.
in the end? It should have.
The idea is that you can optionally configure kubernetes separately, since you can use GCP locally without Kubernetes.faint-lion-81580
05/03/2023, 4:21 PMvictorious-lawyer-58417
05/03/2023, 4:28 PM