Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

337
Views
Kubernetes AWS Fargate (EKS) continuously terminating pod hosting React service

I am using AWS EKS (managed Kubernetes service) and Fargate (managed nodes) to deploy a pod running a nodejs React service on port 5000. The pod switches from "Running" state to "Terminating" state continuously immediately after deployment to Fargate. Eventually, it settles on "Running". Other pods are running fine on Fargate.

I am unable to view the logs due to Kubernetes reporting net/http: TLS handshake timeout .

The service is fronted by AWS Application Load Balancer (ALB). In the target group, I can see continuous registration and deregistration of the pod/node IP.

How can I troubleshoot this further?

over 4 years ago ยท Santiago Trujillo
2 answers
Answer question

0

Some ways to troubleshoot:

  • With kubectl, if your pods are run with a K8s deployment:
    kubectl describe deployment <deployment-name> ๐Ÿ‘ˆ check for events
    
  • With kubectl, before the pod goes into Terminating
    kubectl logs <pod-id>
    kubectl describe pod <pod-id> ๐Ÿ‘ˆ check for events
    
  • Check EKS control plane logs in the S3 bucket where you are sending them to.

The idea is here is to troubleshoot with the Kubernetes tools.

over 4 years ago ยท Santiago Trujillo Report

0

It appears the React service was taking a long time to start due the compute allocation 0.25 vCPU and 0.5 GB, and eventually failing after 10 minutes. We set the following resource requests and limits in the deployment manifest. The pod starts within a couple of minutes without problems.

          resources:
            limits:
              cpu: 1000m
              memory: 2000Mi
            requests:
              cpu: 800m
              memory: 1500Mi
over 4 years ago ยท Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
ยฉ 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!