I've been on a little bit of a writing spree. I decided to update my guide on deploying K8s on XCP-NG/XenOrchestra with Terraform and Ansible.
I wrote one a little while back but done it quite quick and didn't follow a lot of best practices. I have since re-written a bunch of it and you can find it here: https://godfrey.online/posts/xen_k8s_ansible_terraform/