Skip to content

Instantly share code, notes, and snippets.

@Ruben-E
Last active January 22, 2018 10:09
Show Gist options
  • Save Ruben-E/cac54d6231d4b3e58be3f770aaffe35c to your computer and use it in GitHub Desktop.
Save Ruben-E/cac54d6231d4b3e58be3f770aaffe35c to your computer and use it in GitHub Desktop.
Start lokaal een Kubernetes cluster

Start lokaal een Kubernetes cluster

Wij gaan Rancher gebruiken om een cluster te maken. Kubernetes heeft zelf minikube, maar die heeft slechts 1 node. Het is leuker om een cluster met meerdere nodes te draaien.

  1. Installeer VirtualBox: https://www.virtualbox.org/wiki/Downloads
  2. Installeer Kubectl: https://kubernetes.io/docs/tasks/tools/install-kubectl/
  3. Installeer Vagrant (voor de Mac gebruikers: brew cask install vagrant).
  4. Clone vagrant repo van Rancher: git clone https://github.com/rancher/vagrant
  5. Pas config.yaml aan: orchestrator: kubernetes
  6. Start cluster: vagrant up (duurt even).

Onduidelijkheden, vragen of problemen hoor ik graag!

Succes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment