<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>9. Additional Concepts on ArgoCD Basics Training</title><link>https://deploy-preview-353--argocd-basics-puzzle.netlify.app/docs/additional/</link><description>Recent content in 9. Additional Concepts on ArgoCD Basics Training</description><generator>Hugo</generator><language>en</language><atom:link href="https://deploy-preview-353--argocd-basics-puzzle.netlify.app/docs/additional/index.xml" rel="self" type="application/rss+xml"/><item><title>9.1 Orphaned Resources</title><link>https://deploy-preview-353--argocd-basics-puzzle.netlify.app/docs/additional/orphaned_resources/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-353--argocd-basics-puzzle.netlify.app/docs/additional/orphaned_resources/</guid><description>&lt;p>This lab contains demonstrates how to find orphaned top-level resources with Argo CD. Orphaned resources are not managed by Argo CD and could be potentially removed from cluster.&lt;/p>
&lt;h2 id="task-911-create-application-and-project">Task 9.1.1: Create application and project&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>argocd app create argo-&lt;span style="color:#000">$USER&lt;/span> --repo https://github.com/acend/argocd-training-examples.git --path &lt;span style="color:#4e9a06">&amp;#39;example-app&amp;#39;&lt;/span> --dest-server https://kubernetes.default.svc --dest-namespace &lt;span style="color:#000">$USER&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>argocd app sync argo-&lt;span style="color:#000">$USER&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Create new Argo CD project without restrictions for Git source repository (&amp;ndash;src) nor destination cluster/namespace (&amp;ndash;dest)&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>argocd proj create --src &lt;span style="color:#4e9a06">&amp;#34;*&amp;#34;&lt;/span> --dest &lt;span style="color:#4e9a06">&amp;#34;*,*&amp;#34;&lt;/span> apps-&lt;span style="color:#000">$USER&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Enable visualization and monitoring of Orphaned Resources for the newly created project &lt;code>apps-&amp;lt;username&amp;gt;&lt;/code>&lt;/p></description></item><item><title>9.2 Backup and Restore</title><link>https://deploy-preview-353--argocd-basics-puzzle.netlify.app/docs/additional/backup_restore/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-353--argocd-basics-puzzle.netlify.app/docs/additional/backup_restore/</guid><description>&lt;div class="alert alert-warning" role="alert">
&lt;h4 class="alert-heading">Warning&lt;/h4>

This Lab only works on your local machine.

&lt;/div>

&lt;h2 id="backup-and-restore">Backup and Restore&lt;/h2>
&lt;p>As ArgoCD holds the whole state in native Kubernetes objects it&amp;rsquo;s quite straightforward to make a backup and restore it in case of a disaster recovery.&lt;/p>
&lt;p>ArgoCD provides the utility &lt;a href="https://argoproj.github.io/argo-cd/operator-manual/server-commands/argocd-util" target="_blank" rel="noopener">argocd-util&lt;/a>
 which is used by ArgoCD internally. The functions &lt;a href="https://argoproj.github.io/argo-cd/operator-manual/server-commands/argocd-util_export" target="_blank" rel="noopener">export&lt;/a>
 and &lt;a href="https://argoproj.github.io/argo-cd/operator-manual/server-commands/argocd-util_import" target="_blank" rel="noopener">import&lt;/a>
 can be used for backup and restore of a ArgoCD instance.&lt;/p>
&lt;p>As the tool is contained inside the ArgoCD server image you just can execute it from inside the container.&lt;/p></description></item></channel></rss>