创建EKS Cluster的笔记

这篇博客详细记录了如何使用eksctl工具创建EKS集群,并遵循官方文档启用IAM角色,设置集群自动扩缩容以及安装配置Flux进行持续部署的过程。
摘要由CSDN通过智能技术生成

1. 首先准备好配置cluster的yaml文件,然后运行eksctl create cluster -f xxx.yaml

eksctl create cluster -f airlfow-eks-cluster.yaml 
2021-05-28 16:58:28 [ℹ]  eksctl version 0.49.0
2021-05-28 16:58:28 [ℹ]  using region ap-southeast-2
2021-05-28 16:58:29 [✔]  using existing VPC (vpc-066d3172d72904477) and subnets (private:map[ap-southeast-2b:{subnet-0be49cf5afa5e642d ap-southeast-2b 10.61.145.0/24} ap-southeast-2c:{subnet-0807604d22ab8b320 ap-southeast-2c 10.61.146.0/24}] public:map[ap-southeast-2b:{subnet-0e2b5e3453041892c ap-southeast-2b 10.61.149.0/24} ap-southeast-2c:{subnet-0746394b082454a57 ap-southeast-2c 10.61.148.0/24}])
2021-05-28 16:58:29 [!]  custom VPC/subnets will be used; if resulting cluster doesn't function as expected, make sure to review the configuration of VPC/subnets
2021-05-28 16:58:29 [ℹ]  using EC2 key pair "airflow-worker-empower"
2021-05-28 16:58:29 [ℹ]  using EC2 key pair "airflow-worker-empower"
2021-05-28 16:58:29 [ℹ]  using Kubernetes version 1.19
2021-05-28 16:58:29 [ℹ]  creating EKS cluster "airflow-eks-cluster" in "ap-southeast-2" region with managed nodes
2021-05-28 16:58:29 [ℹ]  2 nodegroups (managed-ng-preprocess-task, managed-ng-preprocess-web) were included (based on the include/exclude rules)
2021-05-28 16:58:29 [ℹ]  will create a CloudFormation stack for cluster itself and 0 nodegroup stack(s)
2021-05-28 16:58:29 [ℹ]  will create a CloudFormation stack for cluster itself and 2 managed nodegroup stack(s)
2021-05-28 16:58:29 [ℹ]  if you encounter any issues, check CloudFormation console or try 'eksctl utils describe-stacks --region=ap-southeast-2 --cluster=airflow-eks-cluster'
2021-05-28 16:58:29 [ℹ]  CloudWatch logging will not be enabled for cluster "airflow-eks-cluster" in "ap-southeast-2"
2021-05-28 16:58:29 [ℹ]  you can enable it with 'eksctl utils update-cluster-logging --enable-types={SPECIFY-YOUR-LOG-TYPES-HERE (e.g. all)} --region=ap-southeast-2 --cluster=airflow-eks-cluster'
2021-05-28 16:58:29 [ℹ]  Kubernetes API endpoint access will use default of {publicAccess=true, privateAccess=false} for cluster "airflow-eks-cluster" in "ap-southeast-2"
2021-05-28 16:58:29 [ℹ]  2 sequential tasks: { create cluster control plane "airflow-eks-cluster", 3 sequential sub-tasks: { wait for control plane to become ready, create addons, 2 parallel sub-tasks: { create managed nodegroup "managed-ng-preprocess-web", create managed nodegroup "managed-ng-preprocess-task" } } }
2021-05-28 16:58:29 [ℹ]  building cluster stack "eksctl-airflow-eks-cluster-cluster"
2021-05-28 16:58:29 [ℹ]  deploying stack "eksctl-airflow-eks-cluster-cluster"
2021-05-28 16:58:59 [ℹ]  waiting for CloudFormation stack "eksctl-airflow-eks-cluster-cluster"
2021-05-28 16:59:29 [ℹ]  waiting for CloudFormation stack "eksctl-airflow-eks-cluster-cluster"
2021-05-28 17:00:30 [ℹ]  waiting for CloudFormation stack "eksctl-airflow-eks-cluster-cluster"
2021-05-28 17:01:31 [ℹ]  waiting for CloudFormation stack "eksctl-airflow-eks-cluster-cluster"
2021-05-28 17:02:31 [ℹ]  waiting for CloudFormation stack "eksctl-airflow-eks-cluster-cluster"
2021-05-28 17:03:31 [ℹ]  waiting for CloudFormation stack "eksctl-airflow-eks-cluster-cluster"
2021-05-28 17:04:31 [ℹ]  waiting for CloudFormation stack "eksctl-airflow-eks-cluster-cluster"
2021-05-28 17:05:31 [ℹ]  waiting 
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值