Skip to content

Update MC-Cost-Optimizer Docker images to version 0.6.3 - #188

Merged
MZC-CSC merged 11 commits into
m-cmp:mainfrom
ddihn:main
Aug 3, 2026
Merged

Update MC-Cost-Optimizer Docker images to version 0.6.3#188
MZC-CSC merged 11 commits into
m-cmp:mainfrom
ddihn:main

Conversation

@ddihn

@ddihn ddihn commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

No description provided.

ddihn and others added 11 commits July 29, 2026 10:28
Added environment variables for OPENBAO configuration and S3 region.
Removed timezone setting for the mc-cost-optimizer service.
Added timezone setting for containers in docker-compose.
BE now needs to call azure-vm-rightsizer, ncp-vm-rightsizer, and
gcpCollector directly for on-demand batch triggers, but only
costcollector/costprocessor/costselector URLs were wired.

- add MC_COST_OPTIMIZER_AZURE_RIGHTSIZER_URL / NCP_RIGHTSIZER_URL
- fix MC_COST_OPTIMIZER_COST_GCP_COLLECTOR_URL hostname (pointed at
  mc-cost-optimizer-cost-gcp-collector, a container that doesn't
  exist; the real service is mc-cost-optimizer-gcp-collector)
- wire all three into mc-cost-optimizer-be's environment
latest currently resolves to 12.3.2 anyway (same digest, verified via
docker pull), so this only removes the drift risk on future redeploys -
no behavior change today.
…alarm URLs

- costopti.azurecollector.url / costopti.ncpcollector.url: BE needs
  these to trigger Azure/NCP budget checks on demand, only
  azurerightsizer/ncprightsizer/gcpcollector were wired.
- ALARM_SERVICE: costCollector's application.properties expects this
  env var (costopti.alarmservice.url=${ALARM_SERVICE:alarm_service})
  but it was never set here, so AWS budget alarms failed with
  "URI is not absolute" trying to reach the literal string
  "alarm_service" instead of a real URL.

Both env vars (MC_COST_OPTIMIZER_COST_AZURE_COLLECTOR_URL,
MC_COST_OPTIMIZER_COST_NCP_COLLECTOR_URL, MC_COST_OPTIMIZER_ALARM_URL)
already existed in .env.setup - just weren't wired into these services.
@MZC-CSC MZC-CSC changed the title Update Docker images to version 0.6.3 Update MC-Cost-Optimizer Docker images to version 0.6.3 Aug 3, 2026
@MZC-CSC
MZC-CSC merged commit 3cd7346 into m-cmp:main Aug 3, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants