创建集群
IAM授权
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"eks:CreateFargateProfile",
"eks:ListFargateProfiles",
"eks:DescribeFargateProfile",
"eks:TagResource",
"cloudformation:*",
"eks:DescribeCluster",
"eks:ListClusters",
"eks:CreateCluster"
],
"Resource": "*"
}
]
}
EKS集群创建完毕回收IMAFullAccess权限,高危权限
创建集群命令
eksctl create cluster --name pro-eks-1 \
--region ap-northeast-1 --version 1.29 \
--vpc-private-subnets subnet-0c4a19145xxxxxx,subnet-0271ee2bfxxxxxxx \
--without-nodegroup