Questions tagged [eks]
The eks tag has no usage guidance.
37
questions
3
votes
1
answer
3k
views
Deploying an AWS Load Balancer Controller for EKS Fargate API service
Context
I'm trying to deploy a containerised API service to an EKS Fargate cluster and have it service requests from external internet addresses as an over-engineered POC/learning experience. I'm ...
2
votes
1
answer
2k
views
EKS Pods with ephemeral-storage constantly evicted
I'm working on EKS v1.20.11-eks-f17b81 and I'm facing an issue with a Java container Alpine based. Basically my deployment have the limits of ephemeral-storage for the request's and also the limit's ...
1
vote
2
answers
4k
views
Grafana pod is not running, how to fix that?
I have deployed grafana in eks using the steps provided in this link
After deployment of grafana, the pod is not in running state.
kubectl get po -n grafana
NAME READY STATUS ...
1
vote
0
answers
106
views
AWS Ingress-nginx loadbalancer: Targets are not within enabled Availability Zones
I have an EKS cluster with the following set up
2 VPCS 1 prod, 1 stage
each vpc has 3 subnets 1 public and 2 private
each vpc has 1 internet gateway and 1 nat gateway
The private subnets are connected ...
1
vote
1
answer
106
views
Terraform resources not getting destryoed from terminal
I wanted to destroy the DEV environment from my Kubernetes hosted on AWS EKS. There are two parts to the resources; the infrastructure part and the application part. I use Terraform/Terragrunt to ...
1
vote
1
answer
768
views
How do I configure EKS (Amazon Kubernetes) to use a different docker image repository?
You’d expect a wuestion this simple would have an amazon tutorial or documentation, but I can’t find any.
How do I configure an EKS cluster to connect to a different self hosted docker registry? I ...
0
votes
2
answers
16k
views
AWS EKS add-on coredns status as degraded and node group creation failed( is unable to join Cluster)
I'm trying to create node group on EKS Cluster(region = ap-south-1) but it is failing to join cluster. Health issues : NodeCreationFailure Instances failed to join the kubernetes cluster
I found that ...
0
votes
1
answer
103
views
Unable to start the container from docker image/ Its failing if we add CMD to start filebeat or fluentd agent
am unable to start the container from the docker image that builds from below Dockerfile It's failing if we add CMD to start filebeat or fluentd agent.
Dockerfile
######################################...
0
votes
1
answer
119
views
Traffic is not being spread evenly between replicas of OpenFaas functions
As per this documentation, I have configured direct_functions to false, which allows the provider to balance traffic between replicas of OpenFaas functions. But it sends the traffic to only one ...
0
votes
1
answer
38
views
k8s pods on different EKS nodes not getting traffic
I have eks cluster with two nodes, I have four k8s services deployed in the cluster, two of them are in node-1 and the other two in node-2. I have have a Kong api gateway in front of these k8s ...
0
votes
1
answer
44
views
Unable to start metrics server on eks fargate
I am trying to implement eks on fargate. I want to deploy metrics server on eks fargate. I am following official documentation from aws on eks.
https://docs.aws.amazon.com/eks/latest/userguide/metrics-...
0
votes
1
answer
68
views
Not possible to update Helm AWS TargetGroupBinding
I have a helm chart that contains a TargetGroupBinding
{{- range $v := .Values.targetBindings }}
apiVersion: elbv2.k8s.aws/v1beta1
kind: TargetGroupBinding
metadata:
name: {{ include "...
0
votes
1
answer
21
views
AWS EKS DNS Error(Subnet B succeeds, connection C fails)
I am configuring EKS. I am using US-West-1 and configuring it on V1.29.
The current problem is that when you create a nodeGroup in EKS, add a node, and operate it, the DNS connection fails for the ...
0
votes
0
answers
72
views
Docker inside Jenkins Container running in EKS
I'm running a jenkins container in EKS and everything is working fine except when one of the pipelines has to build docker images.
I've installed docker cli on my image but when i shell into the ...
0
votes
0
answers
47
views
Kubernetes pod name or print something unique in the pod logs entries or any alternative (rsyslog implementation)
I have implemented Rsyslog server for fetch the pod logs from EKS nodes (Rsyslog client). Everything is working fine but in the logs I need pod name or something uniq to identify the log entries ...
0
votes
0
answers
42
views
Rancher with AWS LB controller fails health checks
I'm trying to launch Rancher with the AWS LB controller and i'm getting health checks failed for the ingress. Can someone please look at my set up and let me know if something that's obvious?
EKS ...
0
votes
1
answer
286
views
AWS VPC CNI PLUGIN - Error: container runtime network not ready due to NetworkPluginNotReady - How to Resolve
I am facing difficulty in this, maybe the answer is simple so if someone knows the answer, please comment here.
I have created an EKS cluster using the following manifest.
apiVersion: eksctl.io/...
0
votes
0
answers
107
views
Terraform, EKS and cluster-autoscaler
I'm trying to deploy cluster-autoscaler to an existing EKS cluster. here's my terraform code:
resource "aws_iam_policy" "cluster_autoscaler" {
name = "...
0
votes
0
answers
40
views
Data written to PVC using job pod is not available in main POD
I have a job pod with a bash script that executes and writes data to the PVC, however, the same data is not available when I check in from the main POD, both the deployment & job use the same PVC, ...
0
votes
0
answers
247
views
The "count" value depends on resource attributes that cannot be determined until apply, Terraform cannot predict how many instances will be created
I am trying to create EKS cluster with manages nodegroup and I want to execute shell script that hardens worker nodes and sets proxy settings before cluster bootstrapp.
here is my "main.tf" ...
0
votes
0
answers
190
views
EKS coredns resolve eks.us-east-1.amazonaws.com
Can't resolve eks.us-east-1.amazonaws.com
kubectl exec -i -t dnsutils -- nslookup eks.us-east-1.amazonaws.com
Server: 10.100.0.10
Address: 10.100.0.10#53
Non-authoritative answer:
*** ...
0
votes
1
answer
400
views
How can i get cilium to pass the failing connectivity test
I am trying to deploy cilium to my eks cluster, for context, this cluster is a private cluster running behind a private subnet, and routed to the internet through a NAT gateway and then an internet ...
0
votes
0
answers
115
views
Want to use user_data (hardening script) for EKS nodegroups with EKS module (Hashicorp provided)
I am using EKS terraform module (https://github.com/terraform-aws-modules/terraform-aws-eks) to create EKS cluster and it is working fine.
I have written shell script to harden EKS worker and I want ...
0
votes
0
answers
128
views
Spot instance sometime slow down and loss connection
I have a system deployed in AWS EKS, sometimes spot instances metrics is down, and API call to these nodes are very slow. Here is my system:
1 EKS cluster
1 on-demand node group
1 Karpenter v0.29.2 ...
0
votes
0
answers
39
views
Assign permission to EKS cluter using IAM groups
Following this tutorial: https://archive.eksworkshop.com/beginner/091_iam-groups/test-cluster-access/ - Which I believe is missing the point it is trying to make, by assuming the role directly at the ...
0
votes
0
answers
748
views
Unable to save jenkins system configuration, how to fix that?
I am running jenkins in eks cluster.
Till yesterday it worked, but today when I want to change any configuration in the jenkins system configuration page, it is not saving anything and page is also ...
0
votes
0
answers
631
views
eks ingress-nginx gives 502 error (Bad Gateway)
There is 1 bundle and there are 2 PCBs in the cluster. Backend service and front service exist respectively, and nginx-ingress was explained in detail through the host. Now I tried to install nginx-...
0
votes
1
answer
822
views
EKS cluster access - aws-auth : add groups in mapRoles
i try to access an EKS cluster on AWS with AWS Account (same i use for the console)
steps i followed :
aws configure with info provided in the "Command line or programmatic access" (AWS ...
0
votes
1
answer
2k
views
How do i add a security group as an inbound rule to another security group in terraform
I have a Terraform codebase which deploys a private EKS cluster, a bastion host and other AWS services. I have also added a few security groups to the in Terraform. One of the security groups allows ...
0
votes
1
answer
2k
views
Pods stuck at terminating stage and the PVC, how to fix that?
My kubernetes cluster got stuck at terminating state.
below is the current state.
pods:
kubectl get po
NAME READY STATUS RESTARTS AGE
dashboard-0 1/1 Terminating 0 ...
0
votes
0
answers
1k
views
Configure EKS to use Nexus Private Docker Registry (HTTP/HTTPS)
I've created an EKS cluster on AWS along with Nexus Repository on DigitalOcean using Terraform & Ansible.
Also I've not created any SSL for the Nexus Repository, so it is "http."
...
0
votes
0
answers
281
views
Does AWS EKS provides a DNS wildcard CNAME that will point to all Kubernetes active worker nodes?
Usually, when i use a managed Kubernetes from various clouds, once i create a managed Kubernetes cluster, i am given a DNS wildcard CNAME such as *.536642b.nodes.k8s.fr-par.scw.cloud that will ...
0
votes
0
answers
201
views
Temporarily take kubernetes cluster offline
I have a kuberbetes cluster running in EKS. We use it for testing periodically but mainly it just sits there with all its nodes and costing us.
I am looking for the most elegant way to turn it off so ...
0
votes
0
answers
1k
views
AWS ELB(classic load balancer) response is too slow and sometimes response is not coming it is showing timed out
I have EKS cluster setup in private subnet in which i'm having my microservices and for each microservice i have classic load balancer to access API. But response is having high latency and sometimes ...
0
votes
1
answer
342
views
Hashicorp Vault - AWS EKS vs EC2
Is it possible to install a Hashicorp Vault cluster to EC2 only or is EKS required and would there be a big advantage to one over the other?
0
votes
1
answer
501
views
consul: increased the replicaset but new pods are not starting and getting Init:CrashLoopBackOff, how to fix that?
With single replicaset, the application is working.
So I changed the replicaset to 3.
Then, the other two copies of pods are not starting.:
kubectl get pods
customservice-c8645cd6-7gghm ...
0
votes
1
answer
99
views
Force deployment on Rancher when AWS CodeBuild produces a new container image
I have a Rancher 2.5 cluster running on AWS EKS. My CI is done in CodeBuild via a webhook to a Github repo. The buildspec.yml works fine to run the build, tag the containers and then send them to my ...