Skip to content

Commit 9a4eebe

Browse files
authored
Merge pull request #63035 from ShaunaDiaz/OSDOCS-7087
OSDOCS-7087: remove "optional" from greenboot
2 parents e1826c2 + aa30633 commit 9a4eebe

6 files changed

+9
-22
lines changed

microshift_install/microshift-greenboot.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ include::_attributes/attributes-microshift.adoc[]
66

77
toc::[]
88

9-
Greenboot is the generic health check framework for the `systemd` service on RPM-OSTree-based systems. The `microshift-greenboot` RPM and `greenboot-default-health-checks` are optional RPM packages you can install. Greenboot is used to assess system health and automate a rollback to the last healthy state in the event of software trouble.
9+
Greenboot is the generic health check framework for the `systemd` service on RPM-OSTree-based systems. The `microshift-greenboot` RPM and `greenboot-default-health-checks` are RPM packages installed with {product-title}. Greenboot is used to assess system health and automate a rollback to the last healthy state in the event of software trouble.
1010

1111
This health check framework is especially useful when you need to check for software problems and perform system rollbacks on edge devices where direct serviceability is either limited or non-existent. When health check scripts are installed and configured, health checks run every time the system starts.
1212

1313
Using greenboot can reduce your risk of being locked out of edge devices during updates and prevent a significant interruption of service if an update fails. When a failure is detected, the system boots into the last known working configuration using the `rpm-ostree` rollback capability.
1414

15-
A {product-title} health check script is included in the `microshift-greenboot` RPM. The `greenboot-default-health-checks` RPM includes health check scripts verifying that DNS and `ostree` services are accessible. You can also create your own health check scripts based on the workloads you are running. You can write one that verifies that an application has started, for example.
15+
A {product-title} application health check script is included in the `microshift-greenboot` RPM. The `greenboot-default-health-checks` RPM also includes health check scripts verifying that DNS and `ostree` services are accessible. In addition, you can create your own health check scripts for the workloads you are running. You can write one that verifies that an application has started, for example.
1616

1717
[NOTE]
1818
====
@@ -39,6 +39,6 @@ include::modules/microshift-greenboot-prerollback-log.adoc[leveloffset=+1]
3939

4040
include::modules/microshift-greenboot-check-update.adoc[leveloffset=+1]
4141

42-
//[role="_additional-resources_microshift-greenboot"]
43-
//.Additional resources
44-
//once the greenboot application health check is merged, an assembly-level xref can go here
42+
[role="_additional-resources_microshift-greenboot"]
43+
.Additional resources
44+
* xref:../microshift_running_apps/microshift-greenboot-workload-scripts.adoc#microshift-greenboot-workload-scripts[Greenboot workload health check scripts]

microshift_running_apps/microshift-greenboot-workload-scripts.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ include::_attributes/attributes-microshift.adoc[]
66

77
toc::[]
88

9-
Greenboot health check scripts are helpful on edge devices where direct serviceability is either limited or non-existent. If you installed the `microshift-greenboot` RPM package, you can also create health check scripts assess the health of your workloads and applications. These additional health check scripts are useful components of software problem checks and automatic system rollbacks.
9+
Greenboot health check scripts are helpful on edge devices where direct serviceability is either limited or non-existent. You can create health check scripts to assess the health of your workloads and applications. These additional health check scripts are useful components of software problem checks and automatic system rollbacks.
1010

1111
A {product-title} health check script is included in the `microshift-greenboot` RPM. You can also create your own health check scripts based on the workloads you are running. For example, you can write one that verifies that a service has started.
1212

modules/microshift-adding-service-to-blueprint.adoc

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,11 @@ groups = []
2828
name = "microshift"
2929
version = "*"
3030
31-
[[packages]]
32-
name = "microshift-greenboot" <1>
33-
version = "*"
34-
3531
[customizations.services]
3632
enabled = ["microshift"]
3733
EOF
3834
----
39-
[.small]
40-
<1> Optional `microshift-greenboot` RPM. For more information, read the "Greenboot health check" guide in the "Running Applications" section.
41-
+
35+
4236
[NOTE]
4337
====
4438
The wildcard `*` in the commands uses the latest {product-title} RPMs. If you need a specific version, substitute the wildcard for the version you want. For example, insert `4.13.1` to download the {product-title} 4.13.1 RPMs.

modules/microshift-greenboot-microshift-health-script.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[id="microshift-health-script_{context}"]
77
= The {product-title} health script
88

9-
The `40_microshift_running_check.sh` health check script only performs validation of core {product-title} services. Install your customized workload validation scripts in the greenboot directories to ensure successful application operations after system updates. Scripts run in alphabetical order.
9+
The `40_microshift_running_check.sh` health check script only performs validation of core {product-title} services. Install your customized workload health check scripts in the greenboot directories to ensure successful application operations after system updates. Scripts run in alphabetical order.
1010

1111
{product-title} health checks are listed in the following table:
1212

modules/microshift-greenboot-systemd-journal-data.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[id="microshift-greenboot-systemd-journal-data_{context}"]
77
= Enabling systemd journal service data persistency
88

9-
The default configuration of the `systemd` journal service stores the data in the volatile `/run/log/journal` directory. To persist system logs across system starts and restarts, you must enable log persistence and set limits on the maximal journal data size.
9+
The default configuration of the `systemd` journal service stores the data in the volatile `/run/log/journal` directory. To view system logs across system starts and restarts, you must enable log persistence and set limits on the maximal journal data size.
1010

1111
.Procedure
1212

modules/microshift-install-rpms.adoc

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,6 @@ $ sudo subscription-manager repos \
3131
$ sudo dnf install -y microshift
3232
----
3333

34-
. Optional: Install greenboot for {product-title} by running the following command:
35-
+
36-
[source,terminal]
37-
----
38-
$ sudo dnf install -y microshift-greenboot
39-
----
40-
4134
. Download your installation pull secret from the https://console.redhat.com/openshift/install/pull-secret[Red Hat Hybrid Cloud Console] to a temporary folder, for example, `$HOME/openshift-pull-secret`. This pull secret allows you to authenticate with the container registries that serve the container images used by {product-title}.
4235

4336
. To copy the pull secret to the `/etc/crio` folder of your {op-system} machine, run the following command:

0 commit comments

Comments
 (0)