Skip to content

Global variables not consistent when using mockoon-cli that's deployed on GCP #1610

Answered by 255kb
titibudala asked this question in Help
Discussion options

You must be logged in to vote

I just tested with a deployment on our cloud (https://mockoon.com/cloud/) and it's working correctly. We are hosting on GCP but with more traditional VMs on Compute Engine (also due to the stateful nature of the mocks we only deploy one instance of each).
Cloud it be that the k8s cluster load balances multiple instances?
I'm not a k8s specialist but I would recommend that the setup targets only one running instance (no up/down scaling or load balancing). This is what we are doing with the playground (https://playground.mockoon.com) using Cloud Run. Up scaling is kind of ok with sticky sessions, bu downscaling or load balancing without sticky session wouldn't work.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@titibudala
Comment options

@255kb
Comment options

Answer selected by titibudala
@titibudala
Comment options

@titibudala
Comment options

@255kb
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants