K3D testing with Vagrant

K3D testing with Vagrant

Introduction As mentioned in previous articles, Vagrant is a useful tool for development. It allows the quick creation of virtual machines, VMs, via decorative syntax and hypervisors, be it Hyper-V, VirtualBox, or some other. For sheer interests, I want to work with the latest K3D, a CLI that utilizes Docker to create a light-weight Kubernetes, K3S, that runs within Docker. Although “HA”, high availability, works on the same compute, VMs, whatever, a new feature was just incorporated that I would like to use to create remote servers and agents, or rather nodes / node pools....

September 19, 2021 · 5 min · Me
Port knocking

Port knocking

Introduction This very short article is about port knocking and iptables. Port knocking allows a specific port to be opened when a sequence of connection attempts on predefined ports are made. The correct sequence of “knocks” will dynamically open the desired port temporarily so that a connection can be made on the desired port. In this article we will use port 22 as the port to hide with four (4) UDP ports to knock....

September 11, 2021 · 3 min · Me
Preparing LXC environments via Ansible

Preparing a LXC environment via Ansible

Introduction Ansible is my go-to IaC tool. Why? Because unlike other tools it just requires SSH or WinRM access to a machine. I prefer this method for simplicity rather than creating a master/slave relationship. LXD is also my go-to container and virtual machine manager. Sure, we can debate all day the pros and cons and compare to “Docker”. Although, I must state for local development, I will use Docker and Docker Compose, but for production, I prefer LXD, which runs an OS as a container and can utilize the benefits of a VM....

September 11, 2021 · 3 min · Me
Grafana alert watcher written in GO

Grafana 8.1 alert watcher written in GO

Introduction With the recent release of Grafana 8 a new opt-in feature for alerting has been made available. Grafana alerting has dramatically changed, and in my opinion, for the good. Why? Primarily due to the fact you are no longer limited to a dashboard. Alerts, rules, can be made directly in the alert manager tab. With this change in Grafana I was hoping to find a GO project that would consist of a REST API wrapper for this new feature; however, I could not find anything....

September 7, 2021 · 7 min · Me
Apache Hadoop and Yarn - Big Data Series

Apache Hadoop and Yarn - Big Data Series

Introduction I feel a little late to the party, probably by half a decade or more, but nonetheless, I was recently tasked with creating a proof of concept - ecosystem for big data. With that said, my adventures began with configuring a compute instance on our cloud provider and installing docker/docker-compose. At which point, scouring the many documents and sites on “big data” I opted with Apache Hadoop, a well-known, reliable, scalable, distributed computing framework....

November 21, 2020 · 14 min · Me