File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
examples/container_migration_in_kubernetes Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 1+
2+ sudo sysctl -w net.ipv4.ip_forward=1
3+ sudo kubeadm init --pod-network-cidr=10.244.0.0/16 --cri-socket=unix:///var/run/crio/crio.sock
4+
5+ mkdir -p $HOME /.kube
6+ sudo cp -i /etc/kubernetes/admin.conf $HOME /.kube/config
7+ sudo chown $( id -u) :$( id -g) $HOME /.kube/config
8+
9+ kubectl taint nodes --all node-role.kubernetes.io/master-
10+ kubectl taint nodes --all node-role.kubernetes.io/control-plane-
11+
12+ kubectl apply -f manifests/bmv2-daemonset.yaml
13+ kubectl apply -f manifests/http-server-deployment.yaml
14+ kubectl apply -f manifests/http-client-deployment.yaml
15+
16+ kubectl get pods --all-namespaces
Original file line number Diff line number Diff line change 1+ sudo kubeadm reset -f --cri-socket=unix:///var/run/crio/crio.sock
2+ sudo rm -f /var/log/bmv2-cni.log
3+
4+
You can’t perform that action at this time.
0 commit comments