Difference between revisions of "Kubernetes on Novena"

From Studio Kousagi Wiki
Jump to: navigation, search
(Created page with "Some steps I've taken to install Kubernetes on Debian. 1. Install Docker (borrowed from https://github.com/hypriot/image-builder-odroid-c1/blob/master/builder/chroot-script.s...")
 
Line 1: Line 1:
 
Some steps I've taken to install Kubernetes on Debian.
 
Some steps I've taken to install Kubernetes on Debian.
  
1. Install Docker (borrowed from https://github.com/hypriot/image-builder-odroid-c1/blob/master/builder/chroot-script.sh)
+
1. Update the key.
 +
  wget http://repo.novena.io/debian/pool/main/k/kosagi-repo/kosagi-repo_1.2-r1_all.deb
 +
  sudo dpkg -i kosagi-repo_1.2-r1_all.deb
 +
  apt-get update
 +
  DEBIAN_FRONTEND=noninteractive apt-get dist-upgrade
 +
 
 +
2. Install Docker (borrowed from https://github.com/hypriot/image-builder-odroid-c1/blob/master/builder/chroot-script.sh)
 +
  wget -q https://packagecloud.io/gpg.key -O - | apt-key add -
 +
  echo 'deb https://packagecloud.io/Hypriot/Schatzkiste/debian/ jessie main' > /etc/apt/sources.list.d/hypriot.list
 
   apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 2C52609D
 
   apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 2C52609D
 
   echo 'deb [arch=armhf] https://apt.dockerproject.org/repo debian-jessie main' > /etc/apt/sources.list.d/docker.list
 
   echo 'deb [arch=armhf] https://apt.dockerproject.org/repo debian-jessie main' > /etc/apt/sources.list.d/docker.list
Line 9: Line 17:
 
     docker-engine \
 
     docker-engine \
 
     docker-compose \
 
     docker-compose \
     docker-machine \
+
     docker-machine

Revision as of 10:28, 14 March 2017

Some steps I've taken to install Kubernetes on Debian.

1. Update the key.

 wget http://repo.novena.io/debian/pool/main/k/kosagi-repo/kosagi-repo_1.2-r1_all.deb
 sudo dpkg -i kosagi-repo_1.2-r1_all.deb
 apt-get update
 DEBIAN_FRONTEND=noninteractive apt-get dist-upgrade

2. Install Docker (borrowed from https://github.com/hypriot/image-builder-odroid-c1/blob/master/builder/chroot-script.sh)

 wget -q https://packagecloud.io/gpg.key -O - | apt-key add -
 echo 'deb https://packagecloud.io/Hypriot/Schatzkiste/debian/ jessie main' > /etc/apt/sources.list.d/hypriot.list
 apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 2C52609D
 echo 'deb [arch=armhf] https://apt.dockerproject.org/repo debian-jessie main' > /etc/apt/sources.list.d/docker.list
 apt-get update
 DEBIAN_FRONTEND=noninteractive apt-get install \
   libltdl7 \
   docker-engine \
   docker-compose \
   docker-machine