<p>I use a kubernetes manifest file to deploy my code. My manifest typically has a number of things like Deployment, Service, Ingress, etc.. How can I perform a type of &quot;rollout&quot; or &quot;restart&quot; of everything that was applied with my manifest?</p>
<p>I know I can update my deployment say by running</p>
<pre><code>kubectl rollout restart deployment &lt;deployment name&gt; 
</code></pre>
<p>but what if I need to update all resources like ingress/service? Can it all be done together?</p>

alex
<p>I would recommend you to store your manifests, e.g. <code>Deployment</code>, <code>Service</code> and <code>Ingress</code> in a directory, e.g. <code>&lt;your-directory&gt;</code></p>
<p>Then use <code>kubectl apply</code> to &quot;apply&quot; those files to Kubernetes, e.g.:</p>
<pre><code>kubectl apply -f &lt;directory&gt;/
</code></pre>
<p>See more on <a href="https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/" rel="nofollow noreferrer">Declarative Management of Kubernetes Objects Using Configuration Files</a>.</p>
<p>When your <code>Deployment</code> is updated this way, your pods will be replaced with the new version during a rolling deployment (you can configure to use another deployment strategy).</p>
