Bug Report
What is the issue?
Pods that are controlled by Jobs are not terminating when the main container exits
How can it be reproduced?
Create a job with linkerd sidecar container
Logs, error output, etc
main container logs are as usual, sidecar container logs are as usual
linkerd check output
Status check results are [ok]
Environment
- Kubernetes Version: 1.11.4
- Cluster Environment: AWS (kops)
- Host OS: Container Linux by CoreOS 1911.3.0 (Rhyolite)
- Linkerd version: edge-18.11.2 (client and server)
Possible solution
I think that when a container within a pod controlled by a Job completes, the sidecar should exit as well.
Additional context
The sidecar was created using linkerd inject