Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we achieve this using deployment instead of statefulset? #10

Open
raghav-nayak opened this issue Jul 25, 2024 · 0 comments
Open

Can we achieve this using deployment instead of statefulset? #10

raghav-nayak opened this issue Jul 25, 2024 · 0 comments

Comments

@raghav-nayak
Copy link

raghav-nayak commented Jul 25, 2024

Hello DKron team,

I have two questions.

1. using deployment instead of statefulset
In this helm charts, statefulset(sts) is used for server node deployment of the application. Can we use "Deployment" for this?

The reason for asking this is each STS pod/instance needs a separate PVC. This works fine. Reducing the number of replicas in a StatefulSet can lead to unused PVCs, as each StatefulSet Pod is associated with a unique PVC. If a Pod is scaled down or removed, its corresponding PVC remains, which can result in unused but potentially important data being left behind.

2. rolling update
Currently I see the pod is recreated instead of rolling updated. This results in downtime. Can rolling update be a solution here?

-- Raghav

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant