Questions tagged [eksctl]

149 questions
1
vote
0 answers

Springboot application deployment to EKS

We are seeing issues while creating an Ingress for a springboot application in EKS. We are following the available AWS documentation while trying to create the…
1
vote
1 answer

How to set EKS server for kubectl to talk to?

I'm new to Kubernetes and was following some examples for setting contexts. Now I can't seem to get any objects on my server, or I'm talking to the wrong server. I see... $ kubectl config view apiVersion: v1 clusters: - cluster: server: "" …
Chris F
  • 14,337
  • 30
  • 94
  • 192
1
vote
1 answer

Assign roles to EKS cluster in manifest file?

I'm new to Kubernetes, and am playing with eksctl to create an EKS cluster in AWS. Here's my simple manifest file kind: ClusterConfig apiVersion: eksctl.io/v1alpha5 metadata: name: sandbox region: us-east-1 version:…
Chris F
  • 14,337
  • 30
  • 94
  • 192
1
vote
3 answers

Error Creating aws EKS Kubernetes cluster using eksctl

I try to run below code and create aws eks kubernetes cluster using eksctl, $ eksctl create cluster \ --version 1.14 \ --region us-west-2 \ --node-type t3.medium \ --nodes 3 \ --nodes-min 1 \ --nodes-max 4 \ --name my-demo \ …
Cordelia
  • 313
  • 3
  • 11
1
vote
1 answer

How to execute eksctl command in python script?

I would like to use the following eksctl command in a python script : eksctl create -f managedcluster.yaml I would like to know the python equivalent of this command such that when the python script is run, then the managed cluster gets created.
1
vote
1 answer

How to terminate only certain pods based on wheather or not they have finnished a certain task in kubernetes?

I'm having trouble with finding a solution that allows to terminate only certain pods in a deployment. The application running inside the pods does some processing which can a take lot of time to be finished. Let's say I have 10 tasks that are…
Aurel Drejta
  • 361
  • 2
  • 11
1
vote
0 answers

eksctl - Security groups in managed groups

I am referring to the security groups section, under managedNodeGroups in the eksctl configuration schema. There, attachIDs is an array of security group IDs. However, the other parameters withShared and withLocal are boolean. So, to which security…
1
vote
0 answers

IAM Roles for EC2 when creating EKS Cluster using eksctl

Which IAM role/roles should I assign to an EC2 Instance to create EKS Cluster using eksctl command line tool? As storing AWS CLI credentials in EC2 Instance is not a secure option.
AT07
  • 43
  • 1
  • 6
1
vote
3 answers

Deleting EKS Cluster with eksctl not working properly, requires manual deletion of resources such as ManagedNodeGroups

I'm running a cluster on EKS, and following the tutorial to deploy one using the command eksctl create cluster --name prod --version 1.17 --region eu-west-1 --nodegroup-name standard-workers --node-type t3.medium --nodes 3 --nodes-min 1 --nodes-max…
shaki
  • 220
  • 4
  • 16
1
vote
1 answer

How to install AWS eksctl on Windows without using Chocolatey

I am working on a strictly configured windows pc which has some very restricted ExecutionPolicy set which doesn't let me install Chocolatey even with non-admin installation version of Chocolatey. Is there a way to install AWS eksctl as described…
1
vote
2 answers

AWS EKS The connection to the server ASFASF.da2.ap-northeast-1.eks.amazonaws.com was refused - did you specify the right host or port?

I'm trying to create kubernetes cluster, but whatever mode I try in the end kubectl fails with The connection to the server ASFASF.da2.ap-northeast-1.eks.amazonaws.com was refused - did you specify the right host or port? I already tried: 1)…
animekun
  • 1,789
  • 4
  • 28
  • 45
1
vote
2 answers

EksCtl : Update node-definitions via cluster config file not working

I am using eksctl to create our EKS cluster. For the first run, it works out good, but if I want to upgrade the cluster-config later in the future, it's not working. I have a cluster-config file with me, but any changes made to it are not reflect…
We are Borg
  • 5,117
  • 17
  • 102
  • 225
1
vote
1 answer

What's the difference between Kops and Eksctl?

I've searched the internet but I haven't found clear answers. Kops is for production grade clusters and is vendor agnostic and I get that, but compared to Eksctl what are the differences ? Also most of the articles are found are year+ old and with…
Iakovos Belonias
  • 1,217
  • 9
  • 25
1
vote
1 answer

can't get cluster resource after deploying EKS cluster using eksctl

I'm trying to deploy Kubernetes cluster using eksctl, The cluster was created but I see that I have permissions issues and I can't get to the Kubernetes resources from my control-plane server. This is the error I get: eksctl get iamidentitymapping…
Shahar Hamuzim Rajuan
  • 5,610
  • 9
  • 53
  • 91
1
vote
1 answer

`eksctl delete cluster` `cannot delete orphan ELB Security Groups` resource has a dependent object

eksctl delete cluster --region=us-west-2 --name=myeks-2 [ℹ] using region us-west-2 [ℹ] deleting EKS cluster "myeks-2" [ℹ] cleaning up LoadBalancer services [✖] cannot delete orphan ELB Security Groups: cannot delete security group k8s-elb-aaa:…
clay
  • 18,138
  • 28
  • 107
  • 192