Emulate Google Cloud Storage in local/dev kubernetes cluster

3/21/2019

I’m working on an application that will use Google Cloud Storage to save files and I was wondering: what’s the best way to emulate it for development?

The application will run on kubernetes, and I was planning to run a development environment on my machine using Minikube (or similar). I know I can set up a different storage for development purposes but I was wondering if there was a way to avoid charges and most important to be able to work offline.

Thanks in advance

-- teone
development-environment
emulation
google-cloud-storage
kubernetes

2 Answers

2/17/2020

There is another alternative since a few days: https://pypi.org/project/gcloud-storage-emulator/

Although it is still in its early fase, it could be a viable alternative when using python.

-- Nebulastic
Source: StackOverflow

3/21/2019

You could leverage free trial for GCP, which gives you $300 of credit for start.

Alternatively you could use in memory emulator - This is just available with the java library only.

-- MWZ
Source: StackOverflow