Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 

Overview

Options

 

Requirements

  • Site admin can deploy Kubernetes.
  • Site admin can deploy NDS Labs Workbench (GUI, API) services.
  • Single node-deploy:
    • We will continue to support the single-node deploy, as implemented in the ndslabs/system-shell or ndslabs-startup repositories.

Prototype steps

These are the steps I used steps used to create a 4-node cluster using the kubernetes/contrib/ansible playbook:

 

On Nebula

  • Create 4 instances; r1.medium; CoreOSAlpha
  • Associate key
  • Enable ssh, k8 nodeport
  • Associate floating IPs with all nodes

...

  • Local host must have git, ansible clientEnable authorized_keys on each node
  • ssh-keygen
  • For each node
    • edit /etc/hosts, add localhost entry
    • scp key core@node:/tmp
    • ssh core@node update-ssh-keys -a name /tmp/key
  • https://github.com/kubernetes/contrib
  • cd contrib/ansible
  • Edit inventory – by default, only works with a single master config due to limitation in ./roles/kubernetes/tasks/gen_certs.yml

...