Only Git, Make and Docker are required to be installed.
Run make or make build to build the workshop CLI, which will then be compiled to bin/w6p.
The workshop slides are available
- ...online
- ...at
http://localhost:8080/docsafter runningbin/w6p slides show - ...at
http://localhost:8080after runningmake slides
The last option can be used for development.
Simply press F5 in your browser after any update to slides.md.
make pdf
or
bin/w6p slides export
Run
bin/w6p exercise docker -nX
to start the Docker exercise number X.
First you need to start the local Kubernetes workshop cluster:
bin/w6p cluster run
Note:
This cluster runs within the Docker container k8s-workshop-cluster-control-plane.
Cou can shutdown the workshop cluster by either of the following commands:
bin/w6p cluster shutdown
docker rm -f k8s-workshop-cluster-control-plane
The easiest way to interact with the workshop cluster can be accomplished by
export KUBECONFIG=$(pwd)/k8s-workshop.kubeconfig
k9s
First start the workshop cluster through make cluster run.
Then run
bin/w6p exercise k8s -nX
to start the Kubernetes exercise number X.
Each exercise will be deployed into a fresh namespace exX including the exercise number X, for example ex1.
~/.bashrc ~/.docker/config.json /etc/systemd/system/docker.service.d/http-proxy.conf