diff --git a/code-samples/10-docker-compose/install.sh b/code-samples/10-docker-compose/install.sh index ded6d79..daa8d18 100755 --- a/code-samples/10-docker-compose/install.sh +++ b/code-samples/10-docker-compose/install.sh @@ -2,8 +2,13 @@ echo "Installing docker-compose..." -sudo curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose +curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /tmp/docker-compose + +sudo mv /tmp/docker-compose /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose -sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose +sudo ln -sf /usr/local/bin/docker-compose /usr/bin/docker-compose + +echo "Installation complete! Please verfiy using: " +echo " docker-compose version" diff --git a/code-samples/11-kubernetes/README.md b/code-samples/11-kubernetes/README.md index 40f76fc..8777c43 100644 --- a/code-samples/11-kubernetes/README.md +++ b/code-samples/11-kubernetes/README.md @@ -4,6 +4,20 @@ ![Kubernetes](https://upload.wikimedia.org/wikipedia/commons/b/be/Kubernetes.png) +## Setup + +```bash + ./install.sh +``` + +## Getting Started + +```bash + minikube start --vm-driver=kvm2 + + kubectl version +``` + ## Resources In-browser Hands-on: [Playground](https://training.play-with-kubernetes.com/kubernetes-workshop/) diff --git a/code-samples/11-kubernetes/install.sh b/code-samples/11-kubernetes/install.sh index 854264d..d776dee 100755 --- a/code-samples/11-kubernetes/install.sh +++ b/code-samples/11-kubernetes/install.sh @@ -37,5 +37,5 @@ chmod +x docker-machine-driver-kvm2 sudo mv docker-machine-driver-kvm2 /usr/local/bin/ echo "Installation done! Please verfiy by running..." -echo "kubectl version" -echo "minikube version" +echo " minikube version" +echo " kubectl version"