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

SKS-3327: Improve root partition expanding commands in preKubeadmCommands #192

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

huaqing1994
Copy link
Contributor

ticket

[SKS-3327] 原地更新 - ARM的集群,磁盘扩容,原地更新失败 - Jira
#191 只修改了 playbook,在创建节点时指定大于模板大小的磁盘还需执行 preKubeadmCommands 中的命令。

changes

  • 优化 templates/cluster-template.yaml 中 preKubeadmCommands 提示的扩容分区命令,适配更多不同的操作系统

test

  • 手动测试命令:
    image
  • 创建磁盘大于模板的节点成功:
image

@huaqing1994 huaqing1994 merged commit 67706ef into master Jan 3, 2025
1 check passed
@huaqing1994 huaqing1994 deleted the huaqing/expand-disk-oe branch January 3, 2025 06:23
@haijianyang
Copy link
Contributor

也可以考虑把脚本做成可配置化。

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

Successfully merging this pull request may close these issues.

2 participants