jfuawdfaw
Re:Zero-Downtime Kubernetes Deployments on AWS with EKS
on Tuesday March 11, 2025 @12:56PM (#43334529)
> Pod Readiness Gates, unless I'm missing something, only help on startup.
Also allows graceful rollout of workload.
> You will still have the ALB sending traffic to a pod that's in terminating state
The controller watches endpoints and will remove your pod from target group on pod deletion.
You don't need the preStop scam as long as your workload respects SIGTERM and does lame-duck.
Re:Zero-Downtime Kubernetes Deployments on AWS with EKS
on Tuesday March 11, 2025 @12:51AM (#43329248)
Nobody should be using ASG's anymore. EKS Auto Mode or Karpenter.
Re:Zero-Downtime Kubernetes Deployments on AWS with EKS
on Tuesday March 11, 2025 @12:49AM (#43329237)
> A lot of this seems like the fault of the ALB, is it?
People forget to enable pod readiness gates.
Re:Zero-Downtime Kubernetes Deployments on AWS with EKS
on Tuesday March 11, 2025 @12:43AM (#43329210)
liveness is great for java apps that spend all their time fencing locks. I've seen too many completely deadlock.
Re:Zero-Downtime Kubernetes Deployments on AWS with EKS
on Tuesday March 11, 2025 @12:38AM (#43329196)
Curious, which framework are you using? I've had no issues with NodeJS, Go, and Rust apps directly behind ALB with IP-Target.