cloud-sql-proxy-operator icon indicating copy to clipboard operation
cloud-sql-proxy-operator copied to clipboard

Pod kept alive even on non-zero exit code container

Open pocesar opened this issue 1 year ago • 0 comments

Expected Behavior

The CSQL container exits when the main container exits on non-zero exit code

Actual Behavior

The pod is kept alive when the main container in terminated but the CQSL container keeps running

Steps to Reproduce the Problem

  1. Created a Deployment with only one container called main and a Service
  2. Created AuthProxyWorkload
  3. main container exited with 137 due to probes
  4. csql container keeps the pod up even if it's non-functional

Specifications

  • Version: 1.5.1
  • Platform: GKE

pocesar avatar Oct 02 '24 17:10 pocesar