https://infracost.io logo
#help
Title
# help
m

mammoth-microphone-92343

01/12/2023, 12:14 PM
• I am deploying on minikube cluster • Deployment using yaml manifests • valid infracost API key • valid self-hosted API key
@here kindly help
b

busy-agent-35515

01/12/2023, 12:54 PM
Hello! Hm, looks like the file was not properly downloaded. I've just tried to update the db locally, and it worked okay, without kube though.
Have you retried, does it happen every time? My first guess to check if there is enough space for the pod to download the file
Current archive size would be 316MB, and unzip - 2.3GB
m

mammoth-microphone-92343

01/12/2023, 1:50 PM
Hello Vadim, I tried and retried several times now, but no luck. Do you want me to share the POD manifest ?
yes, and it is happening everytime now
The init job takes about 25 mins to complete so to wait and see it fail is super frsutrating
b

busy-agent-35515

01/12/2023, 1:52 PM
Oh, maybe it times out and doesn't finish the download
It needs to download 316MB
Is your internet speed fast?
It's strange that it takes 25min
m

mammoth-microphone-92343

01/12/2023, 3:36 PM
Yes, the internet connection is fine. Everytime the successful deployment used 25 mins on the init-job
How can reach to the error which is restricting the csv download
what path does the products.csv.gz gets inflated and saved to ?
b

busy-agent-35515

01/12/2023, 4:00 PM
It should live in
./data/products/products.csv.gz
You can provide
LOG_LEVEL=debug
env var or
job.logLevel
for helm chart to see more details, for example, the download URL
I see the file on your screenshot, if you could run
ls -al data/products
we would see the size of the archive
m

mammoth-microphone-92343

01/12/2023, 4:54 PM
I’ve deleted that deployment, and starting fresh again.
b

busy-agent-35515

01/12/2023, 5:31 PM
Hm. Looks like 100mb
ls -halp
would show in mbs, but yeah, looks like it doesn’t download the full file
m

mammoth-microphone-92343

01/12/2023, 5:39 PM
@busy-agent-35515 really appreciate you sticking with me here, but am short of avenues to troubleshoot 😄
b

busy-agent-35515

01/12/2023, 5:41 PM
Of course 🙂 Sorry I'm not much of a help yet, I wonder why it's that slow and still fails to finish the download
I'm not sure the file is complete. When I downloaded it, it was 316MB for me, but it is 185 for your
If it's incomplete, then it won't be able to be unarchived
What are your minikube settings? How many cpus/memory does it have?
Ah, okay, so we get the full file. That's good
Okay, can you try to
gunzip
it?
Let's see if we can manually uncompress it
m

mammoth-microphone-92343

01/12/2023, 5:51 PM
would it work on failed POD as well ?? I purposely did not exit out of the container shell, and executed gunzip now, but either its stuck or its running the process
b

busy-agent-35515

01/12/2023, 5:52 PM
Hm
Huh, so it's slow, but working
m

mammoth-microphone-92343

01/12/2023, 5:57 PM
so the pod errors out before the download and uncompress ??
b

busy-agent-35515

01/12/2023, 5:58 PM
How do you install the app? Are you using our helm chart?
m

mammoth-microphone-92343

01/12/2023, 5:58 PM
Nope, yaml manifests
my manager wants to avoid helm
b

busy-agent-35515

01/12/2023, 5:58 PM
I see, may I ask why? 🙂
m

mammoth-microphone-92343

01/12/2023, 5:59 PM
hahaha he is just not a helm fan
b

busy-agent-35515

01/12/2023, 5:59 PM
Okay, got it 🙂
m

mammoth-microphone-92343

01/12/2023, 5:59 PM
so no helming across the project
b

busy-agent-35515

01/12/2023, 6:00 PM
Okay, then yeah, if possible, could you please share your manifest? Maybe there are clues there 🙂
m

mammoth-microphone-92343

01/12/2023, 6:00 PM
sure
b

busy-agent-35515

01/12/2023, 6:00 PM
You can use a DM to not share it here, if you want 🙂
7 Views