Questions tagged [eksctl]

149 questions
0
votes
1 answer

How to specify availability zone with AWS EKS Fargate cluster with eckctl?

I'm learning Kubernetes, and am trying to create an AWS EKS Fargate cluster with the following config simple file kind: ClusterConfig apiVersion: eksctl.io/v1alpha5 metadata: name: sandbox region: us-east-1 version: "1.18" fargateProfiles: …
Chris F
  • 14,337
  • 30
  • 94
  • 192
0
votes
3 answers

gpu worker node unable to join cluster

I've a EKS setup (v1.16) with 2 ASG: one for compute ("c5.9xlarge") and the other gpu ("p3.2xlarge"). Both are configured as Spot and set with desiredCapacity 0. K8S CA works as expected and scale out each ASG when necessary, the issue is that the…
Cowabunga
  • 306
  • 2
  • 12
0
votes
1 answer

When i run eksctl create cluster --name=twitter-clone --nodes-min=3 in userdata it dosent work but works when i run it manually

Logs in /var/log/cloud-init-output.log I am trying to run K8s cluster from an ec2 instance and have installed eksctl, aws cli and everything required in the user data of ec2 instance. It is running when i ssh and run the command manually but when i…
0
votes
1 answer

AWS IAM Policy for eksctl scale nodegroup

Is it enough to give EKSCTL access only to { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "autoscaling:DescribeAutoScalingGroups", …
passwd
  • 2,883
  • 3
  • 12
  • 22
0
votes
1 answer

eksctl apply cluster changes after create

I've created a cluster using eksctl create cluster -f mycluster.yaml everything is running but now I would want to add cluster autoscaler. There does not seem to be an option to specify this for the eksctl update cluster command. When creating a…
neo112
  • 1,703
  • 2
  • 17
  • 39
0
votes
1 answer

Remove IAM OIDC identity provider from my cluster

I would like to know how can I disassociate an OIDC identity provider from a running cluster. Put in other terms, how can I revert the changes made by this command $ eksctl utils associate-iam-oidc-provider --cluster cluster_name --approve Thanks
Bruno Berisso
  • 1,091
  • 11
  • 33
0
votes
0 answers

Using eksctl from Go

I'm trying to create an AWS EKS cluster from Go. The official SDK seems less fleshed out than the GCP equivalent. For example, I can't find a Go API for easily adding (non-managed) node groups to EKS clusters (I want to use auto-scaling spot fleets…
Andreas Jansson
  • 3,137
  • 2
  • 30
  • 40
0
votes
2 answers

Multiple subnets in same AZ with eksctl

In the eksctl ClusterConfig file, how to map if I have multiple subnets (subnets with different CIDR range) in the same AZ ? eu-west-1a: id: "subnet-02a3dacfd211d0870" cidr: "192.168.32.0/22" eu-west-1b: id:…
florin
  • 719
  • 12
  • 31
0
votes
1 answer

Finding the apiVersion for EKS in a region

I am learning EKS -- and have been provided the following example YAML to create cluster. Where does the 'apiVersion' in the example YAML derived from? Is it eksctl or eks? apiVersion: eksctl.io/v1alpha5 kind: ClusterConfig metadata: name:…
user353829
  • 1,244
  • 5
  • 25
  • 38
0
votes
1 answer

Kubernetes service account role using OIDC

I am trying out the capability where 2 pods deployed to the same worker node in EKS are associated to different service accounts. Below are the steps Each service account is associated to a different role one with access to SQS and other without…
0
votes
2 answers

connect to kubernetes on AWS only works when the cluster is created via eksctl

Issue What is the difference between using eksctl and AWS Management Console when creating a kubernetes cluster on aws ? like what is really happening under the hood ? in both cases the cluster gets created but only when using eksctl, you can…
Mike Hajj
  • 1
  • 2
0
votes
5 answers

Trying to create eks cluster using eksctl with ssh-access

While creating eks cluster using EKSCTL it is throwing error like error decoding SSH public key Permission of pem file is 400 Command i am executing eksctl create cluster --name=thirdekscluster --ssh-access --ssh-public-key=mysshkey.pem…
Sreejith
  • 434
  • 3
  • 19
-1
votes
1 answer

Different options for creating an AWS EKS Cluster

An AWS EKS Cluster can be created using the AWS CLI or eksctl commands. And AWS is supporting both of them. Both of them at the end of day creates a EKS cluster. When to use what? I am not able to find any differences between the two.aws
Praveen Sripati
  • 32,799
  • 16
  • 80
  • 117
1 2 3
9
10