All slides are on our website
Check the Framapad
- Ubuntu LTS is recommended
- 8 cores, 16 GB RAM, 30GB for the partition hosting docker entities (images, volumes, containers, etc). Use
df
command as below to find its size.
sudo df –sh /var/lib/docker # or /var/snap/docker/common/var-lib-docker/
- Internet access without proxy
sudo
access- Install dependencies below:
sudo apt-get install curl docker.io git vim
# then add current user to docker group
sudo usermod -a -G docker $USER
# command below, or restart gnome session
newgrp docker
However, depending on your linux distribution version, you might have to upgrade to docker-ce: https://docs.docker.com/install/linux/docker-ce/ubuntu/#install-docker-ce-1
Follow official instructions at: https://github.com/k8s-school/k8s-toolbox
- Use the k8s-toolbox to create a k8s cluster, if it does not yet exists
- Launch interactive k8s-toolbox:
k8s-toolbox desk
then validate Kubernetes is up and running
# Check k8s cluster is up and running
kubectl get nodes
# Launch an ubuntu pod from Docker Hub
kubectl run -it --rm shell --image=ubuntu --restart=Never -- date
# Launch an other pod from gcr.io
kubectl run shell --image=gcr.io/kuar-demo/kuard-amd64:1 --restart=Never
# Open a shell inside it and exit
kubectl exec -it shell -- ash
exit
kubectl delete pod shell
Retrieve k8s-school's examples, demos and exercices by running script below inside toolbox
container:
clone-school.sh
# Play with kubectl and yaml files :-)
- ArgoCD demo
- Ingress demo
- Istio demo
- Telepresence demo