kubectl apply -f https://raw.githubusercontent.com/cloudnativelabs/kube-router/master/daemonset/kubeadm-kuberouter.yaml
kubectl apply -f https://raw.githubusercontent.com/cloudnativelabs/kube-router/master/daemonset/kubeadm-kuberouter.yaml configmap/kube-router-cfg created daemonset.apps/kube-router created serviceaccount/kube-router created clusterrole.rbac.authorization.k8s.io/kube-router created clusterrolebinding.rbac.authorization.k8s.io/kube-router created
kubeadm init --apiserver-advertise-address $(hostname -i) --pod-network-cidr 10.5.0.0/16 kubectl get nodes -A kubectl get pods -A
k get pods -A NAMESPACE NAME READY STATUS RESTARTS AGE kube-system coredns-5d78c9869d-bzbtj 1/1 Running 0 83s kube-system coredns-5d78c9869d-xxpr8 1/1 Running 0 83s kube-system etcd-node1 1/1 Running 0 95s kube-system kube-apiserver-node1 1/1 Running 0 97s kube-system kube-controller-manager-node1 1/1 Running 0 96s kube-system kube-proxy-52v52 1/1 Running 0 83s kube-system kube-router-ckvgp 0/1 CrashLoopBackOff 3 (24s ago) 83s kube-system kube-scheduler-node1 1/1 Running 0 95s
k logs -n kube-system kube-router-ckvgp F0320 12:24:52.703516 3291 network_policy_controller.go:419] Failed to run iptables command to insert in INPUT chain running [/sbin/iptables -t filter -I INPUT 1 -m comment --comment kube-router netpol - 4IA2OSFRMVNDXBVV -j KUBE-ROUTER-INPUT --wait]: exit status 4: iptables v1.8.10 (nf_tables): RULE_INSERT failed (Invalid argument): rule in chain INPUT
See also
Advertising: