...
| Code Block | ||
|---|---|---|
| ||
# 安装IRSA export cluster_name=raymond export role_name=AmazonEKS_CW_CSI_DriverRole # 使用eksctl 创建 Amazon EFSCW CSI 插件 IAM 角色 eksctl create iamserviceaccount \ --name cloudwatch-agent \ --namespace amazon-cloudwatch \ --cluster $cluster_name \ --role-name $role_name \ --role-only \ --attach-policy-arn arn:aws:iam::aws:policy/CloudWatchAgentServerPolicy \ --approve |
...