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

Troubleshoot: Common way of operation and maintenance. #387

Open
runkecheng opened this issue Feb 17, 2022 · 3 comments · Fixed by #414
Open

Troubleshoot: Common way of operation and maintenance. #387

runkecheng opened this issue Feb 17, 2022 · 3 comments · Fixed by #414
Assignees
Labels
FAQ question Further information is requested Troubleshoot
Milestone

Comments

@runkecheng
Copy link
Collaborator

runkecheng commented Feb 17, 2022

General Question

Change the replicas

The following example changes replicas to 2.

kubectl patch mysql sample -p '{"spec":{"replicas":2}}' --type=merge

Close the cluster (change the replicas to 0) will not delete the PVC.
The replicas can only be 0/2/3/5.

常用运维操作

更改节点数

以下示例将名为 sample 的集群节点数更改为2。

kubectl patch mysql sample -p '{"spec":{"replicas":2}}' --type=merge

关闭集群(更改节点数为0)不会删除pvc。
节点数只能为0/2/3/5。

@runkecheng runkecheng added the question Further information is requested label Feb 17, 2022
@runkecheng runkecheng added this to the Next milestone Feb 17, 2022
@andyli029
Copy link
Contributor

ACK.

@andyli029
Copy link
Contributor

andyli029 commented Mar 12, 2022

@andyli029 andyli029 added the FAQ label Mar 16, 2022
@andyli029 andyli029 changed the title Common way of operation and maintenance. FAQ: Common way of operation and maintenance. Mar 16, 2022
@andyli029 andyli029 changed the title FAQ: Common way of operation and maintenance. Troubleshoot: Common way of operation and maintenance. Mar 16, 2022
andyli029 added a commit to andyli029/radondb-mysql-kubernetes that referenced this issue Mar 16, 2022
@andyli029
Copy link
Contributor

@GuishengZhou

andyli029 added a commit that referenced this issue Mar 17, 2022
@andyli029 andyli029 reopened this Mar 17, 2022
zhl003 pushed a commit to zhl003/radondb-mysql-kubernetes that referenced this issue Aug 17, 2022
zhl003 pushed a commit to zhl003/radondb-mysql-kubernetes that referenced this issue Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FAQ question Further information is requested Troubleshoot
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants