Skip to content

Commit 0e212c9

Browse files
committed
Add info about the SNR CR and lastError field
1 parent 1aca3c7 commit 0e212c9

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

modules/eco-poison-pill-operator-about.adoc

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,22 @@
88

99
The Poison Pill Operator runs on the cluster nodes and reboots nodes that are identified as unhealthy. The Operator uses the `MachineHealthCheck` controller to detect the health of a node in the cluster. When a node is identified as unhealthy, the `MachineHealthCheck` resource creates the `PoisonPillRemediation` custom resource (CR), which triggers the Poison Pill Operator.
1010

11+
The `SelfNodeRemediation` CR resembles the following YAML file:
12+
13+
[source,yaml]
14+
----
15+
apiVersion: self-node-remediation.medik8s.io/v1alpha1
16+
kind: SelfNodeRemediation
17+
metadata:
18+
name: selfnoderemediation-sample
19+
namespace: openshift-operators
20+
spec:
21+
status:
22+
lastError: <last_error_message> <1>
23+
----
24+
25+
<1> Displays the last error that occurred during remediation. When remediation succeeds or if no errors occur, the field is left empty.
26+
1127
The Poison Pill Operator minimizes downtime for stateful applications and restores compute capacity if transient failures occur. You can use this Operator regardless of the management interface, such as IPMI or an API to provision a node, and regardless of the cluster installation type, such as installer-provisioned infrastructure or user-provisioned infrastructure.
1228

1329
[id="understanding-poison-pill-operator-config_{context}"]

0 commit comments

Comments
 (0)