c7n-configure

by Helm

Helm chartv2.9.0App 2.9

通过本chart可渲染猪齿鱼安装配置后进行手动部署

About this chart

猪齿鱼安装教程

前置要求

  • 测试环境

    操作系统描述CPU内存容量数量备注
    CentOS 7.9 64 bit猪齿鱼 kubernetes 集群1664GB500G1
  • 生产环境

    操作系统描述CPU内存容量(有共享存储)容量(无共享存储)数量备注
    CentOS 7.9 64 bit猪齿鱼 kubernetes 集群832G100G200G2
    CentOS 7.9 64 bit猪齿鱼 kubernetes 集群832G100G1TB1Minio存储
    CentOS 7.9 64 bit猪齿鱼 kubernetes 集群1632G200G300G1CI Job
    CentOS 7.9 64 bit猪齿鱼Gitlab816G100G500G1
    PostgreSQL 13猪齿鱼Gitlab、Harbor数据库48G100G100G1
    MySQL 5.7猪齿鱼微服务数据库48G100G100G1
    Redis 5猪齿鱼微服务Redis24G100G100G2
    共享存储2TB1没有共享存储就使用本地存储
  • 集群已安装完毕,未安装可参考 这里 进行安装

获取认证信息

  • 联系 易大强 或 钟梓凌 获取 helm chart 地址等认证信息

安装猪齿鱼

  • 安装 Helm

    wget https://mirrors.huaweicloud.com/helm/v3.12.3/helm-v3.12.3-linux-amd64.tar.gz
    tar zxvf helm-v3.12.3-linux-amd64.tar.gz
    mv linux-amd64/helm /usr/bin/helm
    
    helm version
    version.BuildInfo{Version:"v3.12.3", GitCommit:"7ceeda6c585217a19a1131663d8cd1f7d641b2a7", GitTreeState:"clean", GoVersion:"go1.17.5"}
    
  • 编辑变量文件 values.yaml,按文件内容提示进行替换

  • 渲染配置文件

    helm repo add yq-devops	http://chart.choerodon.com.cn/hand-yanqianyun/yq-devops
    helm template yq-devops/c7n-configure -f values.yaml --output-dir .
    
  • 执行安装

    cd c7n-configure/templates
    sed -i '1,3d' install.yaml
    sed -i 's/^[\t ]*//g' install.yaml
    # 可按该yaml文件中执行的命令手动执行命令
    bash install.yaml
    

Deploy c7n-configure with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has c7n-configure on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartc7n-configure is pinned at v2.9.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply