busy-refrigerator-990101/03/2023, 3:49 PM
. I'm trying to mount it in a service
Deployment/contact-api-pod: Error: failed to start container "contact-api-pod": Error response from daemon: error while creating mount source path '/host/.aws': mkdir /host: file exists
and I'm running
services: - name: contact-api-pod ... volumes: - name: aws hostPath: /host/.aws containerPath: /root/.aws
locally to add the local file to minikube locally. Am I missing something? Thanks in advance!
minikube mount $HOME:/host
quaint-dress-83101/05/2023, 3:24 AM
busy-refrigerator-990101/05/2023, 2:47 PM
, but if I don't do it I can't access that file inside the container. Am I missing some other way of sharing a local file into the container? Sorry I'm a bit new to kube!
quaint-dress-83101/05/2023, 2:51 PM
file with say the word, "monkeys", and specify that hostPath then exec into the service with
is there no
garden exec contact-api-pod bash
file with the word monkeys in there?
busy-refrigerator-990101/05/2023, 3:45 PM
, creating an .aws file in my local (and renaming my folder), and running garden dev again, but I don't see the file in the container, I see the previous files/folder before my change (but config and credentials are empty folder there instead of files that where on my local machine). It seems like it's not updating the container/image with the new garden dev? Also is hostPath referring to minikube? How can it update it/mount it if my local file is not mounted to minikube? (I might be missing something, as I'm not very familiar with minikube/kube though!)
garden delete env
quaint-dress-83101/09/2023, 3:17 PM