Skip to content

Commit

Permalink
Deployed c7fecc1 with MkDocs version: 1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
agarthetiger committed Jun 8, 2020
1 parent 2c7cb89 commit cd97267
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 38 deletions.
9 changes: 8 additions & 1 deletion openshift/oc-and-ansible-k8s/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1041,9 +1041,16 @@

<h1 id="oc-and-ansible-k8s">oc and Ansible k8s<a class="headerlink" href="#oc-and-ansible-k8s" title="Permanent link">&para;</a></h1>
<h2 id="oc">oc<a class="headerlink" href="#oc" title="Permanent link">&para;</a></h2>
<p>RedHat provide several CLIs to interact with OpenShift.</p>
<p>RedHat provide several CLIs to interact with OpenShift. With OpenShift 4.4 these include</p>
<ul>
<li><a href="https://docs.openshift.com/container-platform/4.4/cli_reference/openshift_cli/getting-started-cli.html">oc</a> - An operations-focussed tool for managing OpenShift clusters.</li>
<li><a href="ahttps://docs.openshift.com/container-platform/4.4/cli_reference/developer_cli_odo/understanding-odo.html">odo</a> - OpenShift Do, a developer-focussed tool for developing applications with OpenShift, intentionally abstracting away the complexities of OpenShift and Kubernetes. </li>
<li><a href="https://docs.openshift.com/container-platform/4.4/cli_reference/tkn_cli/installing-tkn.html">tkn</a> - Tekton CLI for interacting with Tekton, the Kubernetes-native build tool behind OpenShift Pipelines. </li>
<li><a href="https://docs.openshift.com/container-platform/4.4/serverless/knative_cli/knative-cli.html#knative-cli">kn</a> - Knative CLI for interacting with OpenShift Serverless.</li>
</ul>
<h2 id="ansible-k8s">Ansible k8s<a class="headerlink" href="#ansible-k8s" title="Permanent link">&para;</a></h2>
<p>Ansible supports working with Kubernetes via the k8s modules. These were included with Ansible up to v2.9 but when v2.10 is released this will need to be installed using the <a href="https://galaxy.ansible.com/community/kubernetes">community kubernetes collection</a>. Either way, this provides a potentially idempotent way to manage resources in Kubernetes. I say potentially because it's still possible to unintentionally use these modules in a non-idempotent manner, more on that later. </p>
<p>Ansible 2.7 through to 2.9 has seen additions to the k8s family of modules including <code class="codehilite">k8s_auth</code>, <code class="codehilite">k8s_service</code> and <code class="codehilite">k8s_info</code>, as well as enhancements like the addition of <code class="codehilite">wait</code>, <code class="codehilite">wait_timeout</code> and <code class="codehilite">wait_condition</code> to the k8s module. This <a href="https://www.ansible.com/blog/continuous-improvements-in-ansible-and-kubernetes-automation">Ansible blog post</a> provides some more details. </p>
<h2 id="convert-oc-cli-commands-to-ansible-k8s">Convert oc CLI commands to Ansible k8s<a class="headerlink" href="#convert-oc-cli-commands-to-ansible-k8s" title="Permanent link">&para;</a></h2>
<p>It may not be immediately apparent what K8s resources need to be created to provide parity with oc commands. Here is a rough guide to what you'll need to create with k8s in order to replicate oc commands. Note as always that when writing or updating automation, simply automating exactly what came before is not always optimal especially if the process being automated was manual. </p>
<p><code class="codehilite">oc new-app</code> - DeploymentConfig, ReplicationController, ImageStream, BuildConfig, Service</p>
Expand Down
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

72 changes: 36 additions & 36 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,182 +2,182 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://agarthetiger.github.io/mkdocs/</loc>
<lastmod>2020-06-07</lastmod>
<lastmod>2020-06-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://agarthetiger.github.io/mkdocs/ansible/collections/</loc>
<lastmod>2020-06-07</lastmod>
<lastmod>2020-06-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://agarthetiger.github.io/mkdocs/ansible/extending-ansible/</loc>
<lastmod>2020-06-07</lastmod>
<lastmod>2020-06-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://agarthetiger.github.io/mkdocs/ansible/filters/</loc>
<lastmod>2020-06-07</lastmod>
<lastmod>2020-06-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://agarthetiger.github.io/mkdocs/ansible/inventory-plugins/</loc>
<lastmod>2020-06-07</lastmod>
<lastmod>2020-06-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://agarthetiger.github.io/mkdocs/ansible/local-actions/</loc>
<lastmod>2020-06-07</lastmod>
<lastmod>2020-06-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://agarthetiger.github.io/mkdocs/ansible/lookup-plugins/</loc>
<lastmod>2020-06-07</lastmod>
<lastmod>2020-06-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://agarthetiger.github.io/mkdocs/ansible/playbooks/</loc>
<lastmod>2020-06-07</lastmod>
<lastmod>2020-06-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://agarthetiger.github.io/mkdocs/ansible/roles/</loc>
<lastmod>2020-06-07</lastmod>
<lastmod>2020-06-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://agarthetiger.github.io/mkdocs/ansible/selinux/</loc>
<lastmod>2020-06-07</lastmod>
<lastmod>2020-06-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://agarthetiger.github.io/mkdocs/ansible/tools/</loc>
<lastmod>2020-06-07</lastmod>
<lastmod>2020-06-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://agarthetiger.github.io/mkdocs/ansible/tower/</loc>
<lastmod>2020-06-07</lastmod>
<lastmod>2020-06-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://agarthetiger.github.io/mkdocs/ansible/vars-and-facts/</loc>
<lastmod>2020-06-07</lastmod>
<lastmod>2020-06-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://agarthetiger.github.io/mkdocs/bash/reference/</loc>
<lastmod>2020-06-07</lastmod>
<lastmod>2020-06-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://agarthetiger.github.io/mkdocs/cheat-sheets/ansible/</loc>
<lastmod>2020-06-07</lastmod>
<lastmod>2020-06-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://agarthetiger.github.io/mkdocs/cheat-sheets/jenkins/</loc>
<lastmod>2020-06-07</lastmod>
<lastmod>2020-06-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://agarthetiger.github.io/mkdocs/cheat-sheets/markdown/</loc>
<lastmod>2020-06-07</lastmod>
<lastmod>2020-06-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://agarthetiger.github.io/mkdocs/cheat-sheets/python/</loc>
<lastmod>2020-06-07</lastmod>
<lastmod>2020-06-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://agarthetiger.github.io/mkdocs/cheat-sheets/vagrant/</loc>
<lastmod>2020-06-07</lastmod>
<lastmod>2020-06-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://agarthetiger.github.io/mkdocs/jenkins/JenkinsPlugins/</loc>
<lastmod>2020-06-07</lastmod>
<lastmod>2020-06-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://agarthetiger.github.io/mkdocs/jenkins/PipelineDSL/</loc>
<lastmod>2020-06-07</lastmod>
<lastmod>2020-06-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://agarthetiger.github.io/mkdocs/jenkins/PipelineSteps/</loc>
<lastmod>2020-06-07</lastmod>
<lastmod>2020-06-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://agarthetiger.github.io/mkdocs/jenkins/administration/</loc>
<lastmod>2020-06-07</lastmod>
<lastmod>2020-06-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://agarthetiger.github.io/mkdocs/jenkins/jengu/</loc>
<lastmod>2020-06-07</lastmod>
<lastmod>2020-06-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://agarthetiger.github.io/mkdocs/linux/ius/</loc>
<lastmod>2020-06-07</lastmod>
<lastmod>2020-06-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://agarthetiger.github.io/mkdocs/openshift/glossary/</loc>
<lastmod>2020-06-07</lastmod>
<lastmod>2020-06-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://agarthetiger.github.io/mkdocs/openshift/oc-and-ansible-k8s/</loc>
<lastmod>2020-06-07</lastmod>
<lastmod>2020-06-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://agarthetiger.github.io/mkdocs/puppet/puppet/</loc>
<lastmod>2020-06-07</lastmod>
<lastmod>2020-06-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://agarthetiger.github.io/mkdocs/python/mkdocs/</loc>
<lastmod>2020-06-07</lastmod>
<lastmod>2020-06-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://agarthetiger.github.io/mkdocs/python/packages/</loc>
<lastmod>2020-06-07</lastmod>
<lastmod>2020-06-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://agarthetiger.github.io/mkdocs/python/resources/</loc>
<lastmod>2020-06-07</lastmod>
<lastmod>2020-06-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://agarthetiger.github.io/mkdocs/raspberry-pi/adafruit-mini-pi-tft/</loc>
<lastmod>2020-06-07</lastmod>
<lastmod>2020-06-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://agarthetiger.github.io/mkdocs/raspberry-pi/blinkt/</loc>
<lastmod>2020-06-07</lastmod>
<lastmod>2020-06-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://agarthetiger.github.io/mkdocs/raspberry-pi/raspbian-commands/</loc>
<lastmod>2020-06-07</lastmod>
<lastmod>2020-06-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://agarthetiger.github.io/mkdocs/raspberry-pi/raspberry-pi-cluster/part-1/</loc>
<lastmod>2020-06-07</lastmod>
<lastmod>2020-06-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://agarthetiger.github.io/mkdocs/terraform/resources/</loc>
<lastmod>2020-06-07</lastmod>
<lastmod>2020-06-08</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>
Binary file modified sitemap.xml.gz
Binary file not shown.

0 comments on commit cd97267

Please sign in to comment.