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

Proprietary

Rewrite a MachineSet into its v1beta2 form. spec.minReadySeconds moves onto the machines it creates, since MachineSetSpec no longer holds it.

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

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