k8s部署minio

https://choerodon.io/zh/docs/installation-configuration/steps/install/parts/base/minio/

添加choerodon chart仓库并同步

helm repo add c7n https://openchart.choerodon.com.cn/choerodon/c7n/
helm repo update

部署Minio

  • 若需了解项目详情及各项参数含义,请移步 helm/charts/minio。

  • 编写参数配置文件 minio.yaml

    mode: distributed
    accessKey: "AKIAIOSFODNN7EXAMPLE"
    secretKey: "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"
    persistence:
      enabled: true
      storageClass: nfs-provisioner
    ingress:
      enabled: true
      path: /
      hosts:
      - minio.a.b.com.cn(`域名`)
    
    
  • 执行安装

    helm upgrade --install minio(`pod名称`) c7n/minio \
        -f minio.yaml \
        --create-namespace \
        --version 5.0.5 \
        --namespace dev(`命名空间`)
    
    
  • 配置host(自己电脑,笔记本

172.11.1.85 minio.a.b.com.cn

验证部署

  • 访问设置的域名出现以下界面即部署成功


    image.png

也可以配置host(自己电脑,笔记本

mode: distributed
accessKey: "AKIAIOSFODNN7EXAMPLE"
secretKey: "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"
persistence:
  enabled: true
  storageClass: nfs-provisioner
service:
  type: NodePort

你可能感兴趣的:(k8s部署minio)