# Slide deck for https://www.meetup.com/ros-by-the-bay/events/297626997/
# Comment Here
# Comment Here
# Comment Here
# Comment Here
# Closure Remarks
# Comments
# Comments
# Comments
# Comments
### I NEED TO SETUP EVERYTHING BEFORE DOWNLOADING IMAGES TAKE REALLY LONG TIME ### ### # KIND required CNI binaries to bind: # > git clone https://github.com/containernetworking/plugins.git # > cd plugins # > ./build_linux.sh # > export OPT_CNI_BIN_PATH=$(realpath -s bin) # > cd <ros_k8s>/yaml # > sed 's/OPT_CNI_BIN_PATH/${OPT_CNI_BIN_PATH}/' kind-multiple-node.yaml.template | envsubst > kind-multiple-node.yaml ### # create/delete kind cluster: # > <ros_k8s>/yaml # > kind create cluster --config=kind-multiple-node.yaml # > kind delete cluster ### # deploy/delete weavenet: # > kubectl apply -f https://github.com/weaveworks/weave/releases/download/v2.8.1/weave-daemonset-k8s-1.11.yaml # > kubectl delete -f https://github.com/weaveworks/weave/releases/download/v2.8.1/weave-daemonset-k8s-1.11.yaml
# Demo Commands: # > kubectl get nodes --show-labels # > kubectl label --overwrite nodes kind-control-plane nodetype=master # > kubectl label --overwrite nodes kind-worker nodetype=worker # > kubectl get nodes --show-labels # > kubectl apply -f ros1-multinode.yaml # > kubectl delete -f ros1-multinode.yaml
# Demo Commands: # > kubectl apply -f ros2-sample.yaml # > kubectl exec --stdin --tty <pod> -- /bin/bash # > kubectl delete -f ros2-sample.yaml
# Demo Commands: # > kubectl label --overwrite nodes kind-control-plane nodetype=edgeserver # > kubectl label --overwrite nodes kind-worker nodetype=edgedevice # > kubectl get nodes --show-labels # > kubectl apply -f ros2-config.yaml # > kubectl apply -f ros2-domain-configmap.yaml # > kubectl delete -f ros2-domain-configmap.yaml # > kubectl delete -f ros2-config.yaml
# Comments
# Comments