quick-eve-19812
01/18/2023, 8:05 AMcloud-pricing-api@0.3.10 data:download
node dist/cmd/dataDownload.js
Copy code{ "level": 30, "time": 1674028217845, "pid": 62, "hostname": "cloud-pricing-api-init-job--1-j4j55", "msg": "Starting: downloading DB data" }
I think it has not set the right address for Infracost API but I cannot find any parameters in values.yaml I only set 3 parameters in values.yaml.Copy code{ "level": 50, "time": 1674028217846, "pid": 62, "hostname": "cloud-pricing-api-init-job--1-j4j55", "msg": "There was an error downloading data: connect ECONNREFUSED 127.0.0.1:80" }
infracostAPIKey : "ico-xxxxx" (value what i checked in infracost web page)
api.selfHostedInfracostAPIKey : "1234" (value what I decided)
job.infracostPricingAPIEndpoint: "cloud-pricing-api.finops.svc.cluster.loc"I have not found any way to fix it. Any assistance greatly appreciated. thanks.
mysterious-teacher-68276
01/18/2023, 10:10 AMcloud-pricing-api.finops.svc.cluster.loc
endpoint. Are you able to resolve this hostname in the cluster? There’s some useful debugging steps outlined here https://kubernetes.io/docs/tasks/administer-cluster/dns-debugging-resolution/ which can help verify if this endpoint is actually accessiblequick-eve-19812
01/18/2023, 10:14 AMmysterious-teacher-68276
01/18/2023, 10:19 AMquick-eve-19812
01/18/2023, 10:20 AMmysterious-teacher-68276
01/18/2023, 10:23 AMinfracostPricingAPIEndpoint
needs to be set to fetch data from our pricing api, i.e. https://pricing.api.infracost.ioquick-eve-19812
01/18/2023, 10:25 AMjob.infracostPricingAPIEndpoint
does not mean cloud-pricing-api that I installed?mysterious-teacher-68276
01/18/2023, 10:27 AMquick-eve-19812
01/18/2023, 10:28 AMmysterious-teacher-68276
01/18/2023, 10:29 AMjob.infracostPricingAPIEndpoint
quick-eve-19812
01/18/2023, 10:30 AMmysterious-teacher-68276
01/18/2023, 10:35 AMquick-eve-19812
01/18/2023, 10:39 AMmysterious-teacher-68276
01/18/2023, 10:41 AMquick-eve-19812
01/18/2023, 11:04 AM