I want to create cluster in AWS EKS consists with one node enable with GPU and another one without GPU. So I have crated config file and ran with eksctl.
apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig
metadata:
name: basic-cluster
region: us-east-1
nodeGroups:
- name: ng-cpu
instanceType: c5.4xlarge
desiredCapacity: 1
- name: ng-gpu
instanceType: p3.2xlarge
desiredCapacity: 1
But is always fails with following error.
2022-04-20 03:51:15 [✖] unexpected status "CREATE_IN_PROGRESS" while waiting for CloudFormation stack "eksctl-basic-cluster-nodegroup-ng-gpu"
2022-04-20 03:51:15 [ℹ] fetching stack events in attempt to troubleshoot the root cause of the failure
2022-04-20 03:51:15 [!] 1 error(s) occurred and cluster hasn't been created properly, you may wish to check CloudFormation console
2022-04-20 03:51:15 [ℹ] to cleanup resources, run 'eksctl delete cluster --region=us-east-1 --name=basic-cluster'
2022-04-20 03:51:15 [✖] waiting for CloudFormation stack "eksctl-basic-cluster-nodegroup-ng-gpu": RequestCanceled: waiter context canceled caused by: context deadline exceeded
Note: Cluster can be created without GPU instance. Thank you.