Questions tagged [eksctl]

149 questions
26
votes
8 answers

Not authorized to perform sts:AssumeRoleWithWebIdentity- 403

I have been trying to run an external-dns pod using the guide provided by k8s-sig group. I have followed every step of the guide, and getting the below error. time="2021-02-27T13:27:20Z" level=error msg="records retrieval failed: failed to list…
CK5
  • 1,055
  • 3
  • 16
  • 29
20
votes
7 answers

Your current user or role does not have access to Kubernetes objects on this EKS cluster

Don't know if this is an error from AWS or something. I created an IAM user and gave it full admin policies. I then used this user to create an EKS cluster using the eksctl CLI but when I logging to AWS console with the root user I got the below…
16
votes
4 answers

failed to garbage collect required amount of images. Wanted to free 6283487641 bytes, but freed 0 bytes

I have searched many websites and articles but not found any perfect answer. I am using eks version 1.18. I can see a few of the pods are "Evicted", but when trying to check the node I can see the error "(combined from similar events): failed to…
JDGuide
  • 6,239
  • 12
  • 46
  • 64
11
votes
7 answers

AWS System Manager GetParameters permission being implicitly denied

I am trying to setup eksctl for eks but it throwing "Error: unable to determine AMI to use: error getting AMI from SSM Parameter Store: AccessDeniedException: User: arn:aws:iam:::user/cnc is not authorized to perform: ssm:GetParameter on resource:…
Abhinav Kumar
  • 301
  • 1
  • 3
  • 13
10
votes
1 answer

How to set availability zones for VPC in eksctl config file?

When creating a cluster using eksctl on the command line, one can specify availability zones using the "zones" flag, like so: eksctl create cluster \ --name example \ --version 1.16 \ --region us-east-1 \ --zones us-east-1a,us-east-1b,us-east-1c In…
David Bruce Borenstein
  • 1,655
  • 2
  • 19
  • 34
10
votes
1 answer

How to specify `--asg-access` in config file with eksctl?

I am trying to create a Kubernetes on AWS EKS cluster using eksctl with autoscaling enabled using proper IAM permissions. As per the documentation: You can create a cluster (or nodegroup in an existing cluster) with IAM role that will allow use…
Pierre B.
  • 11,612
  • 1
  • 37
  • 58
9
votes
2 answers

eksctl create cluster stuck "waiting for CloudFormation stack"

I'm trying to create a cluster via eksctl, using defaults options, and AMI user with "AdministratorAccess", I get stuck at "waiting for CloudFormation stack" > eksctl create cluster --name dev [ℹ] eksctl version 0.36.0 [ℹ] using region…
Deano
  • 11,582
  • 18
  • 69
  • 119
8
votes
0 answers

no eksctl-managed CloudFormation stacks found > Error: loading VPC spec for cluster,

I have created EKS cluster manually. Now when I am trying to create a nodegroup for Windows by following this link launch-windows-workers I am getting this below error:- 2021-09-03 06:28:02 [!] no eksctl-managed CloudFormation stacks found for…
Money Times
  • 135
  • 9
8
votes
3 answers

Connecting to existing EKS cluster using kubectl or eksctl

I have created one kubernetes cluster on EKS. I used eksctl create cluster to create the cluster. I am able to access everything which is great. However, my colleague has created another cluster, and I am wondering how will I generate / get…
Tuhin Subhra Mandal
  • 473
  • 1
  • 5
  • 15
7
votes
2 answers

eksctl "no clusters found"

I am currently trying out aws eks and I am havin a problem managing my cluster via eksctl. Now creating a cluster via eksctl works just fine using eksctl create cluster --region [region] --name my-cluster The cluster comes up correctly and it also…
relief.melone
  • 3,042
  • 1
  • 28
  • 57
5
votes
1 answer

Pod creation in EKS cluster fails with FailedScheduling error

I have created a new EKS cluster with 1 worker node in a public subnet. I am able to query node, connect to the cluster, and run pod creation command, however, when I am trying to create a pod it fails with the below error got by describing the pod.…
Jagdish0886
  • 343
  • 1
  • 5
  • 20
5
votes
2 answers

AWS EKS from scratch - terraform or eksctl?

Are there any benefits to spawn a new AWKS EKS cluster by using terraform or eksctl? Are there some long-term maintenance benefits of one vs another?
DmitrySemenov
  • 9,204
  • 15
  • 76
  • 121
5
votes
1 answer

The results of `aws eks list-nodegroups` and `eksctl get nodegroups` are inconsistent

eksctl get nodegroups --cluster=cluster-name --profile=dev aws eks list-nodegroups --cluster=cluster-name --profile=dev First result is correct Second result is air as follows: { "nodegroups": [] } I used these two commands to get the…
gophergfer
  • 261
  • 4
  • 9
5
votes
3 answers

eks create cluster command fails with Error: computing fingerprint illegal base64 data at input byte 11

I am trying to create a kubernetes cluster using EKS. The command I am using is eksctl create cluster --name prod --version 1.14 --region us-west-2 --nodegroup-name standard-workers --node-type t3.medium --nodes 3 --nodes-min 1 --nodes-max 4…
user2995358
  • 977
  • 11
  • 27
4
votes
5 answers

Error: checking AWS STS access – cannot get role ARN for current session: MissingEndpoint: 'Endpoint' configuration is required for this service

I created a cluster.yaml file which contains the below information: --- apiVersion: eksctl.io/v1alpha5 kind: ClusterConfig metadata: name: eks-litmus-demo region: ${AWS_REGION} version: "1.21" managedNodeGroups: - instanceType: m5.large …
1
2 3
9 10