Keep state between k8s deployments

Hello everyone can someone please help me try to understand what is going on with this repo? CLUSTER_API I am trying to keep the state between deployments but when a apply a new image to my k8s file de state is not being sent to the new nodes and I just dont get why or how am I suposse to achieve this.