SelfNodeRemediationTemplate
self-node-remediation.medik8s.io / v1alpha1
apiVersion: self-node-remediation.medik8s.io/v1alpha1
kind: SelfNodeRemediationTemplate
metadata:
name: example
apiVersion
string
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
kind
string
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadata
object
spec object required
SelfNodeRemediationTemplateSpec defines the desired state of SelfNodeRemediationTemplate
template object required
Template defines the desired state of SelfNodeRemediationTemplate
spec object required
SelfNodeRemediationSpec defines the desired state of SelfNodeRemediation
remediationStrategy
string
RemediationStrategy is the remediation method for unhealthy nodes.
Currently, it could be either "Automatic", "OutOfServiceTaint" or "ResourceDeletion".
ResourceDeletion will iterate over all pods and VolumeAttachment related to the unhealthy node and delete them.
OutOfServiceTaint will add the out-of-service taint which is a new well-known taint "node.kubernetes.io/out-of-service"
that enables automatic deletion of pv-attached pods on failed nodes, "out-of-service" taint is only supported on clusters with k8s version 1.26+ or OCP/OKD version 4.13+.
Automatic will choose the most appropriate strategy during runtime.
enum:
Automatic, ResourceDeletion, OutOfServiceTaint
status
object
SelfNodeRemediationTemplateStatus defines the observed state of SelfNodeRemediationTemplate
No matches. Try .spec.template for an exact path