Skip to content

Getting started with Kubernetes

David Maier edited this page Sep 19, 2016 · 14 revisions

Kubernetes relies on Docker as the container solution and adds:

  • Orchestration
  • Resource Management
  • HA clustering
  • Operability
  • Monitoring
  • Service Discovery

and more.

Setup

Let's first download Kubernetes:

  • Make sure that the latest Vagrant version is installed (1.8.5 in my case) and ready to use. Vagrant uses by default VirtualBox as the compute host.
  • Create the directory '$HOME/opt' and change the directory into it
  • Execute the following commands
curl -sS https://get.k8s.io | bash
export KUBERNETES_PROVIDER=vagrant
cd kubernetes
./cluster/kube-up.sh
  • I had an issue with the certificate based SSH authentication method. A quick workaround was to disable it via the Vagrant file:
config.ssh.pty = false
config.ssh.insert_key = false

You should now see the message 'Starting cluster: Using provider vagrant'. Optional providers are 'gce' (Google Compute Engine) or 'aws' (Amazon Web Services).

Examining the Kubernetes environment

TODO

Clone this wiki locally