我想在我的 minikube (v0.28.0) 上运行minio resize功能。我安装了 kubekess (v0.6.0) 并使用此版本提供的 yaml 文件 (kafka-zookeeper-v0.6.0.yaml) 部署了 kafka。
我按照这些步骤安装了 minio 。我还 mc 并在 .minio/config.json 中启用了 kafka,一切似乎都正确部署了。
$ kubectl get services
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
broker ClusterIP None <none> 9092/TCP 2d
kafka ClusterIP 10.98.179.36 <none> 9092/TCP 2d
kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 6d
minio ClusterIP None <none> 9000/TCP 3d
minio-public ClusterIP 10.101.140.13 <none> 9000/TCP 3d
zoo ClusterIP None <none> 9092/TCP,3888/TCP 2d
zookeeper ClusterIP 10.107.189.185 <none> 2181/TCP 2d
$ kubectl get pods
NAME READY STATUS RESTARTS AGE
hello-696b7f4964-894d5 1/1 Running 2 4d
kafka-0 1/1 Running 3 2d
minio-0 1/1 Running 1 3d
minio-1 1/1 Running 1 3d
minio-2 1/1 Running 1 3d
minio-3 1/1 Running 1 3d
zoo-0 1/1 Running 1 2d
$ kubectl get deployments
NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
kafka-trigger-controller 1 0 0 0 2d
但是我无法将事件添加到我的本地 minio。这是错误。
$ mc events add localminio/foobar arn:minio:sqs:us-east-1:1:kafka --events put
mc: <ERROR> Cannot enable notification on the specified bucket. A specified destination ARN does not exist or is not well-formed. Verify the destination ARN.