静态网页模板简约seo新人培训班
背景
部分服务使用docker-compose单节点编排,其中对象存储服务使用minio,在minio中配置了aksk后报错
Error: IAM sub-system is partially initialized, unable to write the IAM forma
解决
minio如果配置了aksk等iam类的配置则需要持久化存储到etcd
在minio的部署文件中新增etcd配置。
etcd:image: bitnami/etcd:3.5.18container_name: etcdenvironment:ALLOW_NONE_AUTHENTICATION: yesETCD_ADVERTISE_CLIENT_URLS: http://etcd:2379ETCD_LISTEN_CLIENT_URLS: http://0.0.0.0:2379ports:- "2379:2379"networks:- net1volumes:- /data/etcd:/bitnami/etcdminio:image: minio/miniocontainer_name: miniocommand: server /data --console-address :9001hostname: miniorestart: alwaysenvironment:MINIO_ROOT_USER: adminMINIO_ROOT_PASSWORD: admin123MINIO_IAM_STORAGE_BACKEND: etcdMINIO_ETCD_ENDPOINTS: http://etcd:2379volumes:- /data/minio:/dataports:- "9000:9000"- "9001:9001"networks:- net1
reference
https://github.com/minio/minio/blob/master/docs/sts/etcd.md