Skip to content

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

Open
@guyshalev-beep

Description

@guyshalev-beep

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions