<p>We have a bunch of pods running in dev environment. The pods are auto-provisioned by an application on every business action. The problem is that across various namespaces they are accumulating and eating available resources in EKS. </p>

<p>Is there a way without jenkins/k8s jobs to simply put some parameter on the pod manifest to tell it to self destruct say in 24 hours?</p>

Aubergine
<p>Add to your pod.spec:</p>

<pre><code>activeDeadlineSeconds: 86400
</code></pre>

<p>After deadline your Pod will be stopped for good with the status <code>DeadlineExceeded</code></p>
