Closed Hejle closed 8 months ago
The manual loading definitely should not be required as according to the minicube docs, it uses docker-env by default
https://minikube.sigs.k8s.io/docs/handbook/pushing/
Are you certain you used IfNotPresent? That's the error I would expect to see if it was set to Always
Can you also try Never?
You could try to run this before aspirate in the same terminal / PowerShell window
minikube docker-env | Invoke-Expression
Thank you for the quick reply.
Setting it to Never
instead of IfNotPresent
, did not fix it.
However running minikube docker-env | Invoke-Expression
did fix it.
Now the images being built by aspirate generate
is not added to my local Docker Desktop Images, but directly into minikubes docker instance.
Anyway it works for me and i can now continue playing around with kubernetes, aspire and aspirate. Thanks for the help, and thanks for the tool! :)
Yw 😃 thanks a lot Glad it's working for you!
🔥 Bug Description
When running aspirate apply, it adds the images to the local Docker Desktop Images and creates everything "correctly" in minikube. However, it seems like Minikube can't reach the images in the local Docker Desktop Images. This is the error-message i get from minikube (seen through lens).
🔍 Steps to Reproduce the Bug
Setup minikube
Setup Aspire Project
Generate
Apply
Check status in k8
🧯 Possible Solution
I have used this to get my apps deployed. (https://github.com/kubernetes/minikube/issues/18021#issuecomment-1953589210)