mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-15 14:26:57 +00:00
Automatic merge from submit-queue (batch tested with PRs 66172, 66254). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Reverting commit #56600 as GCE PD is allocated in chunks of GiB inste… **What this PR does / why we need it:** This PR reverts the changes made in commit https://github.com/kubernetes/kubernetes/pull/56600 which considered GCE PDs are allocated in chunks of GBs. The following set of operations demonstrate the allocation is in GiBs. Manually create a PD in GB, and manually attach it to a node: ``` $ gcloud compute disks create msau-test --zone=us-central1-b --size=1GB ``` Run lsblk on it, and it shows the bytes of the disk are 1GiB: ``` $ lsblk -b sdc 8:32 0 1073741824 0 disk ``` **Which issue(s) this PR fixes**: [65285](https://github.com/kubernetes/kubernetes/issues/65285) **Special notes for your reviewer**: ```release-note none ```