kubectl apply -f https://raw.githubusercontent.com/cloudnativelabs/kube-router/master/daemonset/kubeadm-kuberouter.yaml
Jump to navigation
Jump to search
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 kube-system/kube-router-ckvgp
See also
Advertising: