sudo dnf -y install ansible
ansible-galaxy collection install community.kubernetes
- cp
config.yml.example config.yml - Update
src_kubeconfiganddst_kubeconfiginconfig.ymlwith the paths to the kube config for each cluster - Edit other options as desired in
config.yml - Add transform tasks to transforms.d as desired. A couple simple examples are included.
- Run
ansible-playbook migrate.yml -e namespace=robot-shop
- Not all APIs are found as expected: https://github.com/ansible-collections/community.kubernetes/issues/380