We have flow which creates the cluster using "eksctl create cluster" command. Since it can take long time and the pod that is executing this command can die. Is there a way to know the cluster creation progress, so that the next steps after create cluster can be initiated?
1
There are 1 best solutions below
Related Questions in AMAZON-EKS
- how to define StackGres helm chart "restapi" values to use internal LoadBalancer - AWS EKS
- AWS EKS Fargate pod scheduling issue with Prometheus deployment
- EKS AMI kernel debug symbols
- How to add Addons to EKS with Pulumi
- Intermittent ec2ApiErrCount in EKS CNI Metrics Helper
- Implementing Multi-Tenant Access Restriction with Keycloak and Istio
- Any example to upgrade an aws eks cluster using github actions workflow on a self-hosted runner outside of cluster?
- How to set nodeSelector for controller for AWS EKS aws-ebs-csi-addon?
- Insight: Deprecated APIs removed in Kubernetes v1.29
- Multi attach error in AWS EKS deployment (rolling update)
- How to pass or allow spark-operator pod in eks to access AWS resources like S3
- Grpc.Core.RpcException: Status(StatusCode="PermissionDenied", Detail="Bad gRPC response. HTTP status code: 403")
- "413 Request Entity Too Large" when serving Angular web (client side) with Nginx
- Airflow `sensing task` queued but not run. What is the problem?
- Asynchronous dumping of requests received on FASTAPI using background tasks into a Kinesis Stream is increasing the response time drastically
Related Questions in EKSCTL
- How to set nodeSelector for controller for AWS EKS aws-ebs-csi-addon?
- Grpc.Core.RpcException: Status(StatusCode="PermissionDenied", Detail="Bad gRPC response. HTTP status code: 403")
- pod creation stuck in pending status for hours
- eksctl command to create eks cluster under a certain VPC
- kubectl unable to connect with eks after configuration
- EKS clusters with only public nodes using eksctl
- why is EKS Fargate alb controller missing serving-certs/tls.crt?
- Cluster Autoscaler Not Launching m6i.xlarge Instances in EKS Node Group
- how to limit aws eks error and help page output in shell and show only N first lines? head not working
- AWS EKS in existing VPC context timeouts EBS CSI driver
- EKS loadbalancer created successfully with external ip but web app is unreachable on assigned port
- AWS Distro for OpenTelemetry installation with json configuration file
- EKS configuration: API Gateway and pods in private subnets
- Cannot deploy nginx ingres controller on aws eks & fargate
- Successful EKS Cluster Upgrade with Unmanaged Nodgroups: Alternatives to Velero?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I'm assuming this is being run as part of a CD process (eg Jenkins) and the executors/runners are pods which is why you need to verify the status of the stack.
The best way to check the status of the cluster stack is by using the stack name and the AWS CLI.
eksctl always creates a stack named
eksctl-$CLUSTER_NAME-clusterwhich you can use to query the cluster status. Replace$CLUSTER_NAMEwith your actual cluster name. There are other stacks that get created (eg add ons, node groups) but that stack will tell you if the control plane is available.You can wait for the stack to finish with the wait sub command. In your runner or script that executes you should put this command before the next step
This will poll the API every 30 seconds and once the stack has completed will exit 0. It will fail with an exit code 255 if the stack is not created in an hour (120 attempts).
When the stack has been created successfully your next step should execute automatically.