k3s Cluster on setup master and node

For some IoT setups a need a k3s cluster running. To make it spread and to add more nodes a installed the k3s Master on my firewall running a small atom processor. But wanted to run the nodes on raspberry or rock nodes to handle the load.Then by using labels on nodes I want to […]

Read

Device Tracker using Dhpcd server and bash

I have used Home Assistance for some time. And have always used the device tracker to set different actions based if I’m home or not.But when my pfsense died and a install a clean Linux box as my fw and DHCP server I lost all my tracking for devices. But I did found out that […]

Read

Openstreat map Docker och docker compose

Split up in separate containers ! Running openstreetmap map in docker was hard. And the docs all wanted to run it bounded with postgress and not in separate containers.I setup so we can run osm I different containers for you to scale https://github.com/mattiashem/osm Clone this GitHub repo and then start it with docker compose build […]

Read

K8s Logs to Elastic with Dynamic ILM from annotations

#fluentd #fluent-bit #kubernetes #elasticsearch #ILM #logpain The time a spent fixing logs problems … From cleaning out logs that eats disk setting up log-rotate and now Elasticsearch ….. I want a easy log system that setups a Elasticsearch ILM with different life time on the logs depending on a annotation that I set on the […]

Read

Gitlab runners in K8s Helm (Working DockerInDocker)

So… I spent alot of time trying to get gitlab runners working in kubernetes. using the helm from gitlab.This is the setup i use now that works for me aand that you dont need to put to mutch inte the build job. Replace so you have your domain and key name the file runners1-values.yaml Apply […]

Read

Vault EKS / AWS to pod The complete guide

I have bean working some time with vault and to deploy it to our EKS cluster and then to get the secrets into our pods.After many hours of searching i have found out that using kube-vault and vault-env. This gude uses tarraform to setup the resources you need in AWS. Then deploy the kubevault with […]

Read