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

PVC request resize use size without SI suffix #1395

Open
jkrajniak opened this issue Apr 12, 2024 · 2 comments
Open

PVC request resize use size without SI suffix #1395

jkrajniak opened this issue Apr 12, 2024 · 2 comments

Comments

@jkrajniak
Copy link

I have used a recent version of the operator from master. The change of the requested size is read without SI suffix. So, the change from 300Gi -> 350Gi results in some strange storage request size of 350.
image

This is confirmed, using value in bytes correctly resize the volume (without data lost).

Originally posted by @jkrajniak in #1263 (comment)

@alex-zaitsev
Copy link
Member

@jkrajniak , we use Si-suffixed PVCs everywhere, including oci Kubernetes. I wonder how did you change the PVC?

@jkrajniak
Copy link
Author

jkrajniak commented Apr 24, 2024

@jkrajniak , we use Si-suffixed PVCs everywhere, including oci Kubernetes. I wonder how did you change the PVC?

So the first deployment of the cluster with Si-suffixes works correctly. Only when I tried to resize (fortunately on my some dev cluster instance) with the value also with suffix, this failes. I have k8s version: v1.22.5;
I haven't check in general how the OCI cluster in this version behaves for other PVC during the resize - maybe that's not the issue with Clickhouse operator but rather with the OCI K8s.

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

2 participants