Welcome to the Linux Foundation Forum!

Lab 2.2 error when I was doing the kubeadm join

I have set up the master node and worker node as instructor on GCE, but when I was trying to connect the worker node to master node, I got the following error:

~$ sudo kubeadm join 10.2.0.6:6443 --token abcdef.0123456789abcdef --discovery-token-ca-cert-hash sha256:79d8339112d1f31892337b3aa2a41c703a89673ac5e79693f75c6ce049c44904
[preflight] Running pre-flight checks
error execution phase preflight: [preflight] Some fatal errors occurred:
[ERROR FileContent--proc-sys-net-bridge-bridge-nf-call-iptables]: /proc/sys/net/bridge/bridge-nf-call-iptables does not exist
[preflight] If you know what you are doing, you can make a check non-fatal with --ignore-preflight-errors=...
To see the stack trace of this error execute with --v=5 or higher

anyone had same problem? Please help, thanks

Comments

  • kennyzhao
    kennyzhao Posts: 2

    thanks, fixed after rerun the work.sh

  • ashokvaddepall
    ashokvaddepall Posts: 1
    edited December 2022

    Hi @kennyzhao, I had the same issue. Please let me know the fix for the above issue. what do you mean by....Rerun for work.sh fixed

  • Hi @ashokvaddepall,

    Would you mind sharing the error output generated by the kubeadm join command?
    Are you using cloud (AWS or GCP) infrastructure of local VMs?

    Regards,
    -Chris

Categories

Upcoming Training