zoukankan      html  css  js  c++  java
  • k8s helm 私服chartmuseum minio s3 存储配置

    1. 安装minio
    使用docker 安装
    参考项目
    https://github.com/rongfengliang/mino-thumbor-openresty
    
    备注: 因为是一个集成项目可能会有点复杂使用了docker-compsoe 以及图片缩略图
    2. 配置
    a. 配置s3 
    
    mkdir -p ~/.aws
    
    touch credentials
    
    [default]
    aws_access_key_id = 7V9OLKA3W322WMJIE09R
    aws_secret_access_key = gvNkB10T1xcINQsBmsX1CbGjmfuQ5vv/L4Vo8o6H
    
    备注:以上为我本机环境
    
    
    b. 配置使用minio s3 存储
    
    chartmuseum --debug --port=8089 
      --storage="amazon" 
      --storage-amazon-bucket="helm" 
      --storage-amazon-prefix="" 
      --storage-amazon-region="eu-west-1" 
      --storage-amazon-endpoint="http://127.0.0.1:9091" 
    
    c. 发布资源
    
    helm repo add chartmuseum http://localhost:8089
    helm push gateway/ chartmuseum
    
    参考项目:
    
    https://github.com/rongfengliang/helm-demo
    参考界面
    3. 参考资料
    https://github.com/rongfengliang/helm-demo
    https://github.com/rongfengliang/mino-thumbor-openresty
    https://github.com/kubernetes-helm/chartmuseum
  • 相关阅读:
    再见 2020, 愿“山河无恙,人间皆安”| 年终总结
    Oracle
    Linux安装
    线程池
    AutoJS
    VSCode
    c++ 解析yaml文件
    管道: 哪些命令能直接从管道的输出中读取?
    K8S 集群部署
    Android项目实战(六十一):pdf文件用图片方式预览
  • 原文地址:https://www.cnblogs.com/rongfengliang/p/8862728.html
Copyright © 2011-2022 走看看