{
  "description": "SelfNodeRemediationTemplate is the Schema for the selfnoderemediationtemplates API",
  "properties": {
    "apiVersion": {
      "description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
      "type": [
        "string",
        "null"
      ]
    },
    "kind": {
      "description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
      "type": [
        "string",
        "null"
      ]
    },
    "metadata": {
      "type": [
        "object",
        "null"
      ]
    },
    "spec": {
      "additionalProperties": false,
      "description": "SelfNodeRemediationTemplateSpec defines the desired state of SelfNodeRemediationTemplate",
      "properties": {
        "template": {
          "additionalProperties": false,
          "description": "Template defines the desired state of SelfNodeRemediationTemplate",
          "properties": {
            "spec": {
              "additionalProperties": false,
              "description": "SelfNodeRemediationSpec defines the desired state of SelfNodeRemediation",
              "properties": {
                "remediationStrategy": {
                  "default": "Automatic",
                  "description": "RemediationStrategy is the remediation method for unhealthy nodes.\nCurrently, it could be either \"Automatic\", \"OutOfServiceTaint\" or \"ResourceDeletion\".\nResourceDeletion will iterate over all pods and VolumeAttachment related to the unhealthy node and delete them.\nOutOfServiceTaint will add the out-of-service taint which is a new well-known taint \"node.kubernetes.io/out-of-service\"\nthat 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+.\nAutomatic will choose the most appropriate strategy during runtime.",
                  "enum": [
                    "Automatic",
                    "ResourceDeletion",
                    "OutOfServiceTaint"
                  ],
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": "object"
            }
          },
          "required": [
            "spec"
          ],
          "type": "object"
        }
      },
      "required": [
        "template"
      ],
      "type": "object"
    },
    "status": {
      "description": "SelfNodeRemediationTemplateStatus defines the observed state of SelfNodeRemediationTemplate",
      "type": [
        "object",
        "null"
      ]
    }
  },
  "required": [
    "spec"
  ],
  "type": "object"
}