kelseyhightower / kubernetes-the-hard-way

Bootstrap Kubernetes the hard way. No scripts.
Apache License 2.0
39.77k stars 13.65k forks source link

machines.txt #786

Open vranga0812 opened 1 month ago

vranga0812 commented 1 month ago

I created 4 arm based virtual machines in the google cloud and they all are in same nic. I'm working on creating machines.txt for this setup, I'm little confused on the value i have to give for the POD_SUBNET, do i need to give the nic's subnetwork range (which would be same for all the nodes

anhquan99 commented 3 weeks ago

Hi @vranga0812 I got stuck in the step Copy the SSH public key to each machine: while running command

while read IP FQDN HOST SUBNET; do 
  ssh-copy-id root@${IP}
done < machines.txt

I always get Permission denied (publickey), how did you get through that step? Thanks!

vranga0812 commented 2 weeks ago

i had the same issue, i copied the ssh keys manually

anhquan99 commented 2 weeks ago

That makes sense, thanks @vranga0812!