I would like to transform my gaming pc into a kube...
# rancher-desktop
a
I would like to transform my gaming pc into a kubernetes cluster and found out about rancher-desktop, I installed the windows version so I can keep playing, but I've been unable to connect from my macbook with kubectl. Is it possible to connect to the rancher's kubernetes remotely?
f
I'm not sure, but did you do an Admin install (for all users), and disable the Windows firewall? @calm-sugar-3169 should this be working?
One problem you will run into is that the k3s certs will not include the Windows hostname/IP address, so you will need to disable certificate checking with
kubectl --insecure-skip-tls-verify …
for each command, which can become tiresome. You may be able to add the hostname/IP address to k3s via a provisioning script, but you can ask about that if the basic config is working, except for the X509 cert errors.
c
I believe on the host machine k8s API is listening on localhost:6443 (for security reasons) and on windows any port that is bound to localhost is not accessible from external machines. You can work around it by creating your own NAT, but that's outside of Rancher desktop's territory.