Install k3s on master node:
curl -sfL https://get.k3s.io | sh -
# get token
cat /var/lib/rancher/k3s/server/node-token
Install k3s on worker nodes as agents:
Install k3s on master node:
curl -sfL https://get.k3s.io | sh -
# get token
cat /var/lib/rancher/k3s/server/node-token
Install k3s on worker nodes as agents:
apiVersion: kind.sigs.k8s.io/v1alpha3 | |
kind: Cluster | |
nodes: | |
- role: control-plane | |
- role: worker | |
- role: worker | |
- role: worker | |
kubeadmConfigPatches: |
version: '3' | |
volumes: | |
caddy_data: | |
caddy_config: | |
services: | |
caddy: | |
image: caddy | |
volumes: | |
- caddy_data:/data | |
- caddy_config:/config |
# Install QEMU OSX port with ARM support | |
sudo port install qemu +target_arm | |
export QEMU=$(which qemu-system-arm) | |
# Dowload kernel and export location | |
curl -OL \ | |
https://github.com/dhruvvyas90/qemu-rpi-kernel/blob/master/kernel-qemu-4.1.7-jessie | |
export RPI_KERNEL=./kernel-qemu-4.1.7-jessie | |
# Download filesystem and export location |
This is how to connect to another host with your docker client, without modifying your local Docker installation or when you don't have a local Docker installation.
First be sure to enable the Docker Remote API on the remote host.
This can easily be done with a container.
For HTTP connection use jarkt/docker-remote-api.
Expose Kubernetes ClusterIP services with inlets.dev
# Linux
sudo curl -Lo /usr/local/bin/kind \
# Install Homebrew | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# Install QEMU OSX port with ARM support | |
brew install qemu | |
export QEMU=$(which qemu-system-arm) | |
# Dowload kernel and export location | |
brew install wget | |
wget https://github.com/dhruvvyas90/qemu-rpi-kernel/raw/master/kernel-qemu-4.4.34-jessie |
# Install Homebrew | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# Install QEMU OSX port with ARM support | |
brew install qemu | |
export QEMU=$(which qemu-system-arm) | |
# Dowload kernel and export location | |
brew install wget | |
wget https://github.com/dhruvvyas90/qemu-rpi-kernel/raw/master/kernel-qemu-4.4.34-jessie |
kind: Cluster | |
apiVersion: kind.x-k8s.io/v1alpha4 | |
nodes: | |
- role: control-plane | |
extraMounts: | |
- hostPath: /tmp/audit | |
containerPath: /tmp/audit | |
- role: worker | |
kubeadmConfigPatches: | |
- | |