Questions tagged [eks]
The eks tag has no usage guidance.
38
questions
0
votes
0
answers
8
views
Is there a full list of Kubernetes controller names inside the kube-system namespace that are owned by Kubernetes?
I am aware that there is a kube-system namespace, and users are not expected to modify or create any objects in this namespace as it is not intended for user use. However, I would like to verify this ...
0
votes
0
answers
15
views
On AWS EKS, how can I update an addon multiple minor versions at once?
Some enabled add-on lags far behind the latest version.
The add-on is NOT self-managed (checked using the doc with aws eks describe-addon)
That specific addon has no compatibility issues between the ...
0
votes
0
answers
14
views
How to delete Kubernetes Finalisers Kubernetes.io/pv-protection?
I am trying to delete the finalisers in the PV by issuing kubectl patch command and it deletes partially leaving behind Kubernetes.io/pv-protection
Described the PVC and able to see two entries
...
1
vote
1
answer
67
views
EKS cluster upgrade from 1.23 to 1.24 ServiceUnavailableException: Updates in the cell are disabled
I've tried upgrading my EKS cluster to 1.24 and I keep getting this error: ServiceUnavailableException: Updates in the cell are disabled
I get this using the AWS console webpage here https://us-east-1....
0
votes
0
answers
41
views
User Id for securityContext.runAsUser not present in /etc/passwd
I'm reviewing some containers being deployed and have found that the User ID for securityContext.runAsUser is not present in the container's /etc/passwd.
securityContext:
runAsUser: 10001 # ...
0
votes
1
answer
26
views
What happens when you are running a "too old" version of k8s in eks?
I'm desperately trying to resolve all of our dockershim uses so we can migrate to EKS 1.24+, but I'm not optimistic I'll get it done before the "deadline".
I'm stuck on EKS 1.23 until I can ...
0
votes
0
answers
45
views
heap memory snapshot on a kubernetes cluster nodejs
I'm using node.js application on a kubernetes cluster (EKS).
When there is a lot of workload on the application it reaches the maximum heap size that is allocated and pods get restarted.
I'm looking ...
0
votes
0
answers
74
views
Can't see the resources on AWS EKS, after I created a Cluster through CLI
I created a basic EKS Cluster from CLI, it created all the resources and I could view them through my CLI (pods, nodes, nameservers etc.)
However when getting into AWS platform, I could find the ...
0
votes
1
answer
96
views
Run the latest image from ECR on EKS
I have a CircleCI set-up to push docker images to ECR, similar to this question here: What is the idiomatic way to reload EKS/Kube configs when a new image is pushed to ECR
My question is two-fold:
I'...
0
votes
0
answers
20
views
Legacy application failing to send trafic with Hl7 protocol to EKS cluster
I am working on an application that consumes data sent over Hl7 protocol that has recently migrated to AWS, and that's where the issues started
The "Legacy application" requires a connection ...
0
votes
0
answers
71
views
eks jenkins docker dind to build multi-arch java
Is it possible using EKS 1.26 and running Jenkins inside to utilize docker inside docker DIND and runtime containerd (this part already works) and then to produce multi-arch java images (arm64/amd64) ...
0
votes
1
answer
141
views
EKS: Usable Memory goes lower and lower on the node to 5% then jumps up to 80% available
I was able to correlate the "usable memory" going down with events in kubernetes:
Conditions:
Type Status LastHeartbeatTime LastTransitionTime ...
0
votes
0
answers
31
views
Expose consistent port across many namespaces in a dev k8s cluster
We have a development kubernetes cluster (hosted in EKS) to which engineers push feature branches. Each feature branch creates the same set of Deployments and Services in its own isolated namespace. ...
0
votes
0
answers
179
views
kubernetes backend pod can not connect to database
I have java backend pod and mysql statfulset db. when I see logs of backend pod, there is an error, It can not obtain connection from database.
WARNING: sun.reflect.Reflection.getCallerClass is not ...
0
votes
0
answers
266
views
Terraform & Helm & aws-load-balancer-controller : ALB won't be created
I try to deploy a complete cluster using EKS. When I run terraform apply the command completes successfully. I can see that my configured Pods, Deployments, Services were created. I also see the ...
3
votes
1
answer
249
views
How to use same terraform code for both kubernetes clusters Oracle (OKE) and AWS (EKS)?
I want to use same terraform code for both kubernetes clusters oracle (OKE) and AWS (EKS) and install the argocd helm chart on it, I given my code below for your reference, now the problem I am facing ...
1
vote
1
answer
2k
views
EKS - Get availability zone of pod deployment from pod
In my EKS cluster, I have a few node groups that cover availability zone A and B. The pods running on the nodes are consumers/producers on various Kafka topics (MSK). There isn't any internal ...
4
votes
2
answers
143
views
Why use configuration management tools in the world of modern cloud?
Configuration management tools like Ansible, Chef, Puppet, and Saltstack allows us to configure a cluster of blank machines to help install and deploy an application. For example, with Ansible, we can ...
2
votes
1
answer
160
views
Does the AWS Admin user have the eks:AccessKubernetesApi permission?
I am logged in to AWS as the AWS Admin, with Administrator access.
How do I find out if this user has the eks:AccessKubernetesApi IAM permission?
2
votes
4
answers
6k
views
NodeCreationFailure: Instances failed to join the kubernetes cluster
I'm setting up an EKS cluster using https://github.com/ManagedKube/kubernetes-ops
and, based on that code, when I do a terraform apply I'm getting a NodeCreationFailure error.
Specifically:
│ Error: ...
1
vote
1
answer
1k
views
How to fix wrong /etc/resolv.conf in kubernetes pods after creating a cluster with EKS eksctl with vpc-cni plugin?
So, i've created a kubernetes cluster in EKS with eksctl, ClusterConfig:
apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig
metadata:
name: exchange-develop
region: us-east-1
version: '1.19'
...
0
votes
1
answer
251
views
How many nodes can I have in single EKS cluster?
I have an EKS cluster and today my subnet had 0 Available IPv4 addresses.
Does that mean that there are limits per nodes within 1 cluster in EKS?
2
votes
3
answers
133
views
What is the idiomatic way to reload EKS/Kube configs when a new image is pushed to ECR
We are using CircleCI to automate the building of images when merges are detected on our release branch. Those images are then being pushed to ECR, but I am unsure of the best way to refresh some or ...
2
votes
1
answer
62
views
Should we deploy Storage Class Per Application OR one Storage Class for All applications?
I am using aws-ebs-csi-driver on k8s for persistent volumes. I came across a scenario where I can create ebs storage class once and then use it across all the statefulsets deployments to create ...
1
vote
1
answer
761
views
Installing NVIDIA driver on EKS nodes
I have a EKS cluster that has two node pools. One CPU general compute, the other one has GPU support (g4dn). I want to install NVIDIA driver on to the GPU node group. The best I can do right now is to ...
0
votes
1
answer
58
views
EKS NodeAffinity for Services
https://www.eksworkshop.com/beginner/140_assigning_pods/affinity/
Links like above usually show node affinity for "kind: Pod".
Isn't it possible to use node affinity for "kind: Service&...
4
votes
1
answer
7k
views
Kubernetes serve static content with ingress
I have a simple Django application and on a regular EC2 instance nginx is a reverse proxy serving static files and proxying requests to gunicorn/wsgi backend app.
Should I have a separate deployment ...
1
vote
1
answer
348
views
Where to install Prometheus for Kubernetes monitoring
I'm considering using Prometheus to monitor and analyze different metrics from my AWS EKS Kubernetes cluster running in Fargate, as it seems to be the standard tool during these times. However, ...
2
votes
3
answers
4k
views
Is AWS Fargate suitable for web applications?
I'm making a web-app, I've tried both ECS and EKS at AWS. It's been very comfortable to use Fargate instances instead of EC2. But I'm not sure I understand how to use them since when I count at it, it'...
1
vote
1
answer
1k
views
How to Integrate Amazon API Gateway with EKS using Application Load Balancer (ALB)?
According to the AWS documentation, it is possible to integrate Amazon API Gateway with EKS using ALB. However, by far most of this documentation explains how to do this with NLB instead of ALB. So ...
0
votes
1
answer
110
views
AWS ECS vs EKS for hybrid cloud strategy
What can EKS deployment do that ECS deployment can't do? is there any specific circumstances that you have to deploy your application on EKS but not ECS.
1
vote
1
answer
734
views
What does "eksctl create iamserviceaccount" do under the hood on an EKS cluster?
AWS supports IAM Roles for Service Accounts (IRSA) that allows cluster operators to map AWS IAM Roles to Kubernetes Service Accounts.
To do so, one has to create an iamserviceaccount in an EKS cluster:...
1
vote
1
answer
307
views
Is it possible to have an aws EKS infrastructure as code?
Is it possible to declare "a complete production level EKS with other aws services" using terraform? I know that terraform has an eks module and an aws provider. But I'm not sure if one can ...
1
vote
1
answer
136
views
In k8s, do the controller nodes have to be in same VPC as the worker nodes for a cluster?
I'm new to k8s and trying to grasp the infrastructure concepts, and trying to apply them in AWS. I know a k8s cluster has a control plane, which has the management nodes, and a data plane, which has ...
1
vote
2
answers
548
views
Spread pods over cluster
Current using AWS's auto-scale policy to start EKS worker nodes (min+desired 10, max 15) on a fixed time every day. There are 120 pods and 30 deployments.
Obviously, only one node will be up firstly. ...
0
votes
1
answer
66
views
Secure RDS (private endpoint) and allow connecting from local machine for specific predefined users
I'm looking for some way to allow access to RDS (Private endpoint) instances from local machine for a specific set of people (for the internal team.)
ways I know: Create Bastion EC2 and through SSH ...
5
votes
1
answer
3k
views
Cannot configure node group in new EKS cluster due to no Node IAM role found
I've created a new EKS cluster, and am trying to add a new node group to it.
I'm stuck on selecting a Node IAM Role from the dropdown.
I followed the link, and created all options for roles I could ...
0
votes
2
answers
89
views
EKS - created cluster from console with federated IAM admin - how to access
I have no programmatic access for the user who created the cluster only graphical.
I tried a lot of things and I always get access denied on kubectl as I have to use another IAM identity that has ...