https://flyte.org logo
#ask-the-community
Title
# ask-the-community
a

Alexander Sarson

07/10/2023, 10:53 AM
Hi, I am trying to setup flyte-core with minio inside the cluster but i can't seem to get it to work. I get the following error: "Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))" when i am trying to run a workflow on the cluster. this is my connection setup. Can somebody spot what i am doing wrong?
Copy code
storage:
  # -- Sets the storage type. Supported values are sandbox, s3, gcs and custom.
  type: custom
  custom:
    type: minio
    container: flyte
    stow:
      kind: s3
      config:
        access_key_id: XXXX
        auth_type: accesskey
        secret_key: XXXX
        disable_ssl: true
        endpoint: <http://minio-hl.minio.svc.cluster.local:9000>
        region: us-east-1
y

Yee

07/10/2023, 7:39 PM
type: stow
at least that’s what i’m using
Copy code
storage:
  type: stow
  stow:
    kind: s3
    config:
      region: us-east-1
      disable_ssl: true
      v2_signing: true
      endpoint: <http://localhost:30002>
      auth_type: accesskey
      access_key_id: minio
      secret_key: miniostorage
this is what i use to develop locally against the flytectl demo installation (though i think region is not needed)
a

Alexander Sarson

07/11/2023, 8:36 AM
Thanks, i got it to work with this and ENV variables on the k8s plugin under configmap. but you can't remove region or it will fail
3 Views