Questions tagged [amazon-eks]

Amazon Elastic Kubernetes Service (EKS) is a part of Amazon Web Services (AWS) and provides a fully managed Kubernetes platform, with the ability to have your containers deployed across a EC2 backed solution or as a serverless solution with AWS Fargate. Use this tag for programming-related questions specific to the EKS environment.

Amazon Elastic Kubernetes Service (EKS) is a managed Kubernetes service.

In most cases EKS acts like a standard Kubernetes installation, and questions labeled with will frequently also be tagged . You do not need if you can easily reproduce your issue in a local Kubernetes environment like Docker Desktop or Minikube but in production you happen to be using EKS.

Remember that Stack Overflow questions must specifically be programming-related. Questions about setting up EKS clusters, configuring IAM roles, and other cluster-level configuration are off-topic for Stack Overflow. Depending on the specific question another Stack Exchange site like Server Fault or DevOps.SE may be a better place to ask.

A good learning resource is EKS Workshop

3675 questions
1
vote
2 answers

How to integrate AWS api gateway with EKS cluster to access the microservices deployed on cluster IP using ELB

I have created EKS cluster in that cluster created 2 nodes & deployed few microservices on cluster IP. As cluster IP is only internally accessible so wanted to configure it with AWS API gateway using ELB.
1
vote
0 answers

Spot instances are not joined to aws eks 1.18 provisioned by terraform 0.13.5

Problem: Created eks 1.18 cluster with terraform 0.13.5 but spot instances are not joined to the cluster. ➜ k get nodes No resources found in default namespace. ➜ terraform -version Terraform v0.13.5 + provider…
1
vote
2 answers

How can I use persisted storage for elasticsearch in AWS?

I am deploying my container to AWS EKS which is running elasticsearch. I need to pick up a storage service to store all the data. I searched a few articles and people mentioned EBS. Is this a good storage for data source like elasticsearch? Is there…
Joey Yi Zhao
  • 37,514
  • 71
  • 268
  • 523
1
vote
1 answer

Spark on Kubernetes from jupyterhub not working with IRSA

I am trying to run spark from jupyterhub against a eks cluster that uses IRSA.I followed examples presented in AWS EKS Spark 3.0, Hadoop 3.2 Error - NoClassDefFoundError: com/amazonaws/services/s3/model/MultiObjectDeleteException and…
GSam
  • 21
  • 4
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

Kubernetes Autoscaling in AWS

This may be a silly question but I'm curious to know the answer: If I am running a Kubernetes cluster on AWS (EKS) which autoscaling policy will take precedence? The auto scaling policy on the load balancer or the policy within the pods themselves?
1
vote
1 answer

Kubernetes: achieving uneven/weighted pod distribution in EKS

We plan to use AWS EKS to run a stateless application. There is a goal to achieve optimal budget by using spot instances and prefer them to on-demand ones. Per AWS recommendations, we plan to have two Managed Node Groups: one with on-demand…
1
vote
2 answers

How do I get client IP addressed from HTTP requests in kubernetes services(EKS)

We are running our ms as pod behind ALB ingress (ALB load balancer). My problem is that all of the HTTP request logs show the cluster IP address instead of the IPs of the HTTP clients. Is there any other way I can make kubernetes service to pass…
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

EKS cross cluster internal DNS lookup

We have 2 EKS clusters, cluster#1 for applications and cluster#2 for observability. If we are to avoid routing through public internet but limited to VPC peering between the EKS cluster, how can pods from one cluster lookup the internal name of pods…
RichardKang
  • 497
  • 5
  • 16
1
vote
1 answer

How to handle lists for eks assume policy

I have 2 eks cluster as part of our upgrade. I want to handle assume policy such that it has access to both eks cluster. Both the cluster in same AWS account. i want my policy to look like the below policy. such that the we are not updating any…
user6826691
  • 1,813
  • 9
  • 37
  • 74
1
vote
2 answers

NGINX Ingress Controller not working on Amazon EKS

NGINX Ingress Controller not working on Amazon EKS I created an Amazon EKS cluster on a private subnet using eksctl. eksctl create cluster \ --name eks101 \ --version 1.18 \ --region af-south-1 \ --nodegroup-name standard-workers \ --node-type…
javapenguin
  • 966
  • 2
  • 22
  • 38
1
vote
1 answer

Terraform EKS error Network interfaces and an instance-level security groups may not be specified

Terraform gave me this error, which is not making sense to me. This occurred when I tried to create aws_eks_node_group for an AWS EKS cluster using terraform. module.compute.aws_launch_template.eks: Modifications complete after 2s…
Chinmaya Biswal
  • 457
  • 5
  • 13
1
vote
1 answer

Populating AWS Alb Ingress Annotations from ConfigMap

I am creating a 'alb.ingress' resource as part of my Helm chart. apiVersion: extenstions/v1beta1 kind: Ingress metadate: annotation: alb.ingress.kubernetes.io/certification-arn: $cert_arn alb.ingress.kubernetes.io/security-group: $sg …
SSF
  • 915
  • 5
  • 23
  • 47
1
vote
0 answers

Application deployment over EKS cluster

I am trying to deploy my application over EKS cluster using AWS codepipeline. I have already created a building job using the builspec.yml to push the docker image to ECR repo. Now I am trying to deploy the image to container over EKS cluster. I am…
knowledge20
  • 1,006
  • 3
  • 14
  • 25