adamant-kite-43734
06/16/2022, 10:58 PMfreezing-engineer-98215
06/17/2022, 1:45 PMhandsome-toddler-59547
06/18/2022, 11:31 AMhandsome-toddler-59547
06/18/2022, 11:33 AMhandsome-toddler-59547
06/18/2022, 12:45 PMhandsome-toddler-59547
06/18/2022, 12:47 PMhandsome-toddler-59547
06/18/2022, 12:47 PM(base) [dsargrad@localhost nginx]$ k get nodes
NAME STATUS ROLES AGE VERSION
w Ready <none> 41h v1.23.6+k3s1
master Ready control-plane,master 44h v1.23.6+k3s1
handsome-toddler-59547
06/18/2022, 12:48 PM(base) [dsargrad@localhost nginx]$ k get services
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kubernetes ClusterIP 10.43.0.1 <none> 443/TCP 44h
nginx LoadBalancer 10.43.228.3 192.168.56.133,192.168.56.134 9080:32741/TCP 38h
(base) [dsargrad@localhost nginx]$ k get endpoints
NAME ENDPOINTS AGE
kubernetes 192.168.56.133:6443 44h
nginx 10.42.1.20:80 38h
handsome-toddler-59547
06/18/2022, 12:49 PM(base) [dsargrad@localhost nginx]$ k get pods
NAME READY STATUS RESTARTS AGE
svclb-nginx-r4dwt 1/1 Running 0 38h
nginx-65b69c4fd-vzpmg 1/1 Running 0 38h
svclb-nginx-8x272 1/1 Running 1 (14m ago) 38h
handsome-toddler-59547
06/18/2022, 1:00 PM--flannel-iface $I
this is how i configured the master:
export H=192.168.56.133
export I=enp0s8
export N=M
export INSTALL_K3S_EXEC="--write-kubeconfig ~/.kube/config --node-name $N --write-kubeconfig-mode 666 --node-ip $H --node-external-ip $H --tls-san $H --flannel-iface $I --node-taint CriticalAddonsOnly=true:NoExecute"
curl -sfL <https://get.k3s.io> | sh -s - --disable=traefik server
this is how i configured the agent:
export H=192.168.56.134
export N=W
export M=192.168.56.133
export INSTALL_K3S_EXEC="--node-name $N --node-ip $H --node-external-ip $H"
export K3S_URL="https://$M:6443"
export K3S_TOKEN="changeme"
curl -sfL <https://get.k3s.io> | sh -s - agent
I did not specify the --flannel-iface for the agent. this may be the problem.
thoughts?handsome-toddler-59547
06/18/2022, 1:01 PMhandsome-toddler-59547
06/18/2022, 1:18 PMhandsome-toddler-59547
06/18/2022, 1:22 PMexport H=192.168.56.134
export I=enp0s8
export N=W
export M=192.168.56.133
export INSTALL_K3S_EXEC="--node-name $N --node-ip $H --node-external-ip $H --flannel-iface $I"
export K3S_URL="https://$M:6443"
export K3S_TOKEN="changeme"
curl -sfL <https://get.k3s.io> | sh -s - agent