Migrate MachineHealthCheck to cluster.x-k8s.io/v1beta2

Proprietary

Rewrite a MachineHealthCheck into its v1beta2 form. Its checks and remediation are regrouped, and nodeStartupTimeout becomes checks.nodeStartupTimeoutSeconds rather than moving under deletion with the other durations.

org.openrewrite.kubernetes.clusterapi.MigrateMachineHealthCheckToV1beta2
mod run . --recipe=org.openrewrite.kubernetes.clusterapi.MigrateMachineHealthCheckToV1beta2

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Migrate the Cluster API core group to v1beta2