ancient-balloon-31496
08/24/2023, 2:02 PMstorage:
metadataContainer: my-s3-bucket
userDataContainer: my-s3-bucket
provider: s3
providerConfig:
s3:
disableSSL: true
v2Signing: true
endpoint: <http://minio.flyte.svc.cluster.local:9000>
authType: accesskey
accessKey: minio
secretKey: miniostorage
the error is:
HTTPConnectionPool(host='minio.flyte.svc.cluster.local', port=9000): Max retries exceeded with url: /my-s3-bucket/flytesnacks/development/7OSB6SPSGTXJALEHAXOWIZSNSI%3D%3D%3D%3D%3D%3D/script_mode.tar.gz?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=minio%2F20230824%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230824T135828Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=content-md5%3Bhost&X-Amz-Signature=d6a717a64a40e76cd1a77c8e434dbe7d5f5d5e3048ebef3ebd2ef1554a72b1c4 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f66e019af20>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
I tried it as well with the actual ip, because this hints to a dns problem. It then results in Connection to <ip> timed out. (connect timeout=None)
any hints ? thanks in advance 🙂freezing-airport-6809
ancient-balloon-31496
08/24/2023, 2:13 PMfreezing-airport-6809
ancient-balloon-31496
08/24/2023, 2:18 PMancient-balloon-31496
08/24/2023, 2:23 PMaverage-finland-92144
08/24/2023, 3:18 PMvalues
file:
inline:
plugins:
k8s:
inject-finalizer: true
default-env-vars:
- FLYTE_AWS_ENDPOINT: "<http://minio.flyte.svc.cluster.local:9000>"
- FLYTE_AWS_ACCESS_KEY_ID: "your-access-key-id"
- FLYTE_AWS_SECRET_ACCESS_KEY: "your-secret-access-key"
ancient-balloon-31496
08/24/2023, 7:25 PMflyte-binary
chart, correct ?average-finland-92144
08/24/2023, 8:08 PMancient-balloon-31496
08/25/2023, 9:46 AMaverage-finland-92144
08/25/2023, 3:34 PMpyflyte run
from your laptop? does the minio.flyte.svc.cluster.local
name is resolvable from your machine?ancient-balloon-31496
08/29/2023, 11:40 AMaverage-finland-92144
08/29/2023, 4:09 PMpyflyte
uploads the code to blob storage using a signed URL. And both the flyte Pod and pyflyte
need to access blob storage using the same URL which is probably fine for the Pod since it uses service discovery but not for the CLI if your OS cannot resolve
This guide covers the process of deploying flyte-binary
to a "local" or let's say "unmanaged" Kubernetes environment. It could be usefulancient-balloon-31496
08/30/2023, 7:40 AMflyte-the-hard-way
😄, I like it.