acme_fitness_demo icon indicating copy to clipboard operation
acme_fitness_demo copied to clipboard

Cart - scaling/recreation of the pod resets the cart state

Open guyshalev-beep opened this issue 3 years ago • 0 comments

I'm using the Kubernetes version, running on GKE. Issue - when scaling the cart pod (cart-total.yaml) the cart details and state are deleted. To reproduce:

  1. login as a user
  2. add an item to cart
  3. scale cart deployment (or remove it and create again)
  4. the cart is now empty.

Since the cart redis is implemented separately from the cart service, the expected result will be to keep the users' cart state.

Cheers.

guyshalev-beep avatar Nov 16 '21 07:11 guyshalev-beep