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
0 answers

aws-iam-autenticator problem when downloading go client libary

I'm trying to connect to AWS EKS cluster using lambda written with Go. My import looks like that: import ( "encoding/base64" "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/awserr" …
danny.lesnik
  • 18,479
  • 29
  • 135
  • 200
1
vote
0 answers

EKS POD terminated immediately after running

I am beginner at Kubernetes and EKS. I am trying to run a cluster on AWS using EKS and Terraform. The cluster is created, the image is pulled on the worker node successfully and status of the POD changes from creating container to 'running' but…
shahab4ai
  • 53
  • 1
  • 6
1
vote
2 answers

How to pass number of pods by command line

I am using eks to deploy pods to my nodegroups. This is my deployment file apiVersion: apps/v1 kind: Deployment metadata: name: molding-app namespace: new-simulator spec: replicas: 3 selector: matchLabels: app: my-app …
Anshul Walia
  • 547
  • 1
  • 5
  • 9
1
vote
3 answers

Kubernetes placement causes pods to restart forever

We have 2 nodes, each with 96 GB RAM. The plan was that our pods will take 90.5 GB RAM from one of the nodes and 91 GB from the other. What actually happened was the pods took 93.5 GB from one of the nodes and 88 GB from the other. This caused the…
mgershen
  • 1,567
  • 16
  • 22
1
vote
1 answer

Expose a Hazelcast cluster on AWS EKS with a load balancer

We have a Hazelcast 3.12 cluster running inside an AWS EKS kubernetes cluster. Do you know how to expose a Hazelcast cluster with more than 1 pod that is running inside an AWS EKS kubernetes cluster to outside the kubernetes cluster? The Hazelcast…
1
vote
1 answer

AWS EKS Self managed EC2 instances Patching

We are running a self managed EC2 instances in the EKS Cluster. While upgrading control plane is managed by AWS, the worker nodes are self managed. For running security updates and patches, we use the latest optimized AMI and role out the new…
techcloud
  • 11
  • 2
1
vote
1 answer

Can I use EBS in EKS on fargate?

I want to using prometheus in EKS on AWS fargate I follow this. https://aws.amazon.com/jp/blogs/containers/monitoring-amazon-eks-on-aws-fargate-using-prometheus-and-grafana/ but I can't create persistent volume claims. this is…
1
vote
0 answers

Kubernetes API Budget Burn Errors

I am confused about this metric and alert sum(apiserver_request:burnrate3d) > (1 * 0.01) and sum(apiserver_request:burnrate6h) > (1 * 0.01) I cannot find the source of the metrics apiserver_request and how it relates to an error. Right now we have…
austinbv
  • 9,297
  • 6
  • 50
  • 82
1
vote
1 answer

Kubernetes 1.16 deprecation of daemonset, statefulset, deployments and replicasets

1.16 deprecation notice: DaemonSet, Deployment, StatefulSet, and ReplicaSet resources will no longer be served from extensions/v1beta1, apps/v1beta1, or apps/v1beta2 in v1.16. Migrate to the apps/v1 API, available since v1.9. Existing persisted…
sebastian
  • 2,008
  • 4
  • 31
  • 49
1
vote
2 answers

AWS-CDK EKS Cluster can not be created in a VPC without at least 1 private subnet

I am trying to spawn EKS Cluster using AWS CDK. The problem is the following: when I define a VPC for the EKS Cluster, which does not contain private subnets, cdk synth throws the error below. Vpc definition and usage: cluster = eks.Cluster(self,…
user3909893
  • 421
  • 1
  • 4
  • 15
1
vote
1 answer

Best practices for volumes that need to be accessed from multiple pods on EKS

Currently kubernetes documentation says that by default EKS on AWS supports through AWSElasticBlockStore plugin only ReadWriteOnce access mode on EBS. I need my EKS cluster configured with multiple pods having read-write access to single volume, or…
1
vote
1 answer

Permission denied on mounted volume even after using initContainers?

I'm running the theia code-editor on my EKS cluster and the image's default user is theia on which I grant read and write permissions on /home/project. However, when I mount that volume /home/project on my EFS and try to read or write on…
touati ahmed
  • 311
  • 8
  • 21
1
vote
2 answers

external.metrics.k8s.io is not available in EKS cluster

Kubernetes version : 1.13 on Amazon's EKS I am trying to follow this guide https://nuvalence.io/building-a-k8s-autoscaler-with-custom-metrics/ to enable autoscaling based on rabbitmq data in our Kubernetes cluster by using the…
Dennis Tsoumas
  • 132
  • 1
  • 13
1
vote
2 answers

How to update AWS NLB setting to store logs in S3 bucket by k8s annotations

I want to configure AWS NLB to store logs at the S3 bucket? I have: AWS EKS cluster (v1.15), NLB (created by Nginx controller), S3 bucket with AIM (done as described here:…
1
vote
1 answer

Failed request between pods

I have a cluster on EKS with some APIs running on it, this is the yaml file used to deploy them: apiVersion: v1 kind: Service metadata: name: spec: type: ClusterIP selector: app: ports: - protocol: TCP …
porthunt
  • 484
  • 1
  • 5
  • 12
1 2 3
99
100