Have a dockerized python script and using docker-compose for local development. Need to move it to GKE but unsure about which GCP services can be used for its persistent volume.
# docker-compose.yaml
version: "3"
services:
python-obj-01:
image: python-obj
build:
context: .
dockerfile: dockerfile
container_name: python-obj-01
volumes:
- ./data/inputs:/home/appuser/data/inputs
- ./data/outputs:/home/appuser/data/outputs
- ./data/model:/home/appuser/data/obj_detection
There are 3 mount points from my local machine:
- ./data/input : Reads and process the input data
- ./data/output: Writes the results
- ./data/model : Reads the models of input data
In the python script, it will glob to find files from ./data/inputs, processes them, create sub-directory and files in ./data/output.
Besides Cloud Filestore, can Cloud Storage bucket able to fulfill the requirements? or other GCP services?