busy-judge-4614
03/09/2023, 8:58 PMbig-hydrogen-97240
03/09/2023, 9:00 PMbusy-judge-4614
03/09/2023, 9:00 PMbig-hydrogen-97240
03/09/2023, 9:00 PMbusy-judge-4614
03/09/2023, 9:02 PMdocker run -d --restart=unless-stopped \
-p 80:80 -p 443:443 \
--privileged \
rancher/rancher:latest
ambitious-plastic-3551
03/09/2023, 9:06 PMbig-hydrogen-97240
03/09/2023, 9:07 PMambitious-plastic-3551
03/09/2023, 9:07 PMbusy-judge-4614
03/09/2023, 9:13 PMambitious-plastic-3551
03/09/2023, 9:18 PMbig-hydrogen-97240
03/09/2023, 9:18 PMambitious-plastic-3551
03/09/2023, 9:18 PMbig-hydrogen-97240
03/09/2023, 9:18 PMcreamy-pencil-82913
03/09/2023, 10:04 PMkubectl get nodes
output that you shared outside this thread, you will not be able to import your K3s cluster into Rancher at the momentbusy-judge-4614
03/09/2023, 10:07 PMcreamy-pencil-82913
03/09/2023, 10:10 PMbusy-judge-4614
03/09/2023, 10:24 PMI0309 22:23:06.018270 64 network_policy_controller.go:162] Starting network policy controller
F0309 22:23:06.019120 64 network_policy_controller.go:380] failed to run iptables command to create KUBE-ROUTER-INPUT chain due to running [/usr/bin/iptables -t filter -S KUBE-ROUTER-INPUT 1 --wait]: exit status 3: iptables v1.8.6 (legacy): can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
panic: F0309 22:23:06.019120 64 network_policy_controller.go:380] failed to run iptables command to create KUBE-ROUTER-INPUT chain due to running [/usr/bin/iptables -t filter -S KUBE-ROUTER-INPUT 1 --wait]: exit status 3: iptables v1.8.6 (legacy): can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
nft
for modifying iptables rules. Hmm, more reading needed I thinkcreamy-pencil-82913
03/09/2023, 10:37 PMbusy-judge-4614
03/09/2023, 10:37 PMcreamy-pencil-82913
03/09/2023, 10:38 PMbusy-judge-4614
03/09/2023, 10:40 PM[root@docker1 Rancher]# ipt
iptables iptables-nft-restore iptables-restore iptables-save iptc
iptables-nft iptables-nft-save iptables-restore-translate iptables-translate iptunnel
[root@docker1 Rancher]#
creamy-pencil-82913
03/09/2023, 10:42 PMbusy-judge-4614
03/09/2023, 10:43 PM[root@docker1 Rancher]# iptables
iptables v1.8.8 (nf_tables): no command specified
Try `iptables -h' or 'iptables --help' for more information.
[root@docker1 Rancher]# which iptables
/sbin/iptables
[root@docker1 Rancher]#
creamy-pencil-82913
03/09/2023, 10:43 PMbusy-judge-4614
03/09/2023, 10:45 PMdocker run -d --restart=unless-stopped -v /root/docker/Rancher:/var/lib/rancher -p 192.168.1.3:8686:80 -p 192.168.1.3:8443:443 --privileged --name Rancher rancher/rancher:latest
creamy-pencil-82913
03/09/2023, 10:47 PMbusy-judge-4614
03/09/2023, 10:57 PMcreamy-pencil-82913
03/09/2023, 11:12 PMINFO[0000] Module nf_conntrack was already loaded
INFO[0000] Module br_netfilter was already loaded
INFO[0000] Module iptable_nat was already loaded
INFO[0000] Module iptable_filter was already loaded
busy-judge-4614
03/09/2023, 11:17 PM[root@docker1 Rancher]# modprobe iptable_nat
[root@docker1 Rancher]# modprobe br_netfilter
creamy-pencil-82913
03/09/2023, 11:25 PMbusy-judge-4614
03/09/2023, 11:35 PM