irfan, #pv-migrate is an amazing #Kubernetes tool that is absolutely essential to all #homelab (s) and cluster admins that allows you to easily and securely copy the data from one persistent volume claim to another in the same namespace, a different namespace, or heck even a different cluster.
One thing to note about it tho, what I learned just today after years of using it is that it does not support #SELinux found on #RHEL based clusters (which also means I just learned that my former company's clusters prolly weren't using SELinux... oops). I wouldn't recommend removing SELinux entirely tho, simply toggle SELinux from
enforcing
(1
) topermissive
(0
) when you're about to migrate your data usingpv-migrate
. Once you're done, just toggle SELinux back on and you're golden.🔗 https://github.com/utkuozdemir/pv-migrate
🔗 https://github.com/utkuozdemir/pv-migrate/issues/220
🔗 https://raw.githubusercontent.com/irfanhakim-as/orked/master/scripts/login.sh (contains script to install the latest
pv-migrate
binary, among other useful #k8s tools)🔗 https://raw.githubusercontent.com/irfanhakim-as/orked/master/helpers/selinux-toggle.sh (script to toggle SELinux on/off on all of your worker nodes from your login/management node)