The machine remediation operator deploys components to monitor and remediate unhealthy machines for different platforms, it works on top of cluster-api controllers.
It should deploy three controllers:
- machine-health-check controller
- machine-disruption-budget controller
- machine-remediation controller
You can check the GitHub releases to get latest yaml
file, that includes CRD's, RBAC rules and operator deployment and apply it to your cluster.
kubectl apply -f https://github.com/kubevirt/machine-remediation-operator/releases/download/v0.3.3/machine-remediation-operator.yaml
kubectl apply -f https://github.com/kubevirt/machine-remediation-operator/releases/download/v0.3.3/machine-remediation-operator-cr.yaml
After just wait until the operator will deploy all components.
You should have k8s or OpenShift environment with at least two worker nodes and run:
export KUBECONFIG=/dir/cluster/kubeconfig
make e2e-tests-run