K8s cannot upgrade TiKV because: TiKV is resizing volumes

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: k8s can not upgrade tikv because: tikv is resizing volumes

| username: songxuecheng

k8s upgrade tidb, pd, tidb upgrade successful

tikv unresponsive

Check tidb-controller-manager-5b48f4b988-b6khm

k8s version: 1.18.19
tidb version: 5.2.1 → 5.4.1

Checked the source code

【 TiDB Usage Environment】Production environment or Test environment or POC
【 TiDB Version】
【Encountered Problem】
【Reproduction Path】What operations were performed that caused the problem
【Problem Phenomenon and Impact】

【Attachments】

Please provide the version information of each component, such as cdc/tikv, which can be obtained by executing cdc version/tikv-server --version.

| username: 小王同学Plus | Original post link

Hello, has the issue been resolved?

pvc_resizer.go:430] PVC tidb-test/pd-tidb-pd-0 for tidb-test/tidb:pd is resizing. The upgrade failed because the expansion operation has not been completed. Please resolve the expansion issue first.
Local disks cannot be expanded, so you need to revert the storage changes. Additionally, could you provide the TiDB Operator version and the TC yaml?

| username: songxuecheng | Original post link

The issue has been resolved. It was a problem with version 1.3.6, where resizing would be checked during the upgrade. The underlying expansion has already been completed.

| username: songxuecheng | Original post link

This topic was automatically closed 1 minute after the last reply. No new replies are allowed.