I built a k8s cluster on 3 Intel NUCs with microk8s that includes clustered storage using Mayastore (OpenEBS), snapshots, load balancing and control plane resilience.
I chose Intel NUC devices specifically for their support of an extra 2.5" drive in addition to an NVMe OS drive …
more ...You could of course do this with Ansible or any other orchestration tool. I didn't.
newgrp microk8s
sudo snap install microk8s --classic --channel=1.26/stable
echo alias mkctl=\"microk8s kubectl\" > ~/.bash_aliases
sudo usermod -a -G microk8s ubuntu
sudo chown -f -R ubuntu ~/.kube
# Dump the config to access …To clear your local DNS cache on macOS do the following:
dscacheutil -flushcache
sudo killall -HUP mDNSResponder
A simple wrapper for this (that might go in your bashrc) would be:
function clear_dns_cache() {
echo "Clearing local DNS cache..."
dscacheutil -flushcache
sudo killall -HUP mDNSResponder
}
This will get a basic rsyslog server running on UDP port 514.
brew install rsyslog
mkdir /tmp/rsyslog
rsyslogd -f /usr/local/etc/rsyslog.conf -i /usr/local/var/run/rsyslogd.pid
Config file
cat /usr/local/etc/rsyslog.conf
$ModLoad imudp
$UDPServerRun 514
$template RemoteLogs …