Skip to content

Commit

Permalink
[CI] Publish Documentation for 19d4706 - 19d4706 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
gnunn1 committed Oct 16, 2023
1 parent e72ffc6 commit 0e3a213
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 7 deletions.
6 changes: 3 additions & 3 deletions argo-rollouts-workshop/main/02-workshop-overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ <h3 id="_clone_the_repository"><a class="anchor" href="#_clone_the_repository"><
</div>
<div class="listingblock console-input">
<div class="content">
<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">cd argo-rollouts-workshop/documentation/modules/ROOT/examples/</code></pre>
<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">cd ~/argo-rollouts-workshop/documentation/modules/ROOT/examples/</code></pre>
</div>
</div>
<div class="admonitionblock important">
Expand Down Expand Up @@ -323,7 +323,7 @@ <h3 id="_deploy_development"><a class="anchor" href="#_deploy_development"></a>D
Kubernetes Deployment so that we can compare and contrast the behavior with Argo Rollouts.</p>
</div>
<div class="paragraph">
<p>To view the code that we will be using, examine the code in <code>code/deploy/base</code>:</p>
<p>To view the code that we will be using, examine the code in <code>./deploy/base</code>:</p>
</div>
<div class="listingblock console-input">
<div class="content">
Expand Down Expand Up @@ -442,7 +442,7 @@ <h3 id="_deploy_development"><a class="anchor" href="#_deploy_development"></a>D
</div>
<div class="paragraph">
<p>Once you have run the command we can confirm that the deployment has run successfully. Use the following command to ensure
that the pod is up and running:</p>
that the pods are up and running:</p>
</div>
<div class="listingblock console-input">
<div class="content">
Expand Down
38 changes: 38 additions & 0 deletions argo-rollouts-workshop/main/03-bluegreen-rollout.html
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,44 @@ <h2 id="deploy-blue-green-rollout"><a class="anchor" href="#deploy-blue-green-ro
<div class="paragraph">
<p>Finally we have two Route objects for active and preview with each tied to their respective service.</p>
</div>
<div class="paragraph">
<p>To deploy the blue-green rollout, use the following command to process the kustomization:</p>
</div>
<div class="listingblock console-input">
<div class="content">
<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">oc apply -k ./bluegreen/base -n user%USERNUM%-prod</code></pre>
</div>
</div>
<div class="paragraph">
<p>Once you have run the command we can confirm that the rollout has deployed successfully. Use the following command to ensure
that the pods are up and running:</p>
</div>
<div class="listingblock console-input">
<div class="content">
<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">oc get pods -n user%USERNUM%-prod</code></pre>
</div>
</div>
<div class="paragraph">
<p>The console should return something along the lines of</p>
</div>
<div class="listingblock console-output">
<div class="content">
<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">NAME READY STATUS RESTARTS AGE
rollouts-demo-785c8b55cb-m5mzg 1/1 Running 0 6m51s
rollouts-demo-785c8b55cb-trvsd 1/1 Running 0 6m51s</code></pre>
</div>
</div>
<div class="paragraph">
<p>There are two pods since the Rollout specified two replicas.</p>
</div>
<div class="paragraph">
<p>Next Open the Route for this application. It&#8217;s in the <code>user%USERNUM%-dev1</code> Project.</p>
</div>
<div class="listingblock console-input">
<div class="content">
<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">oc get route -n user%USERNUM%-dev rollouts-demo -o jsonpath='{"http://"}{.spec.host}{"\n"}'</code></pre>
</div>
</div>
</div>
</div>
<nav class="pagination">
Expand Down
8 changes: 4 additions & 4 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://openshiftdemos.github.io/argo-rollouts-workshop/argo-rollouts-workshop/main/01-getting-started.html</loc>
<lastmod>2023-10-16T20:53:41.151Z</lastmod>
<lastmod>2023-10-16T21:18:37.562Z</lastmod>
</url>
<url>
<loc>https://openshiftdemos.github.io/argo-rollouts-workshop/argo-rollouts-workshop/main/02-workshop-overview.html</loc>
<lastmod>2023-10-16T20:53:41.151Z</lastmod>
<lastmod>2023-10-16T21:18:37.562Z</lastmod>
</url>
<url>
<loc>https://openshiftdemos.github.io/argo-rollouts-workshop/argo-rollouts-workshop/main/03-bluegreen-rollout.html</loc>
<lastmod>2023-10-16T20:53:41.151Z</lastmod>
<lastmod>2023-10-16T21:18:37.562Z</lastmod>
</url>
<url>
<loc>https://openshiftdemos.github.io/argo-rollouts-workshop/argo-rollouts-workshop/main/index.html</loc>
<lastmod>2023-10-16T20:53:41.151Z</lastmod>
<lastmod>2023-10-16T21:18:37.562Z</lastmod>
</url>
</urlset>

0 comments on commit 0e3a213

Please sign in to comment.