c7n-configure
by Helm
Helm chartv2.9.0App 2.9
通过本chart可渲染猪齿鱼安装配置后进行手动部署
About this chart
猪齿鱼安装教程
前置要求
-
测试环境
操作系统 描述 CPU 内存 容量 数量 备注 CentOS 7.9 64 bit 猪齿鱼 kubernetes 集群 16 64GB 500G 1 -
生产环境
操作系统 描述 CPU 内存 容量(有共享存储) 容量(无共享存储) 数量 备注 CentOS 7.9 64 bit 猪齿鱼 kubernetes 集群 8 32G 100G 200G 2 CentOS 7.9 64 bit 猪齿鱼 kubernetes 集群 8 32G 100G 1TB 1 Minio存储 CentOS 7.9 64 bit 猪齿鱼 kubernetes 集群 16 32G 200G 300G 1 CI Job CentOS 7.9 64 bit 猪齿鱼Gitlab 8 16G 100G 500G 1 PostgreSQL 13 猪齿鱼Gitlab、Harbor数据库 4 8G 100G 100G 1 MySQL 5.7 猪齿鱼微服务数据库 4 8G 100G 100G 1 Redis 5 猪齿鱼微服务Redis 2 4G 100G 100G 2 共享存储 2TB 1 没有共享存储就使用本地存储 -
集群已安装完毕,未安装可参考 这里 进行安装
获取认证信息
- 联系
易大强或钟梓凌获取 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartc7n-configure is pinned at v2.9.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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