How do I add my on-premise node to my managed cluster?
I've tried doing "kubeadm join --token " with a default-token from the ui and the cluster endpoint as ip.
You can add an on-prem node to your GKE cluster if you manually configure the kubelet (basically what kubeadm makes nice and easy).
Your cluster may not work as expected though unless you also create a VPN connection between the on-prem node and your cloud network where the rest of your nodes are running and also configure networking routes to map a node CIDR to your on-prem node. Otherwise, cross-pod networking will not work.
In addition, features like kubectl exec
and kubectl logs
likely won't work for any pods running on your on-prem node.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With