-
Notifications
You must be signed in to change notification settings - Fork 0
Installation zh CN
v1 的 Helm 还固定 RollingUpdate 参数 maxSurge: 0 和 maxUnavailable: 1,
避免新旧 Pod 重叠产生付费 AWS 请求。替换 Pod 启动、刷新仅内存 Cache 并 Ready
之前会出现临时指标中断。执行 helm upgrade 前先用新 Binary 校验当前配置;如果
Readiness 无法恢复则执行 helm rollback。单副本不提供零停机升级模式。
从 GitHub Release v1.0.0 下载归档和 checksum。Release 包含 Linux、Windows、macOS 的 amd64/arm64 归档、SPDX JSON SBOM 和 checksums.txt。
git clone https://github.com/Sakuya1998/aws-cost-exporter.git
cd aws-cost-exporter
git checkout v1.0.0
make build
./aws-cost-exporter --versiondocker pull ghcr.io/sakuya1998/aws-cost-exporter:1.0.0
docker compose up --build只读挂载 AWS shared configuration,或者注入凭证源所引用的环境变量。不要把真实凭证构建进镜像。
helm install aws-cost-exporter \
oci://ghcr.io/sakuya1998/charts/aws-cost-exporter \
--version 1.0.0 \
--set config.data.targets[0].account_id=444455556666使用 config.secretEnvRefs 引用已有 Secret,使用 awsSharedConfig.existingSecret 挂载 AWS Profile 文件。Chart 默认并要求优先保持 replicaCount: 1。
镜像和 Helm Chart 由 tag 触发的 Release workflow 进行 keyless 签名。请使用 v1.0.0 验证记录中的精确 identity、issuer 和 digest。需要不可变部署时固定已验证 digest。
AWS Cost Exporter current stable v1.0.0 · Source repository · Generated from docs/wiki on master; do not edit the published Wiki directly. / 当前稳定版 v1.0.0;文档由 master 分支的 docs/wiki 自动生成,请勿直接编辑已发布 Wiki。