Skip to content

Conversation

linhdangduy
Copy link
Contributor

@linhdangduy linhdangduy commented Aug 29, 2025

What this PR does:

  • Create mount point for local kind cluster, and use it for mysql, minio, cache deployment in kind cluster.
  • Local data will be stored at repository folder .pipecd-data/

Why we need it:

Every time I execute make stop/pipecd, I also lost all the data that I have "worked hard" to create on my local pipecd server, then I have to create them all over again on next pipecd run. The root cause is: the mysql, minio, cache storage deployments got restart, and their data also lost.

This PR is for mounting the local volume to storage data in kind cluster, so the data will be kept even when the mysql, minio, cache storage deployments are shut down. So when developer execute make stop/pipecd, or make kind-down or even restart her computer, she would still have all data available when he restart the local pipecd server.

Which issue(s) this PR fixes:

Solve Item 3 in #6152

Does this PR introduce a user-facing change?:

  • How are users affected by this change: No
  • Is this breaking change: No
  • How to migrate (if breaking change):

Signed-off-by: Dan <dangduylinh.bk@gmail.com>
@linhdangduy linhdangduy changed the title Keep local storage data by mounting to local volumes Keep local storage data even when developer shut down pipecd or kind on local computer Aug 29, 2025
@linhdangduy linhdangduy changed the title Keep local storage data even when developer shut down pipecd or kind on local computer Keep pipecd server data even when developer shut down pipecd or kind on local computer Aug 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant