Jorik Jonker 1092c3a506 feat: add Pine64 SBC support
This add support for the Pine64 and Pine64+ ARM64 SBCs.

Signed-off-by: Jorik Jonker <jorik@kippendief.biz>
2021-04-29 07:16:11 -07:00

58 lines
1.4 KiB
Markdown

---
title: "Pine64"
description: "Installing Talos on a Pine64 SBC using raw disk image."
---
## Prerequisites
You will need
- `talosctl`
- an SD card
Download the latest alpha `talosctl`.
```bash
curl -Lo /usr/local/bin/talosctl https://github.com/talos-systems/talos/releases/latest/download/talosctl-$(uname -s | tr "[:upper:]" "[:lower:]")-amd64
chmod +x /usr/local/bin/talosctl
```
## Download the Image
Download the image and decompress it:
```bash
curl -LO https://github.com/talos-systems/talos/releases/latest/download/metal-pine64-arm64.img.xz
xz -d metal-pine64-arm64.img.xz
```
## Writing the Image
The path to your SD card can be found using `fdisk` on Linux or `diskutil` on macOS.
In this example, we will assume `/dev/mmcblk0`.
Now `dd` the image to your SD card:
```bash
sudo dd if=metal-pine64-arm64.img of=/dev/mmcblk0 conv=fsync bs=4M
```
## Bootstrapping the Node
Insert the SD card to your board, turn it on and wait for the console to show you the instructions for bootstrapping the node.
Following the instructions in the console output to connect to the interactive installer:
```bash
talosctl apply-config --insecure --interactive --nodes <node IP or DNS name>
```
Once the interactive installation is applied, the cluster will form and you can then use `kubectl`.
## Retrieve the `kubeconfig`
Retrieve the admin `kubeconfig` by running:
```bash
talosctl kubeconfig
```