1Panel-dev / 1Panel-dev/1Panel

[Feature] Expect to be able to complete the master/slave node switch within the 1Panel application.

Open
#11,734 1 comment 0 reactions 1 assignee View on GitHub

@wanghe-fit2cloud is already working on this.

Since Jan 28, 2026.

type: feature-request
Dominant language
Go
Stars
37k
Forks
3.4k
Avg merge
9h 16m
Merged PRs (30d)
105

Description

1Panel Version

v2.0.17

Please describe your needs or suggestions for improvements

进行主从节点切换时,目前需要通过 1panel-migrator 文件来执行命令。
期望后续可以将相关操作封装成可视化视窗,在 1Panel 内部完成切换。

可以进一步考虑主从切换的高级选项,

  • 主从互换模式:选中目标节点并选择该模式,则目标点升级为主节点,原主节点降级为从节点并受管于新的主节点;
  • 主节点切换模式:选中目标节点并选择该模式,则目标点升级为主节点,原主节点恢复不受管的状态。
Please describe the solution you suggest

No response

Additional Information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.