<p>I've deployed Spring Cloud Data Flow server on a local Kubernetes cluster. All seems fine. 
Then I create an App of type <code>Task</code>, giving the URL of a Spring-Boot JAR.
Then I create a task 'definition' and launch it. 
The task definition hangs  in status 'launching'. </p>

<p>Here are my findings: </p>

<ol>
<li><p>Looking at Kubernetes, I see the a pod corresponding to the task correctly created but failing to start, with status <code>ImagePullBackOff</code></p></li>
<li><p>This pod is configured with <code>image: /tmp/deployer-resource-cache5494152820122807128/https-60030cec0dd24157b95f59cd3e5b0819916e4adc</code>, and the logs show the message:</p>

<blockquote>
  <p>Failed to pull image "/tmp/deployer-resource-cache5494152820122807128/https-60030cec0dd24157b95f59cd3e5b0819916e4adc": couldn't parse image reference "/tmp/deployer-resource-cache5494152820122807128/https-60030cec0dd24157b95f59cd3e5b0819916e4adc": invalid reference format</p>
</blockquote></li>
<li><p>I connect to the SCDF server pod shell, check out the <code>/tmp</code> folder, and see the <code>deployer-resource-cache5494152820122807128</code> folder there. </p></li>
</ol>

<p>My understanding is SCDF creates a temp image to be executed in the Kubernetes pod, but this image is created <em>inside</em> the scdf server pod, so it's obviously not available from the task pod.</p>

<p>My question is how is this supposed to work? </p>

<p>In my opinion the image should be pushed to a registry, or stored on a shared volume somehow, but I didn't find anything on the topic in the documentation. 
Any idea or suggestion would be appreciated. </p>

<p>What you are trying to do will not work for Spring Cloud Dataflow for Kubernetes. In the Kubernetes implementaton, only Docker images are supported as a deployment artifact.</p>

<p>Currently this fact is not explicitly mentioned in the documentation.
Check out <a href="https://github.com/spring-cloud/spring-cloud-dataflow-server-kubernetes/issues/157#issuecomment-265722115" rel="nofollow noreferrer">this</a> and <a href="https://github.com/spring-cloud/spring-cloud-dataflow/issues/1049" rel="nofollow noreferrer">this</a> issue</p>
