average-painter-87026
06/14/2023, 6:35 PMgarden --env=remote plugins kubernetes cluster-init
, I see it creates the garden-system
resources on the cluster, but the garden-docker-registry
pod is pending. Looking into it, it appears a PVC its using (garden-docker-registry
) is also pending, with the following event:
0/4 nodes are available: 4 pod has unbound immediate PersistentVolumeClaims. preemption: 0/4 nodes are available: 4 Preemption is not helpful for scheduling.
I don't see anything in the guide about setting up persistent volumes. Do I need to do something get this pvc to work?quaint-dress-831
06/15/2023, 9:55 AMget
your pv
pvc
and storageclass
, and make sure they're available.average-painter-87026
06/28/2023, 4:23 PMgarden-system/garden-docker-registry
PVC bound itself to it
https://cdn.discordapp.com/attachments/1118609692751564860/1123649968100606063/remote-garden-build-pv.yamlcluster-buildkit
, and the build seems to work but there are issues now when it tries to push the built image to it's local registry.
The garden build <service>
logs are showing 500 Internal Server Error
when pushing the image, and I see similar error in garden-buildkit
pod. I've attached both.
The garden-docker-registry
pod (in default
namespace) is logging this error: filesystem: mkdir /var/lib/registry/docker: permission denied
. I've attached those logs as well.
It seems like the garden-docker-registry service isn't able to write to that hostPath persistentVolume (in previous post), even though it has RWO access modes? I've tried using /tmp/garden-build
for the hostPath of the PV, but still getting the permission issue so I'm not totally sure. Do you have any ideas what I should be doing here? Thank you
https://cdn.discordapp.com/attachments/1118609692751564860/1123651419216556122/garden-build-service.log
https://cdn.discordapp.com/attachments/1118609692751564860/1123651419522736279/garden-docker-registry.log
https://cdn.discordapp.com/attachments/1118609692751564860/1123651419866681454/garden-buildkit.logquaint-dress-831
06/29/2023, 2:24 PM