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

Safest and best way to retrieve the current configuration file in yaml for a single or bunch of resources in a kubernetes cluster

I applied a file xyz.yml sometime ago in EKS (Amazon elastic kubernetes service cluster) to deploy a statefulset pod from my local machine. This file is versioned in GitHub. However, there were few manual applies made using kubectl for this file to…
Ashley
  • 1,447
  • 3
  • 26
  • 52
1
vote
1 answer

Istio-init container has gone to crash loopbackoff

I am istio-init(version 1.6.5) as a sidecar container in my k8s cluster, it been working fine for a while. Today, out of blue my pod has gone to Init:CrashloopbackOff NAME READY STATUS …
Ajay Pratap
  • 437
  • 4
  • 14
1
vote
1 answer

kubectl authentication to aws eks cluster

I have tried every solution I could get my 'google' on aws eks --region $AWS_REGION update-kubeconfig --name $EKS_CLUSTER aws-iam-authenticator token -i $EKS_CLUSTER aws eks get-token --cluster-name $EKS_CLUSTER kubectl edit -n…
Hamady C.
  • 1,205
  • 11
  • 13
1
vote
0 answers

nginx docker connect() failed (110: Connection timed out) while connecting to upstream, same configuration works without docker, what could be wrong?

I have a reverse proxy from nginx docker image nginx:stable. Dockerfile: FROM nginx:stable COPY main.conf /etc/nginx/conf.d/default.conf COPY nginx.conf /etc/nginx/nginx.conf COPY liveness /liveness RUN chmod +x…
paltaa
  • 2,985
  • 13
  • 28
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
1 answer

Terraform: invalid or unknown key: launch_template (aws_launch_template aws_eks_node_group)

My terraform version is v0.11.13. I use resource "aws_launch_template" for resource "aws_eks_node_group". I got the error, "invalid or unknown key: launch_template". Error: module.eks_node_windows_group.aws_eks_node_group.windows-worker-nodes-group:…
Melissa Jenner
  • 781
  • 1
  • 8
  • 31
1
vote
1 answer

Terraform: How to add Windows worker nodes to eks cluster?

I use terraform code provisioned EKS cluster (1.16) with worker nodes on AWS (Linux). The code below is for creating eks worker nodes (Linux): resource "aws_eks_node_group" "default-worker-nodes-group" { cluster_name =…
Melissa Jenner
  • 781
  • 1
  • 8
  • 31
1
vote
1 answer

Kubernetes HPA : Send HPA logs as events to aws cloudwatch

I am working on EKS cluster in AWS. We have an application, which is memory intensive. Because of that, I have added an HPA, which has 60% memory utilization. We would like to have only this info in cloudwatch, so we can scale our servers…
1
vote
1 answer

AWS EKS - service zonal aware routing

Curious - I was wondering when AWS will support this newly available alpha feature that was released in 1.17 called "Service Topology"? It looks like it is set as a feature-gate flag on the initial kube-api deployment as an argument - I created a…
1
vote
2 answers

Sumo Logic kubernetes integration requires that no Prometheus exists

I am currently working on integrating Sumo Logic in a AWS EKS cluster. After going through Sumo Logic's documentation on their integration with k8s I have arrived at the following section Installation Steps. This section of the documentation is a…
nabello
  • 716
  • 11
  • 29
1
vote
1 answer

Kubernetes- Is there a way to pause and resume the pods

Is there a way to pause/resume kubernetes pods. We are deploying our pods in 2 regions (west and east). we want west pods to be on standby. Though we are able to restrict http traffic to just one region, the schedulers, cronjobs and backend…
user1717764
  • 111
  • 3
  • 12
1
vote
1 answer

How to add different vpc instances(node) to existing eks vpc ( both vpc are different)

i have a aws eks cluster with in the dev vpc now i have few ec2 instance in the test-vpc so now i need add the add test-vpc instance to the existing existing cluster. can we do. ? FYI VPC peering i have done as well and peering also working
1
vote
1 answer

Assigning an AWS IAM role to an AWS EKS Jenkins Agent Pod

I'm configuring an AWS EKS-based Jenkins master with different agents. Jenkins can spin up new pods just fine. The problem is when I try to assign an IAM role to that pod through the Service account. It just doesn't pick it up. It worked two days…
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
0 answers

Deploy confluent services on Amazon EKS

I am trying to deploy confluent services on Amazon EKS and I am following this document https://docs.confluent.io/5.3.0/installation/operator/co-deployment.html After Installing the confluent operator I am trying to install the zookeeper service but…