-
Notifications
You must be signed in to change notification settings - Fork 498
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
Polish documents #213
Polish documents #213
Conversation
e3cdb3d
to
ba3cff5
Compare
Lgtm |
docs/google-kubernetes-tutorial.md
Outdated
When the TiDB cluster is not needed, you can delete with the following command: | ||
|
||
helm delete tidb --purge && | ||
kubectl delete |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what the kubectl delete
mean?
docs/google-kubernetes-tutorial.md
Outdated
When the TiDB cluster is not needed, you can delete with the following command: | ||
|
||
helm delete tidb --purge && | ||
kubectl delete |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what the kubectl delete
mean?
docs/google-kubernetes-tutorial.md
Outdated
When the TiDB cluster is not needed, you can delete with the following command: | ||
|
||
helm delete tidb --purge && | ||
kubectl delete |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is this line means?
docs/google-kubernetes-tutorial.md
Outdated
@@ -154,6 +154,18 @@ Now the number of TiKV pods is increased from the default 3 to 5. You can check | |||
|
|||
kubectl get po -n tidb | |||
|
|||
## Destroy the TiDB cluster | |||
|
|||
When the TiDB cluster is not needed, you can delete with the following command: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When the TiDB cluster is not needed, you can delete with the following command: | |
When the TiDB cluster is not needed, you can delete it with the following commands: |
docs/google-kubernetes-tutorial.md
Outdated
helm delete tidb --purge && | ||
kubectl delete | ||
|
||
The above commands only delete the running pods, the data is persistent. If you do not need the data anymore, you should run the following command to clean the data and the dynamically created persistent disks: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The above commands only delete the running pods, the data is persistent. If you do not need the data anymore, you should run the following command to clean the data and the dynamically created persistent disks: | |
The above commands only delete the running pods, the data is persistent. If you do not need the data anymore, you should run the following commands to clean the data and the dynamically created persistent disks: |
|
||
The above commands only delete the running pods, the data is persistent. If you do not need the data anymore, you should run the following command to clean the data and the dynamically created persistent disks: | ||
|
||
kubectl delete pvc -n tidb -l app.kubernetes.io/instance=tidb,app.kubernetes.io/managed-by=tidb-operator && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a dangerous operation, give user a warning?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since it's just a tutorial, and the statement above the command already said it will clean the data and persistent disks. So not a big problem I think.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR polishes the documents: