https://infracost.io logo
b

brash-musician-72826

09/15/2022, 7:48 PM
Hi, I would like to know a bit more on the init container of your helm chart for self-hosting the pricing api. My understanding is that this init job is downloading the price and inject it in postgresql. Am I right?
c

crooked-daybreak-55253

09/15/2022, 8:18 PM
That’s correct, it corresponds to this command in the cloud_pricing_api which downloads the pricing data and loads it into postgres .
b

brash-musician-72826

09/15/2022, 8:19 PM
Thank you. And regarding the weekly update, this container will be restarted/re-created?
c

crooked-daybreak-55253

09/15/2022, 8:26 PM
I believe the init container goes away and this CronJob does the weekly update. (@little-author-61621 may correct me in the morning.)
b

brash-musician-72826

09/15/2022, 8:40 PM
Seems to make sense to me, thanks a lot! Have a nice day.