You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
== Understanding the Self Node Remediation Template configuration
71
71
72
-
The Self Node Remediation Operator also creates the `SelfNodeRemediationTemplate` CR with the name `self-node-remediation-default-template` in the Self Node Remediation Operator's namespace. This CR defines the remediation strategy for the nodes.
72
+
The Self Node Remediation Operator also creates the `SelfNodeRemediationTemplate` Custom Resource Definition (CRD). This CRD defines the remediation strategy for the nodes. The following remediation strategies are available:
73
73
74
-
The default remediation strategy is `NodeDeletion` that removes the `node` object.
75
-
In {product-title} 4.10, the Self Node Remediation Operator introduced a new remediation strategy called `ResourceDeletion`. The `ResourceDeletion` remediation strategy removes the pods and associated volume attachments on the node rather than the `node` object. This strategy helps to recover workloads faster.
74
+
`ResourceDeletion`:: This remediation strategy removes the pods and associated volume attachments on the node rather than the node object. This strategy helps to recover workloads faster. `ResourceDeletion` is the default remediation strategy.
75
+
76
+
`NodeDeletion`:: This remediation strategy removes the node object.
77
+
78
+
The Self Node Remediation Operator creates the following `SelfNodeRemediationTemplate` CRs for each strategy:
79
+
80
+
* `self-node-remediation-resource-deletion-template`, which the `ResourceDeletion` remediation strategy uses
81
+
* `self-node-remediation-node-deletion-template`, which the `NodeDeletion` remediation strategy uses
76
82
77
83
The `SelfNodeRemediationTemplate` CR resembles the following YAML file:
78
84
@@ -81,15 +87,13 @@ The `SelfNodeRemediationTemplate` CR resembles the following YAML file:
<1> Specifies the remediation strategy. The default remediation strategy is `NodeDeletion`.
98
+
<1> Specifies the type of remediation template based on the remediation strategy. Replace `<remediation_object>` with either `resource` or `node`, for example, `self-node-remediation-resource-deletion-template`.
99
+
<2> Specifies the remediation strategy. The remediation strategy can either be `ResourceDeletion` or `NodeDeletion`.
0 commit comments