Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

344
Visualizações
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 Respostas
Responde à pergunta

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 Relatório

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda