There is an application in DockerHub and the working directory is ENTRYPOINT /home/django/start.sh
I want to add a persistent volume for /home/django foler but when I add it, it can't find start.sh in the logs of the pod. How should I integrate this. I am adding the lines I added to the following kubernetes deployment file.
volumeMounts:
- name: django-persistent-storage
mountPath: /home/django/
volumes:
- name: django-persistent-storage
persistentVolumeClaim:
claimName: django-pv-claim
Logs:
Error: failed to create containerd task: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/home/django/start.sh": stat /home/django/start.sh: no such file or directory: unknown
This side is not very clear to me. I would like to know exactly what I'm missing. And how can I move the app to persistent volume?