https://github.com/sergioarmgpl/arduinodaygt2024
https://github.com/sergioarmgpl/arduinodaygt2024
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sergioarmgpl/arduinodaygt2024
- Owner: sergioarmgpl
- Created: 2024-04-17T21:55:36.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-02T00:52:35.000Z (about 1 year ago)
- Last Synced: 2024-12-29T21:12:13.439Z (5 months ago)
- Language: Python
- Size: 13.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# arduinodaygt2024
# Install K3s on RPI 4B
1. Install Raspbian
2. Configure your Network
```
sudo nmcli c mod "Wired connection 1" ipv4.addresses 172.16.0.10/16 ipv4.method manualsudo nmcli con mod "Wired connection 1" ipv4.gateway 172.16.0.1
sudo nmcli con mod "Wired connection 1" ipv4.dns 172.16.0.1
sudo nmcli -p connection show/boot/firmware/cmdline.txt
cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory/etc/sysctl.conf
net.ipv4.ip_forward=1
net.ipv6.conf.all.forwarding=1sudo apt-get install iptables
```3. Install K3s
```
MASTER_IP=YOUR_STATIC_IP
curl -sfL https://get.k3s.io | K3S_KUBECONFIG_MODE="644" INSTALL_K3S_EXEC="--disable traefik --tls-san "$MASTER_IP" --node-external-ip="$MASTER_IP" --node-ip="$MASTER_IP" --disable=servicelb" sh -s -
```
4. Compile containers
docker context use desktop-linux
https://github.com/abiosoft/colima/issues/52# Installing MetalLB
kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.14.4/config/manifests/metallb-native.yaml
```
cat <