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 recreate a Kubernetes persistentVolume?

I have a persistent volume. I want to force Kubernetes to recreate it, as the contents is corrupted. Alternatively, if there's a way to fix that, it would be a solution. I have checked that the persistent volume is working as expected…
fuzzi
  • 1,967
  • 9
  • 46
  • 90
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
1 answer

Kubernetes aws- what's the best practice to setup docroot contents for Nginx

I have implemented a web app using Nginx docker container on aws eks using ingress. Currently I'm creating the docker image with the docroot content and using Nginx to serve it. If in case my do root content is huge and I want to keep it outside the…
1
vote
1 answer

istio-ingressgateway LoadBalancer showing "Pending" in AWS EKS

I have installed a private EKS cluster where subnets attached are private subnet. What my requirement is "Private EKS with Istio installation" and create multiple microservices and expose them within the vpc. For exposing them within VPC, i expected…
Jithin Kumar S
  • 701
  • 2
  • 9
  • 20
1
vote
1 answer

Can’t connect the created cluster that is exposed by using NodePort Service

So, I have been trying to create a cluster on AWS EKS for couple of days. I managed to upload the docker image on ECR, created appropriate VPC but could not managed to connect it from http://
1
vote
1 answer

How can I understand `Nodes` in EKS Fargate?

I deployed a EKS cluster and a fargate profile. Then I deployed a few application to this cluster. I can see these fargate instances are launched. when I click each of this instance, it shows me some information like os, image etc. But it doesn't…
Joey Yi Zhao
  • 37,514
  • 71
  • 268
  • 523
1
vote
1 answer

Not getting proper outputs in yaml template

What changes could be made in this template so that this template works for all the scenarios. For 1 AZ and PrivateSubnets: False, For 1 AZ and PrivateSubnets: True, For 2 AZ and PrivateSubnets: False and For AZ and PrivateSubnets:…
1
vote
1 answer

Unable to create AWS EKS cluster and worker nodes group by a single AWS CloudFormation stack

I want to setup AWS EKS cluster (AWS::EKS::Cluster) and worker nodes group (AWS::AutoScaling::AutoScalingGroup) in a single CloudFormation stack. This is the CF definition I created: AWSTemplateFormatVersion: "2010-09-09" Description: Creates API…
1
vote
1 answer

Ingress Nginx Proxy to Outside Website (Webflow hosted)

I have an EKS cluster, and a separate website built on (and hosted by) Webflow. The cluster is behind cluster.com and the website website.webflow.io What I would like to achieve is to proxy requests coming to cluster.com/website to…
Andrei Gaspar
  • 79
  • 2
  • 8
1
vote
1 answer

Exposing a k8s serivce with tcp

I have an eks cluster, all up and working. I want to run a service which listens to tcp request on port 5000. I'm trying to read about it but all guides I could find are using http for the examples. I think I'm a bit confused with all the different…
J. Doe
  • 161
  • 2
  • 2
  • 5
1
vote
3 answers

Unable to attach or mount volumes: unmounted volumes

i deplyed my application on kubernetes but have been getting this error: **MountVolume.SetUp failed for volume "airflow-volume" : mount failed: mount failed: exit status 32 Mounting command: systemd-run Mounting arguments: --description=Kubernetes…
Gaurav Jaitly
  • 143
  • 1
  • 3
  • 9
1
vote
1 answer

kubectl trying to create CertificateSigningRequest error :Error from server (BadRequest): error when creating "tcsr.yaml":CertificateSigningRequest

i try to create CertificateSigningRequest apiVersion: certificates.k8s.io/v1beta1 kind: CertificateSigningRequest metadata: name: vault-csr spec: groups: - system:authenticated request:…
user63898
  • 29,839
  • 85
  • 272
  • 514
1
vote
2 answers

Fargate will increase auto increase memory request by about 200Mi

I'm using AWS EKS with fargate, in my deployment, I set the resources.requests.memory to 512 Mi, but the fargate node will still request 1Gi. So I looking the prometheus kube states for that pod, it show that pod request 762 Mi. Because 762-512=250,…
johnson
  • 388
  • 5
  • 16
1
vote
1 answer

Aws eks InvalidParameterException error service principals [ec2.amazonaws.com] were not found

While adding nodegroup to eks cluster I am getting InvalidParameterException. The full error is given below. An error occurred (InvalidParameterException) when calling the CreateNodegroup operation: Following required service principals…
Abhinav Kumar
  • 301
  • 1
  • 3
  • 13
1
vote
1 answer

Create EKS node group of instance type Fargate with Terraform

With the eksctl cli one can create an EKS cluster of type Fargate which creates nodes of instance type "Fargate". How can the same be achieved with terraform? The cluster can be created with node groups, but instance type Fargate does not seem to…
thomas
  • 167
  • 10