<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>2. Day 2-operations on OpenShift Operations Training</title><link>/docs/02/</link><description>Recent content in 2. Day 2-operations on OpenShift Operations Training</description><generator>Hugo</generator><language>en-us</language><atom:link href="/docs/02/index.xml" rel="self" type="application/rss+xml"/><item><title>2.1 Infrastructure nodes</title><link>/docs/02/01_infra-nodes/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/docs/02/01_infra-nodes/</guid><description>&lt;p&gt;Not exactly a day 2-operations task, but one that immensily simplifies operations.
The concept of infrastructure nodes was more prominently advertised by Red Hat when OpenShift 3 was the latest and greatest.
This evidently changed somehow for OpenShift 4, but with a bit of legwork we&amp;rsquo;re able to create those, too.&lt;/p&gt;
&lt;p&gt;Infra nodes are dedicated worker nodes intended for infrastructure components such as the image registry, routers or the whole monitoring stack.
Providing dedicated nodes helps ensuring that there&amp;rsquo;s always enough resources for infrastructure components.&lt;/p&gt;</description></item><item><title>2.2 Infrastructure components</title><link>/docs/02/02_infra-components/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/docs/02/02_infra-components/</guid><description>&lt;p&gt;Now that we have fresh infra nodes up and running, let&amp;rsquo;s see to it that they have something to do.
The usual suspects to run on infrastructure nodes are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;routers&lt;/li&gt;
&lt;li&gt;registry&lt;/li&gt;
&lt;li&gt;most of the monitoring components&lt;/li&gt;
&lt;li&gt;most of the logging components&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Red Hat provides a detailed &lt;a href="https://docs.openshift.com/container-platform/latest/machine_management/creating-infrastructure-machinesets.html#infrastructure-components_creating-infrastructure-machinesets" target="_blank" rel="noopener"&gt;list of what components don&amp;rsquo;t incur OpenShift Container Platform worker subscriptions&lt;/a&gt;
.
So if you have any other components listed there that are not going to be looked at in this training, it could make perfect sense to move these components as well.&lt;/p&gt;</description></item><item><title>2.3 Restore</title><link>/docs/02/03_restore/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/docs/02/03_restore/</guid><description>&lt;h2 id="task-231-restoring-user-workload-backups"&gt;Task 2.3.1: Restoring user workload backups&lt;/h2&gt;
&lt;p&gt;In the backup lab you created a scheduled backup of all resources in namespace &lt;code&gt;uptime-app-prod&lt;/code&gt;. Now we are going to test the restore procedure.&lt;/p&gt;


&lt;div class="alert alert-secondary" role="alert"&gt;
&lt;h4 class="alert-heading"&gt;Warning&lt;/h4&gt;

To keep your restore time as short as possible, make sure you read through the whole procedure, understand it and maybe even prepare all resources for the restore before deleting the project!

&lt;/div&gt;

&lt;p&gt;Make sure you read above warning, then go ahead and delete the project &lt;code&gt;uptime-app-prod&lt;/code&gt;.&lt;/p&gt;</description></item><item><title>2.4 Update</title><link>/docs/02/04_update/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/docs/02/04_update/</guid><description>&lt;p&gt;In this lab we will update our OpenShift 4 cluster to the latest stable errata release.&lt;/p&gt;
&lt;p&gt;Updating an OpenShift 4 cluster is a fully automated process that is managed by several cluster operators. If the cluster has Internet access, updates are provided over-the-air, otherwise you need to synchronize the new images to an internal registry prior to starting the update or use a pull-through registry.&lt;/p&gt;
&lt;p&gt;Check &lt;a href="https://docs.openshift.com/container-platform/latest/updating/updating-restricted-network-cluster.html" target="_blank" rel="noopener"&gt;&amp;ldquo;Updating a restricted network cluster&amp;rdquo;&lt;/a&gt;
 for details on updating a cluster in a disconnected environment.&lt;/p&gt;</description></item><item><title>2.5 Worker nodes</title><link>/docs/02/05_worker-nodes/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/docs/02/05_worker-nodes/</guid><description>&lt;p&gt;We initially installed this cluster using only worker nodes.
We then successfully created infra nodes and moved all infrastructure components onto them.
Now, essentially the only real workload that&amp;rsquo;s running on the 3 worker nodes is our uptime application.&lt;/p&gt;
&lt;p&gt;Without going into detail yet on how and where you can find dashboards and metrics for capacity monitoring, it&amp;rsquo;s safe to say that one small Python app doesn&amp;rsquo;t need 3 worker nodes with 8 CPU cores and 32 GB of memory.
So we are going to decrease the number of worker nodes to 2 and also reduce their size.&lt;/p&gt;</description></item><item><title>2.6 Control plane nodes</title><link>/docs/02/06_masters/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/docs/02/06_masters/</guid><description>&lt;div class="alert alert-secondary" role="alert"&gt;
&lt;h4 class="alert-heading"&gt;Note&lt;/h4&gt;

While many occurrences of &amp;ldquo;master&amp;rdquo; have been replaced throughout OpenShift and Kubernetes, this is unfortunately not yet the case for &lt;code&gt;Machine&lt;/code&gt; resources. This is why you are going to encounter a mixture of &amp;ldquo;control plane&amp;rdquo; and &amp;ldquo;master&amp;rdquo; terms in this lab.

&lt;/div&gt;

&lt;p&gt;During this lab, we will learn how to replace a failed control plane node. As long as we do not lose the majority of our control plane nodes, we can simply replace those that failed. If we lose the majority (e.g., 2 out of 3), we need to restore the state of &lt;code&gt;etcd&lt;/code&gt; from a previously created snapshot, which will not be covered in this lab.&lt;/p&gt;</description></item></channel></rss>