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

Add serivce account requirement for tiflash pod while restore #2651

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions en/grant-permissions-to-remote-storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ When you use this method to grant permissions, you can [create the EKS cluster](

Modify the value of `spec.tikv.serviceAccount` to `tidb-backup-manager`. After the TiKV Pod is restarted, check whether the Pod's `serviceAccountName` is changed.

If there are any Tiflash nodes, associate the `ServiceAccount` with it with the same method.
RidRisR marked this conversation as resolved.
Show resolved Hide resolved

> **Note:**
>
> `arn:aws:iam::123456789012:role/user` is the IAM role created in Step 2.
Expand Down
2 changes: 2 additions & 0 deletions zh/grant-permissions-to-remote-storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ kubectl create secret generic s3-secret --from-literal=access_key=xxx --from-lit

将 `spec.tikv.serviceAccount` 修改为 tidb-backup-manager,等到 TiKV Pod 重启后,查看 Pod 的 `serviceAccountName` 是否有变化。

如果存在TiFlash节点,也需要给予TiFlash对应的授权,步骤同上。
RidRisR marked this conversation as resolved.
Show resolved Hide resolved

> **注意:**
>
> `arn:aws:iam::123456789012:role/user` 为步骤 2 中创建的 IAM 角色。
Expand Down