<p>I am following the ISTIO tutorial for Service Mesh, and I am having problems to copy one of the steps they do.</p>
<pre><code>https://docs.huihoo.com/microservices/introducing-istio-service-mesh-for-microservices.pdf
</code></pre>
<p>They have a java application called Recommendation, which they deploy twice.</p>
<pre><code>docker build -t example/recommendation:v1 .
docker build -t example/recommendation:v2 .
</code></pre>
<p>I have a Java application, TEST, deployed in OpenShift which I want to copy and change the version, so I have TEST-V1 and TEST-V2. How can I do it? Do I need to deploy the application twice with different Deployment.yaml?</p>
<p>Thanks in advance.</p>

shurohige
<blockquote>
<p>How can I do it? Do I need to deploy the application twice with different Deployment.yaml?</p>
</blockquote>
<p>Basically - yes. At the end, what you need, are two service endpoints pointing to different pods. You may place the service endpoints into the same deployment file, but for sake of robustness I'd use complete different deployment.</p>
