You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on the fix for #2290 I tried it again, but found an other issue.
The Jobs started from MinIOJob are trying to access the wrong endpoint:
The error message of the Pod is: mc: <ERROR> Unable to make bucket 'myminio/dev'. Put "http://minio.dev.svc.cluster.local/dev/": dial tcp: lookup minio.dev.svc.cluster.local on 10.96.0.10:53: no such host
The Tenant is in namespace minio-tenant. The used endpoint should be minio.minio-tenant.svc.cluster.local
The Job startet from MinIOJob using the service endpoint in Tenant namespace from spec.tenant.namespace
Current Behavior
The Jobs are trying to use the service endpoint in MinIOJob namespace and failing to connect. mc: <ERROR> Unable to make bucket myminio/dev. Put "http://minio.dev.svc.cluster.local/dev/": dial tcp: lookup minio.dev.svc.cluster.local on 10.96.0.10:53: no such host
Operating System and version (uname -a): Linux storebot 6.6.0-odroid-arm64 #1 SMP PREEMPT Wed, 08 May 2024 07:36:13 +0000 aarch64 aarch64 aarch64 GNU/Linux
The text was updated successfully, but these errors were encountered:
I want to run a MinIOJob to create users and buckets in a different namespace than Tenant.
I followed documentation https://github.com/minio/operator/blob/master/docs/minio-job.md for creating resources
and https://min.io/docs/minio/kubernetes/upstream/developers/sts-for-operator.html to configure it for cross namespace.
access with mc works without any issues.
Based on the fix for #2290 I tried it again, but found an other issue.
The Jobs started from MinIOJob are trying to access the wrong endpoint:
The error message of the Pod is:
mc: <ERROR> Unable to make bucket 'myminio/dev'. Put "http://minio.dev.svc.cluster.local/dev/": dial tcp: lookup minio.dev.svc.cluster.local on 10.96.0.10:53: no such host
The Tenant is in namespace
minio-tenant
. The used endpoint should beminio.minio-tenant.svc.cluster.local
The configuration is the same as in #2290:
namespace minio-tenant
namespace dev (using minio-tenant)
Expected Behavior
The Job startet from MinIOJob using the service endpoint in Tenant namespace from
spec.tenant.namespace
Current Behavior
The Jobs are trying to use the service endpoint in MinIOJob namespace and failing to connect.
mc: <ERROR> Unable to make bucket
myminio/dev. Put "http://minio.dev.svc.cluster.local/dev/": dial tcp: lookup minio.dev.svc.cluster.local on 10.96.0.10:53: no such host
Steps to Reproduce (for bugs)
Apply provided config to 2 namespaces.
Your Environment
kubectl apply -k https://github.com/minio/operator?ref=v6.0.3
uname -a
):Linux storebot 6.6.0-odroid-arm64 #1 SMP PREEMPT Wed, 08 May 2024 07:36:13 +0000 aarch64 aarch64 aarch64 GNU/Linux
The text was updated successfully, but these errors were encountered: