minikube -p networking start --network-plugin=cni --kubernetes-version v1.15.6 --memory=4096
It won't start-up completely. Just do a minikube -p networking stop
when it has completed.
$ rm -fr ~/course/k8s/docker-images/rest-countries/* && \
curl https://filebin.net/az0uq0n48u6apf0t/rest-countries.tar.gz?t=vwoqrnw4 | \
tar xzvf - -C ~/course/k8s/docker-images/rest-countries/ 2> /dev/null
On your host machine (so not on your cluster node) run the following build commands:
docker build -t edc4it/rest-countries:2.0 ~/course/k8s/docker-images/rest-countries/. \
&& docker build -t edc4it/countries-front:0.1.0 ~/course/k8s/docker-images/countries-front
- Run the following command to create some missing directories and files
& mkdir -p ~/course/k8s2/network-policies/work && \
touch ~/course/k8s2/network-policies/work/country-rules-deny-all.yaml && \
touch ~/course/k8s2/network-policies/work/country-rules-external.yaml && \
touch ~/course/k8s2/network-policies/work/country-rules-isolate-ns.yaml
- Download some work files for the monitoring lab
mkdir -p ~/course/k8s/monitoring && curl https://filebin.net/az0uq0n48u6apf0t/monitoring.tar.gz?t=3j7drw9g | tar xzvf - -C ~/course/k8s/ 2> /dev/null
The uupgrade of the monitoring lab to helm3 turned out to be a bit more dificult, so we will use helm2 after all. Please install:
$ curl https://raw.githubusercontent.com/kubernetes/Helm/master/scripts/get > get_Helm.sh
chmod 700 get_Helm.sh
./get_Helm.sh
We will download the images during the lab, the network seemed better last week.
https://filebin.net/az0uq0n48u6apf0t/rest-countries.tar.gz?t=vwoqrnw4