Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [student@kube1 ~]$ history
- 1 echo welcome to class we are starting at 9:00
- 2 sudo -i
- 3 sudo git clone https://github.com/sandervanvugt/ckad
- 4 cd ckad
- 5 ls
- 6 sudo ./setup-docker.sh
- 7 sudo ./setup-kubetools.sh
- 8 sudo systemctl status dockerd
- 9 sudo systemctl status docker
- 10 sudo kubeadm init --pod-network-cidr=10.10.0.0/16
- 11 mkdir .kube
- 12 pwd
- 13 ls -a
- 14 cd ..
- 15 mkdir .kube
- 16 sudo cp -i /etc/kubernetes/admin.conf .kube/config
- 17 sudo chown student:student .kube/config
- 18 ls -l .kube/config
- 19 kubectl create -f https://docs.projectcalico.org/manifests/tigera-operator.yaml
- 20 wget https://docs.projectcalico.org/manifests/custom-resources.yaml
- 21 vim custom-resources.yaml
- 22 kubectl create -f custom-resources.yaml
- 23 kubectl get pods -n calico-system
- 24 kubectl taint nodes --all node-role.kubernetes.io/master-
- 25 kubectl get pods -n calico-system
- 26 kubectl get all
- 27 history
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement