Skip to content

Latest commit

 

History

History
56 lines (46 loc) · 1.29 KB

README.md

File metadata and controls

56 lines (46 loc) · 1.29 KB

Kubernetes

Tools installed

  • Curl
  • Microk8s
  • Helm
  • Dnsmasq

Install Guide

Install kubernetes on Ubuntu

sudo snap install microk8s --classic

Enable the following features in microk8s

sudo microk8s enable dashboard
sudo microk8s enable dns
sudo microk8s enable helm
sudo microk8s enable ingress

Dnsmasq cannot run at the same time as systemd-resolved. So it needs to turn off.

Turn off systemd-resolved

sudo systemctl stop systemd-resolved
sudo systemctl disable systemd-resolved
sudo systemctl mask systemd-resolved

Turn on systemd-resolved

sudo systemctl unmask systemd-resolved
sudo systemctl enable systemd-resolved
sudo systemctl start systemd-resolved

Setup Pi Hole

curl -sSL https://install.pi-hole.net | bash
  • Turn off DHCP in route for IPv4.
  • Set DHCPv6 server on stateless
  • Set IPv6 DNS servers to the local ip of pi hole
  • Turn onn DHCP in pi hole
  • Reboot your router
  • Reboot your devices

Reference

Install Kubernetes
Install helm
Setup pi hole for dns
Stop Port 53