Skip to content

Commit 4abddaa

Browse files
authored
Merge pull request #47363 from abhatt-rh/td-581
ECOPROJECT-615:Doc changes for updating the name of Poison Pill Operator to Self Node Remediation Operator
2 parents 56a6f6f + d692944 commit 4abddaa

13 files changed

+340
-355
lines changed

_topic_maps/_topic_map.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1970,8 +1970,8 @@ Topics:
19701970
File: nodes-nodes-managing-max-pods
19711971
- Name: Using the Node Tuning Operator
19721972
File: nodes-node-tuning-operator
1973-
- Name: Remediating nodes with the Poison Pill Operator
1974-
File: eco-poison-pill-operator
1973+
- Name: Remediating nodes with the Self Node Remediation Operator
1974+
File: eco-self-node-remediation-operator
19751975
- Name: Deploying node health checks by using the Node Health Check Operator
19761976
File: eco-node-health-check-operator
19771977
- Name: Using the Node Maintenance Operator to place nodes in maintenance mode

modules/eco-configuring-machine-health-check-with-poison-pill.adoc renamed to modules/eco-configuring-machine-health-check-with-self-node-remediation.adoc

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
// *nodes/nodes/eco-poison-pill-operator.adoc
44

55
:_content-type: PROCEDURE
6-
[id="configuring-machine-health-check-with-poison-pill_{context}"]
7-
= Configuring machine health checks to use the Poison Pill Operator
6+
[id="configuring-machine-health-check-with-self-node-remediation-operator_{context}"]
7+
= Configuring machine health checks to use the Self Node Remediation Operator
88

9-
Use the following procedure to configure the machine health checks to use the Poison Pill Operator as a remediation provider.
9+
Use the following procedure to configure the machine health checks to use the Self Node Remediation Operator as a remediation provider.
1010

1111
.Prerequisites
1212

@@ -15,30 +15,30 @@ Use the following procedure to configure the machine health checks to use the Po
1515
1616
.Procedure
1717

18-
. Create a `PoisonPillRemediationTemplate` CR:
18+
. Create a `SelfNodeRemediationTemplate` CR:
1919

20-
.. Define the `PoisonPillRemediationTemplate` CR:
20+
.. Define the `SelfNodeRemediationTemplate` CR:
2121
+
2222
[source,yaml]
2323
----
24-
apiVersion: poison-pill.medik8s.io/v1alpha1
25-
kind: PoisonPillRemediationTemplate
24+
apiVersion: self-node-remediation.medik8s.io/v1alpha1
25+
kind: SelfNodeRemediationTemplate
2626
metadata:
2727
namespace: openshift-machine-api
28-
name: poisonpillremediationtemplate-sample
28+
name: selfnoderemediationtemplate-sample
2929
spec:
3030
template:
3131
spec: {}
3232
----
3333

34-
.. To create the `PoisonPillRemediationTemplate` CR, run the following command:
34+
.. To create the `SelfNodeRemediationTemplate` CR, run the following command:
3535
+
3636
[source,terminal]
3737
----
38-
$ oc create -f <ppr-name>.yaml
38+
$ oc create -f <snr-name>.yaml
3939
----
4040

41-
. Create or update the `MachineHealthCheck` CR to point to the `PoisonPillRemediationTemplate` CR:
41+
. Create or update the `MachineHealthCheck` CR to point to the `SelfNodeRemediationTemplate` CR:
4242

4343
.. Define or update the `MachineHealthCheck` CR:
4444
+
@@ -56,19 +56,20 @@ spec:
5656
machine.openshift.io/cluster-api-machine-type: "worker"
5757
unhealthyConditions:
5858
- type: "Ready"
59-
timeout: "300s"
59+
timeout: "300s"
6060
status: "False"
6161
- type: "Ready"
62-
timeout: "300s"
62+
timeout: "300s"
6363
status: "Unknown"
64-
maxUnhealthy: "40%"
65-
nodeStartupTimeout: "10m"
64+
maxUnhealthy: "40%"
65+
nodeStartupTimeout: "10m"
6666
remediationTemplate: <1>
67-
kind: PoisonPillRemediationTemplate
68-
apiVersion: poison-pill.medik8s.io/v1alpha1
69-
name: <poison-pill-remediation-template-sample>
67+
kind: SelfNodeRemediationTemplate
68+
apiVersion: self-node-remediation.medik8s.io/v1alpha1
69+
name: selfnoderemediationtemplate-sample
7070
----
71-
<1> Specify the details for the remediation template.
71+
<1> Specifies the details for the remediation template.
72+
7273
+
7374
.. To create a `MachineHealthCheck` CR, run the following command:
7475
+

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

Lines changed: 0 additions & 97 deletions
This file was deleted.

modules/eco-poison-pill-operator-installation-cli.adoc

Lines changed: 0 additions & 147 deletions
This file was deleted.

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

Lines changed: 0 additions & 47 deletions
This file was deleted.

0 commit comments

Comments
 (0)