Kubernetes XrootD cluster
spec files in:
GitHub - Jo-stfc/xrootd-k8s: xrootd kubernetes cluster
follow steps in:
https://stfc.atlassian.net/wiki/spaces/RUCIO/pages/210239489
but do not specify a server in /etc/rancher/rke2/config.yaml
copy files from gateway folder (not uploaded as it contains access secrets) into /etc/gateway
copy fntest/cp.sh into /tmp/fntest/
apply Server/xrd.deployment.yml and Service/xrd.service.yml
apply the following iptable rules to redirect 1094 traffic to 31062 (k8s cluster service port) . Unsure if it worked as intended, could not replicate easily
iptables -A INPUT -i eth0 -p tcp --dport 1094 -j ACCEPT
iptables -A INPUT -i eth0 -p tcp --dport 31062 -j ACCEPT
iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 1094 -j REDIRECT --to-port 31062