Nincs leírás

john lockman aead513529 cleaned up example 5 éve
create_users 2346c454ff First commit 5 éve
roles 2346c454ff First commit 5 éve
LICENSE 3fae65bbba Initial commit 5 éve
README.md 2346c454ff First commit 5 éve
build-kubernetes-cluster.yml 2346c454ff First commit 5 éve
device-plugin.yaml 2346c454ff First commit 5 éve
example.yaml 2346c454ff First commit 5 éve
host_inventory_file aead513529 cleaned up example 5 éve
scuttle 2346c454ff First commit 5 éve

README.md

Dancing to the beat of a different drum.

Short Version:

Install Kubernetes and all dependencies

ansible-playbook -i host_inventory_file build-kubernetes-cluster.yml

Initialize K8S cluster

ansible-playbook -i host_inventory_file build-kubernetes-cluster.yml --tags "init"

What this does:

Build/Install

Add additional repositories:

  • Kubernetes (Google)
  • El Repo (nvidia drivers)
  • Nvidia (nvidia-docker)
  • EPEL (Extra Packages for Enterprise Linux)

Install common packages

  • gcc
  • python-pip
  • docker
  • kubelet
  • kubeadm
  • kubectl
  • nvidia-detect
  • kmod-nvidia
  • nvidia-x11-drv
  • nvidia-container-runtime
  • ksonnet (CLI framework for K8S configs)

Enable GPU Device Plugins (nvidia-container-runtime-hook)

Modify kubeadm config to allow GPUs as schedulable resource

Start and enable services

  • Docker
  • Kubelet

Initialize Cluster

Head/master

  • Start K8S pass startup token to compute/slaves
  • Initialize networking (Currently using WeaveNet) -Setup K8S Dashboard
  • Create dynamic/persistent volumes

    Compute/slaves

  • Join k8s cluster