minio

云原生minio约 141 字小于 1 分钟

部署

github/bitnamiopen in new window

拉取 charts

helm pull  oci://registry-1.docker.io/bitnamicharts/minio --version 12.10.4

解压

tar -zxvf minio-12.10.4.tgz 

配置

更多配置参考 charts内的 values 或官方文档说明

cat <<EOF > minio-values.yaml
global:
  imageRegistry: ""
mode: standalone
auth:
  rootUser: admin
  rootPassword: "Password@0101"
service:
  type: ClusterIP
  ports:
    api: 9000
    console: 9001
ingress:
  enabled: true
  hostname: minio.zili.work
  path: /
  pathType: ImplementationSpecific
  servicePort: minio-console
  annotations:
    kubernetes.io/ingress.class: nginx
    nginx.ingress.kubernetes.io/proxy-body-size: "0"
apiIngress:
  enabled: true
  hostname: minio-api.zili.work
  path: /
  pathType: ImplementationSpecific
  servicePort: minio-api
  annotations:
    kubernetes.io/ingress.class: nginx
    nginx.ingress.kubernetes.io/proxy-body-size: "0"
    nginx.ingress.kubernetes.io/enable-cors: "true"
persistence:
  enabled: true
  accessModes:
    - ReadWriteOnce
  size: 10Gi
EOF

安装

helm upgrade --install minio . -f minio-values.yaml -n middleware --create-namespace