Difference between revisions of "Kubernetes on Novena"
Line 7: | Line 7: | ||
DEBIAN_FRONTEND=noninteractive apt-get dist-upgrade | 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) | + | 2. At this point, it's probably a good idea to move to a SATA disk. |
+ | dd if=/dev/mmcblk0 of=/dev/sda bs=1M count=1 | ||
+ | fdisk /dev/sda | ||
+ | # Re-create partitions 2 and 3. Make partition 2 at least 6GB | ||
+ | # for swap (type 82), and make partition 3 the rest of the disk. | ||
+ | # Type "x" for Expert mode, then "i", and change the ID to 0x4e6f7653. | ||
+ | # Then "r" to return to the main menu, and "w" to write it to disk. | ||
+ | mkfs.ext4 /dev/sda3 # or install btrfs-tools or xfsprogs and make a different type | ||
+ | mount /dev/sda3 /mnt | ||
+ | rsync -avxHAX --progress / /mnt/ | ||
+ | novena-eeprom -w -f es8328,pcie,gbit,hdmi,eepromoops,sataroot | ||
+ | |||
+ | 3. 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 - | 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 | echo 'deb https://packagecloud.io/Hypriot/Schatzkiste/debian/ jessie main' > /etc/apt/sources.list.d/hypriot.list |
Revision as of 10:33, 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. At this point, it's probably a good idea to move to a SATA disk.
dd if=/dev/mmcblk0 of=/dev/sda bs=1M count=1 fdisk /dev/sda # Re-create partitions 2 and 3. Make partition 2 at least 6GB # for swap (type 82), and make partition 3 the rest of the disk. # Type "x" for Expert mode, then "i", and change the ID to 0x4e6f7653. # Then "r" to return to the main menu, and "w" to write it to disk. mkfs.ext4 /dev/sda3 # or install btrfs-tools or xfsprogs and make a different type mount /dev/sda3 /mnt rsync -avxHAX --progress / /mnt/ novena-eeprom -w -f es8328,pcie,gbit,hdmi,eepromoops,sataroot
3. 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