Skip to content

Commit

Permalink
update iam policy spec for ebs-csi-driver in node group
Browse files Browse the repository at this point in the history
  • Loading branch information
xjiaqing authored and ti-chi-bot committed Jan 22, 2024
1 parent 61d50aa commit e1ba904
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 2 deletions.
22 changes: 21 additions & 1 deletion en/deploy-on-aws-eks.md
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,9 @@ The following `c5d.4xlarge` example shows how to configure StorageClass for the
dedicated: tikv
taints:
dedicated: tikv:NoSchedule
iam:
withAddonPolicies:
ebs: true
...
```

Expand Down Expand Up @@ -602,6 +605,9 @@ In the configuration file of eksctl (`cluster.yaml`), add the following two item
dedicated: tiflash
taints:
dedicated: tiflash:NoSchedule
iam:
withAddonPolicies:
ebs: true
- name: tiflash-1d
desiredCapacity: 1
privateNetworking: true
Expand All @@ -610,6 +616,9 @@ In the configuration file of eksctl (`cluster.yaml`), add the following two item
dedicated: tiflash
taints:
dedicated: tiflash:NoSchedule
iam:
withAddonPolicies:
ebs: true
- name: tiflash-1c
desiredCapacity: 1
privateNetworking: true
Expand All @@ -618,7 +627,9 @@ In the configuration file of eksctl (`cluster.yaml`), add the following two item
dedicated: tiflash
taints:
dedicated: tiflash:NoSchedule

iam:
withAddonPolicies:
ebs: true
- name: ticdc-1a
desiredCapacity: 1
privateNetworking: true
Expand All @@ -627,6 +638,9 @@ In the configuration file of eksctl (`cluster.yaml`), add the following two item
dedicated: ticdc
taints:
dedicated: ticdc:NoSchedule
iam:
withAddonPolicies:
ebs: true
- name: ticdc-1d
desiredCapacity: 1
privateNetworking: true
Expand All @@ -635,6 +649,9 @@ In the configuration file of eksctl (`cluster.yaml`), add the following two item
dedicated: ticdc
taints:
dedicated: ticdc:NoSchedule
iam:
withAddonPolicies:
ebs: true
- name: ticdc-1c
desiredCapacity: 1
privateNetworking: true
Expand All @@ -643,6 +660,9 @@ In the configuration file of eksctl (`cluster.yaml`), add the following two item
dedicated: ticdc
taints:
dedicated: ticdc:NoSchedule
iam:
withAddonPolicies:
ebs: true
```
Depending on the EKS cluster status, use different commands:
Expand Down
22 changes: 21 additions & 1 deletion zh/deploy-on-aws-eks.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,9 @@ mountOptions:
dedicated: tikv
taints:
dedicated: tikv:NoSchedule
iam:
withAddonPolicies:
ebs: true
...
```

Expand Down Expand Up @@ -584,6 +587,9 @@ eksctl scale nodegroup --cluster ${clusterName} --name tikv-1d --nodes 2 --nodes
dedicated: tiflash
taints:
dedicated: tiflash:NoSchedule
iam:
withAddonPolicies:
ebs: true
- name: tiflash-1d
desiredCapacity: 1
privateNetworking: true
Expand All @@ -592,6 +598,9 @@ eksctl scale nodegroup --cluster ${clusterName} --name tikv-1d --nodes 2 --nodes
dedicated: tiflash
taints:
dedicated: tiflash:NoSchedule
iam:
withAddonPolicies:
ebs: true
- name: tiflash-1c
desiredCapacity: 1
privateNetworking: true
Expand All @@ -600,7 +609,9 @@ eksctl scale nodegroup --cluster ${clusterName} --name tikv-1d --nodes 2 --nodes
dedicated: tiflash
taints:
dedicated: tiflash:NoSchedule

iam:
withAddonPolicies:
ebs: true
- name: ticdc-1a
desiredCapacity: 1
privateNetworking: true
Expand All @@ -609,6 +620,9 @@ eksctl scale nodegroup --cluster ${clusterName} --name tikv-1d --nodes 2 --nodes
dedicated: ticdc
taints:
dedicated: ticdc:NoSchedule
iam:
withAddonPolicies:
ebs: true
- name: ticdc-1d
desiredCapacity: 1
privateNetworking: true
Expand All @@ -617,6 +631,9 @@ eksctl scale nodegroup --cluster ${clusterName} --name tikv-1d --nodes 2 --nodes
dedicated: ticdc
taints:
dedicated: ticdc:NoSchedule
iam:
withAddonPolicies:
ebs: true
- name: ticdc-1c
desiredCapacity: 1
privateNetworking: true
Expand All @@ -625,6 +642,9 @@ eksctl scale nodegroup --cluster ${clusterName} --name tikv-1d --nodes 2 --nodes
dedicated: ticdc
taints:
dedicated: ticdc:NoSchedule
iam:
withAddonPolicies:
ebs: true
```
具体命令根据 EKS 集群创建情况而定:
Expand Down

0 comments on commit e1ba904

Please sign in to comment.