<p>I created a Pod that have <code>@EnableTaskLauncher</code> with <code>spring-cloud-deployer-kubernetes</code>. It is receiving task requests through <code>spring-cloud-stream</code> and launching the tasks.</p>

<p>Everything is working perfectly except that I want the task to be launched as <code>Kind: Job</code> instead of <code>Kind: Deployment</code> .</p>

<p>I could not find any configuration or property in <code>spring-cloud-deployer-kubernetes</code> that do this or if it is available .</p>

<p>We moved away from the Jobs to Bare-pods model for Spring Cloud Task (in SCDF) to better control its lifecycle such as the clean shutdown of the container when the SCT-operation is complete.</p>

<p>However, there's <a href="https://github.com/spring-cloud/spring-cloud-deployer-kubernetes/pull/163" rel="nofollow noreferrer">spring-cloud/spring-cloud-deployer-kubernetes#163</a> that adds an option to choose between Jobs vs. Pods for Tasks. Please try it out and give us feedback on the PR. </p>
