-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Tencent S3 Compatible Support Docs #3115
Conversation
Signed-off-by: jokeyli <[email protected]>
25748d3
to
22cc9d9
Compare
Signed-off-by: jokeyli <[email protected]>
673ad5f
to
ceb8f23
Compare
Signed-off-by: jokeyli <[email protected]>
Signed-off-by: jokeyli <[email protected]>
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.
Thanks for the documentation @imjokey! This is great! I have a few suggested changes.
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.
I went through and added some wording suggestions based on the Velero style guide, https://velero.io/docs/v1.5/style-guide/.
--- | ||
|
||
|
||
You can deploy Velero on Tencent [TKE](https://console.cloud.tencent.com/tke2/) , or even on any other Kubernetes cluster, but anyway you can use Tencent Cloud Object Store as a destination for Velero’s backups. |
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.
suggestion: "You can deploy Velero on Tencent TKE, or an other Kubernetes cluster, and use Tencent Cloud Object Store as a destination for Velero’s backups."
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.
thank u, I will fixed it.
|
||
- Registered [Tencent Cloud Account](https://cloud.tencent.com/register). | ||
- Tencent Cloud COS service, referred to as COS, has been launched. | ||
- A Kubernetes cluster has been created, cluster version v1.10 or later, and the cluster can use DNS and Internet services normally. If you need to create a TKE cluster, Please refer to [Create a cluster](https://cloud.tencent.com/document/product/457/32189). |
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.
suggestion: "If you need to create a TKE cluster, refer to the Tencent create a cluster documentation."
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.
thank u, I will fixed it.
|
||
## Create a Tencent cloud COS bucket | ||
|
||
Create an object bucket for Velero to store backups in the Tencent Cloud COS console. About how to create a bucket, please refer to Tencent Cloud COS [Create a bucket](https://cloud.tencent.com/document/product/436/13309) usage instructions. |
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.
suggestion to replace "About how to create.." with "For how to create..."
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.
thank u, I will fixed it.
|
||
Create an object bucket for Velero to store backups in the Tencent Cloud COS console. About how to create a bucket, please refer to Tencent Cloud COS [Create a bucket](https://cloud.tencent.com/document/product/436/13309) usage instructions. | ||
|
||
Set access to the bucket through the object storage console, the bucket needs to be **read** and **written**, so the account is granted data reading, data writing permissions, About how to configure See [Permission Access Settings](https://cloud.tencent.com/document/product/436/13315.E5.8D.95.E4.B8.AA.E6.8E.88.E6.9D.83). |
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.
"Set access to the bucket through the object storage console, the bucket needs to be read and written, so the account is granted data reading, data writing permissions. For how to configure, see the permission access settings Tencent user instructions."
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.
thank u, I will fixed it.
|
||
## Get bucket access credentials | ||
|
||
Velero uses an AWS S3-compatible API to access Tencent Cloud COS storage, which requires authentication using a pair of access key IDs and key-created signatures, and in the S3 API parameter, the "access_key_id" field is the access key ID and the "secret_access_key" field is the key. |
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.
Maybe make this two sentences, "Velero uses an AWS S3-compatible API to access Tencent Cloud COS storage, which requires authentication using a pair of access key IDs and key-created signatures. In the S3 API parameter, the "access_key_id" field is the access key ID and the "secret_access_key" field is the key. "
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.
thank u, I will fixed it.
|
||
{{< figure src="https://main.qcloudimg.com/raw/e932223585c0b19891cc085ad7f438e1.png" width="100%">}} | ||
|
||
With Velero Backup, you can back up all objects in the cluster directly, or filter objects by type, namespace, and/or label, and in this example I use the following command to back up only all resources under the 'default' namespace: |
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.
Suggestion - "With Velero Backup, you can back up all objects in the cluster directly, or filter objects by type, namespace, and/or label. This example uses the following command to back up all resources under the 'default' namespace."
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.
thank u, I will fixed it.
{{< figure src="https://main.qcloudimg.com/raw/eb2bbabae48b188748f5278bedf177f1.png" width="100%">}} | ||
|
||
|
||
At this point we delete all of minio's resources, including its PVC persistence volume, as shown below: |
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.
suggestion - "At this point delete all of MinIO's resources, including its PVC persistence volume, as shown below:"
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.
thank u, I will fixed it.
|
||
{{< figure src="https://main.qcloudimg.com/raw/15ccaacf00640a04ae29ceed4c86195b.png" width="100%">}} | ||
|
||
After deleting the minio resource, we can test using the previous backup to restore the deleted minio resource, and temporarily update the backup storage location to read-only mode (this prevents the backup object from being created or deleted in the backup storage location during the restore process): |
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.
suggestion - "After deleting the MinIO resource, use your backup to restore the deleted MinIO resource, and temporarily update the backup storage location to read-only mode (this prevents the backup object from being created or deleted in the backup storage location during the restore process):"
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.
thank u, I will fixed it.
|
||
``` | ||
|
||
Modifying access to velero's storage location is "ReadOnly," as shown in the following image: |
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.
need to capitalize Velero here
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.
thank u, I will fixed it.
|
||
In the cluster, use the helm tool to create a minio test service with a persistent volume, and the minio installation method can be found in the [minio installation](https://github.com/minio/charts), in which case I have bound a load balancer for the minio service to access the management page using a public address in the browser. | ||
|
||
{{< figure src="https://main.qcloudimg.com/raw/f0fff5228527edc72d6e71a50d5dc966.png" width="100%">}} |
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.
Can you add these images to the velero repo?
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.
Thank you, but I have the following confusion:
- Which directory should I put the picture in? /docs/main/img?
- Since I need to customize the width of the picture, I use figure shortcodde, the local link makes it impossible for me to get to src. I don't know how to fix it.
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.
I have been solved the second confusion,thank u very much.
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.
I also create a directory "contributions/img-for-tencent" for put the images to solve the first confusion.
f5b4d3f
to
5194ea2
Compare
Signed-off-by: jokeyli <[email protected]>
5194ea2
to
62544f2
Compare
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 lgtm 👍
We are getting some CHMOD warnings from the Hugo server output, I'm investigating.
Weird. I was getting one of these for each of the new images:
but moved some stuff around and these messages stopped. |
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 👍
* Tencent S3 Compatible Surpport Docs Signed-off-by: jokeyli <[email protected]> * fixed typos & and CHANGELOG log Signed-off-by: jokeyli <[email protected]> * add changelog Signed-off-by: jokeyli <[email protected]> * add changelog Signed-off-by: jokeyli <[email protected]> * fixed suggestions Signed-off-by: jokeyli <[email protected]>
* Tencent S3 Compatible Surpport Docs Signed-off-by: jokeyli <[email protected]> * fixed typos & and CHANGELOG log Signed-off-by: jokeyli <[email protected]> * add changelog Signed-off-by: jokeyli <[email protected]> * add changelog Signed-off-by: jokeyli <[email protected]> * fixed suggestions Signed-off-by: jokeyli <[email protected]>
* Tencent S3 Compatible Surpport Docs Signed-off-by: jokeyli <[email protected]> * fixed typos & and CHANGELOG log Signed-off-by: jokeyli <[email protected]> * add changelog Signed-off-by: jokeyli <[email protected]> * add changelog Signed-off-by: jokeyli <[email protected]> * fixed suggestions Signed-off-by: jokeyli <[email protected]>
* Tencent S3 Compatible Surpport Docs Signed-off-by: jokeyli <[email protected]> * fixed typos & and CHANGELOG log Signed-off-by: jokeyli <[email protected]> * add changelog Signed-off-by: jokeyli <[email protected]> * add changelog Signed-off-by: jokeyli <[email protected]> * fixed suggestions Signed-off-by: jokeyli <[email protected]>
* Tencent S3 Compatible Surpport Docs Signed-off-by: jokeyli <[email protected]> * fixed typos & and CHANGELOG log Signed-off-by: jokeyli <[email protected]> * add changelog Signed-off-by: jokeyli <[email protected]> * add changelog Signed-off-by: jokeyli <[email protected]> * fixed suggestions Signed-off-by: jokeyli <[email protected]>
* Tencent S3 Compatible Surpport Docs Signed-off-by: jokeyli <[email protected]> * fixed typos & and CHANGELOG log Signed-off-by: jokeyli <[email protected]> * add changelog Signed-off-by: jokeyli <[email protected]> * add changelog Signed-off-by: jokeyli <[email protected]> * fixed suggestions Signed-off-by: jokeyli <[email protected]>
Add Tencent Cloud S3-Compatible object store providers Support Docs