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

Give all users of an AWS account access to an EKS cluster

I have created an EKS cluster. At the moment only I can access it via kubectl. I want to give all my colleges access to it. We all have users in the same AWS account. If I understood the documentation at…
Johannes Barop
  • 7,323
  • 2
  • 25
  • 33
1
vote
2 answers

persistent_volume_source configuration for Terraform kubernetes_persistent_volume when using EFS

I'm using EFS as a CSI driver in a k8s cluster. I would like to use Terraform to create a PV that will use the efs storage class. I verified that I can create the PV "manually". I would like to automate the PV creation with Terraform, using the…
1
vote
2 answers

How do I export a kubernetes manifest file without the metadata?

I'm trying to export a daemonset from my kubernetes cluster but I dont want any of the metadata. Is there a way I can export the manifest file without the metadata, like creationtimestamp, uid_selflink, etc. for example, something like this would be…
Chesneycar
  • 545
  • 16
  • 43
1
vote
0 answers

Getting Intermittent timeout on EKS when pods are running on multiple Nodes

We have an application running with two pods , if each pod is running in each nodes then we are facing intermittent timeouts (tried with ALB and also on the node itself) , if the both pods are running on single node then we don't face any…
1
vote
1 answer

Kubernetes Route53 external-dns issue

I am running a K8S cluster in AWS with EKS and external-DNS with an ingress-Nginx-ingress-controller. Application is working fine and accessible on load-balancer. Now I am trying to point my DNS to this cluster i.e. e1.exapmle.com and for this, I am…
user11931805
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
1 answer

AWS EKS no exposed ports

So I've been struggling with the fact that I'm unable to expose any deployment in my eks cluster. I got down to this: My LoadBalancer service public IP never responds Went to the load balancer section in my aws console Load balancer is no working…
danielrvt
  • 10,177
  • 20
  • 80
  • 121
1
vote
2 answers

Absent AWS volume but "bound" PVC in kubernetes

See the output below. What confuses me is that the status is bound yet the volume does not exist in AWS. I am using Kubernetes 1.17 I also checked that no POD is using this PVC (used https://github.com/yashbhutwala/kubectl-df-pv additionally to…
DmitrySemenov
  • 9,204
  • 15
  • 76
  • 121
1
vote
1 answer

eks autoscaler and harbor registry with self signed certificate

We have our eks kubernetes cluster and a ec2 instance with harbor registry. This registry has a self signed certificate, which needs to be in the worker nodes to be able to pull/push to this docker registry. The problem is that i have to autoscale…
1
vote
0 answers

No logs in Apache Airflow with KubernetesExecutor in AWS EKS

I managed to deploy Airflow 1.10.12 in AWS EKS. I have a webserver and a scheduler which run on KubernetesExecutor. When I run a DAG, I spawn a pod and run the dag inside it with LocalExecutor. Unfortunately, I am not able to see the logs in the…
stoicky
  • 97
  • 7
1
vote
1 answer

Can't reach a pod from an eks node when using security group for pods

I am testing to use security group for pods following the tutorial in here: https://docs.aws.amazon.com/eks/latest/userguide/security-groups-for-pods.html I was able to deploy it successfully, as I can see my pods annotated with:…
1
vote
1 answer

Kubernetes - HPA won't autoscale the pods

I am deploying my microservice application I built using node. Issue The pods won't autoscale when I put load using Jmeter. The CPU utitilization goes to 50m, which doesn't invoke HPA to start autoscaling. I want it to start replicating as soon as…
1
vote
1 answer

Does AWS ECS Control Plane i.e Cluster cost any thing?

On looking at the EKS Pricing page, its very clear that the cluster i.e control plane as of today costs $.10/hour. Quote from - https://aws.amazon.com/eks/pricing/ You pay $0.10 per hour for each Amazon EKS cluster that you create. But on looking…
user14305942
1
vote
0 answers

AWS EKS 1.17. PVC - "waiting for first consumer to be created before binding"

PVC is in a pending state due to the error : Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal …
nevosial
  • 1,034
  • 2
  • 13
  • 20
1
vote
1 answer

Permissions error trying to run Prometheus on AWS EKS (Fargate only) with EFS

I have an EKS cluster that is Fargate only. I really don't want to have to manage instances myself. I'd like to deploy Prometheus to it - which requires a persistent volume. As of two months ago this should be possible with EFS (managed NFS share) …