<p>I use skaffold for k8s based microservices app. I enter <code>skaffold dev</code> and <code>skaffold run</code> to run and <code>skaffold delete</code> to restart all microservices.</p>
<p>If I need to restart only one service, what must I do?</p>

Yasin Okumuş
<p>According to the <a href="https://skaffold.dev/docs/quickstart/" rel="nofollow noreferrer">docs</a>:</p>
<ul>
<li>Use <strong>skaffold dev</strong> to build and <strong>deploy</strong> your app <strong>every time your code changes</strong>,</li>
<li>Use <strong>skaffold run</strong> to build and <strong>deploy</strong> your app once, <strong>similar to a CI/CD pipeline</strong></li>
</ul>
<hr />
<p><strong>1</strong>. Deploy your services:</p>
<pre><code>    skaffold run --filename=skaffold_test_1.yaml
</code></pre>
<p>(in addition you can have multiple workflow configurations).</p>
<p><strong>2.</strong> Change your skaffold workflow configuration and run:</p>
<pre><code>skaffold delete --filename=skaffold_test2.yaml
</code></pre>
<p>Using this approach your deployments will be not removed like in the skaffold dev command after stopping skaffold.</p>
<p>Basically managing the content of the skaffold workflow configuration (by adding or removing additional entries allows you to deploy or remove particular service).</p>
<pre><code>apiVersion: skaffold/v1
kind: Config
.
.
.

deploy:
  kubectl:
    manifests:
    - k8s-service1.yaml
#   - k8s-service2.yaml    
</code></pre>
