Kubernetes上分布式集群的MinIO错误



我尝试在Kubernetes上部署MinIO分布式集群,我在下面的链接中写了一个yaml文件,我从pod中得到了错误日志,你能检查我的yaml并支持我在Kubernetes上运行minio集群吗集群4副本,在minikube上运行请查看我的yaml文件https://github.com/muhammedomar32/yaml在这里输入链接描述

API: SYSTEM()
Time: 19:13:56 UTC 04/07/2023
Error: lookup minio-1.minio.minio.svc.cluster.local on 10.96.0.10:53: no such host
host=minio-1.minio.minio.svc.cluster.local, elapsedTime=1 minute elapsed
5: cmd/endpoint.go:396:cmd.Endpoints.UpdateIsLocal()
4: cmd/endpoint.go:580:cmd.CreateEndpoints()
3: cmd/endpoint-ellipses.go:351:cmd.createServerEndpoints()
2: cmd/server-main.go:133:cmd.serverHandleCmdArgs()
1: cmd/server-main.go:387:cmd.serverMain()
API: SYSTEM()
Time: 19:13:56 UTC 04/07/2023
Error: lookup minio-2.minio.minio.svc.cluster.local on 10.96.0.10:53: no such host
host=minio-2.minio.minio.svc.cluster.local, elapsedTime=1 minute elapsed
5: cmd/endpoint.go:396:cmd.Endpoints.UpdateIsLocal()
4: cmd/endpoint.go:580:cmd.CreateEndpoints()
3: cmd/endpoint-ellipses.go:351:cmd.createServerEndpoints()
2: cmd/server-main.go:133:cmd.serverHandleCmdArgs()
1: cmd/server-main.go:387:cmd.serverMain()
API: SYSTEM()
Time: 19:13:56 UTC 04/07/2023
Error: lookup minio-3.minio.minio.svc.cluster.local on 10.96.0.10:53: no such host
host=minio-3.minio.minio.svc.cluster.local, elapsedTime=1 minute elapsed
5: cmd/endpoint.go:396:cmd.Endpoints.UpdateIsLocal()
4: cmd/endpoint.go:580:cmd.CreateEndpoints()
3: cmd/endpoint-ellipses.go:351:cmd.createServerEndpoints()
2: cmd/server-main.go:133:cmd.serverHandleCmdArgs()
1: cmd/server-main.go:387:cmd.serverMain()
API: SYSTEM()
Time: 19:13:56 UTC 04/07/2023
Error: lookup minio-0.minio.minio.svc.cluster.local on 10.96.0.10:53: no such host
host=minio-0.minio.minio.svc.cluster.local, elapsedTime=1 minute elapsed
5: cmd/endpoint.go:396:cmd.Endpoints.UpdateIsLocal()
4: cmd/endpoint.go:580:cmd.CreateEndpoints()
3: cmd/endpoint-ellipses.go:351:cmd.createServerEndpoints()
2: cmd/server-main.go:133:cmd.serverHandleCmdArgs()
1: cmd/server-main.go:387:cmd.serverMain()

您的名称空间是什么?我认为你是在minio以外的命名空间上部署的。替换定义服务器中的名称空间:

...
image: minio/minio:RELEASE.2020-10-03T02-19-42Z
args:
- server
- http://minio-0.minio.<deployed_namespace>.svc.cluster.local/data
- http://minio-1.minio.<deployed_namespace>.svc.cluster.local/data
- http://minio-2.minio.<deployed_namespace>.svc.cluster.local/data
- http://minio-3.minio.<deployed_namespace>.svc.cluster.local/data
...
May I ask how the problem was resolved in the end? I also encountered this problem,and the prompt is as follows.
API: SYSTEM()
Time: 06:26:57 UTC 06/28/2023
Error: lookup minio-1.minio.minio.svc.cluster.local: i/o timeout (*net.DNSError)
host="minio-1.minio.minio.svc.cluster.local"
8: internal/logger/logonce.go:118:logger.(*logOnceType).logOnceIf()
7: internal/logger/logonce.go:149:logger.LogOnceIf()
6: cmd/endpoint.go:430:cmd.hostResolveToLocalhost()
5: cmd/endpoint.go:477:cmd.Endpoints.UpdateIsLocal()
4: cmd/endpoint.go:675:cmd.CreateEndpoints()
3: cmd/endpoint-ellipses.go:385:cmd.createServerEndpoints()
2: cmd/server-main.go:222:cmd.serverHandleCmdArgs()
1: cmd/server-main.go:531:cmd.serverMain()
API: SYSTEM()
Time: 06:27:02 UTC 06/28/2023
Error: lookup minio-2.minio.minio.svc.cluster.local: i/o timeout (*net.DNSError)
host="minio-2.minio.minio.svc.cluster.local"
8: internal/logger/logonce.go:118:logger.(*logOnceType).logOnceIf()
7: internal/logger/logonce.go:149:logger.LogOnceIf()
6: cmd/endpoint.go:430:cmd.hostResolveToLocalhost()
5: cmd/endpoint.go:477:cmd.Endpoints.UpdateIsLocal()
4: cmd/endpoint.go:675:cmd.CreateEndpoints()
3: cmd/endpoint-ellipses.go:385:cmd.createServerEndpoints()
2: cmd/server-main.go:222:cmd.serverHandleCmdArgs()
1: cmd/server-main.go:531:cmd.serverMain()
API: SYSTEM()
Time: 06:27:07 UTC 06/28/2023
Error: lookup minio-3.minio.minio.svc.cluster.local: i/o timeout (*net.DNSError)
host="minio-3.minio.minio.svc.cluster.local"
8: internal/logger/logonce.go:118:logger.(*logOnceType).logOnceIf()
7: internal/logger/logonce.go:149:logger.LogOnceIf()
6: cmd/endpoint.go:430:cmd.hostResolveToLocalhost()
5: cmd/endpoint.go:477:cmd.Endpoints.UpdateIsLocal()
4: cmd/endpoint.go:675:cmd.CreateEndpoints()
3: cmd/endpoint-ellipses.go:385:cmd.createServerEndpoints()
2: cmd/server-main.go:222:cmd.serverHandleCmdArgs()
1: cmd/server-main.go:531:cmd.serverMain()

相关内容

  • 没有找到相关文章

最新更新