<p>How to Stop/Start application deployed in the ArgoCD?</p>
<p>I see only <em>Delete</em> or <em>Sync</em> or deploy/redeploy options. I got running server applications and I'd like to stop (shutdown) temporarily their functionality in the cluster. Or I'm missing something in the concept?</p>
<p>Do I need to implement some kind of custom interface for my server applications to make start/stop functionality possible and communicate with my apps directly?  (so it is out of ArgoCD responsibility - i.e. it is <em>not</em> like Linux service management system - I need to implement this by myself at application level)</p>

<p>You can set the replica count to 0 so no pod will be created, without having to update your application code or remove the application from argocd.</p>
<p>You need to edit the definition of your deployment, setting the <code>replicas</code> to <code>0</code> like so:</p>
<pre><code>apiVersion: ...
kind: Deployment
spec:
  replicas: 0
  ...
</code></pre>
<p>This can be done in 2 ways:</p>
<ul>
<li>You can commit the changes in your config and sync argocd so they get applied,</li>
<li>Or you can do this directly from the argocd UI:
<ul>
<li>First disable the auto-sync (<code>App Details</code> &gt; <code>Summary</code> &gt; <code>Disable auto-sync</code>) so your changes don't get overwritten</li>
<li>Then edit the desired manifest of your deployment directly in the UI</li>
<li>When you want to rollback this change and re-deploy your app, simply sync and you will get your old config back</li>
</ul>
</li>
</ul>
