<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>David&#39;s Tech Blog</title>
    <link>https://markey.cloud/</link>
    <description>Recent content on David&#39;s Tech Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <copyright>© 2019</copyright>
    <lastBuildDate>Sat, 04 Jan 2020 00:21:58 +0000</lastBuildDate>
    
	<atom:link href="https://markey.cloud/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Continuous Deployment with Hugo on Kubernetes</title>
      <link>https://markey.cloud/2020/01/continuous-deployment-with-hugo-on-kubernetes/</link>
      <pubDate>Sat, 04 Jan 2020 00:21:58 +0000</pubDate>
      
      <guid>https://markey.cloud/2020/01/continuous-deployment-with-hugo-on-kubernetes/</guid>
      <description>Over Christmas I thought I&amp;rsquo;d re-vamp my personal blog. Previously a mostly out of date blog running on Wordpress that ran on a VPS. Some useful entries but mostly out of date.
I decided I didn&amp;rsquo;t want to run anything too heavy - perhaps light enough to run on a Raspberry Pi, some googling and Hugo seemed to be popular.
 Nice free themes Content as Code approach No DB to manage Very little attack surface area(unlike Wordpress)  As a Software Engineer, git flows are familiar.</description>
    </item>
    
    <item>
      <title>Securing your Kubernetes WebApp on a Shoestring.</title>
      <link>https://markey.cloud/2020/01/securing-your-kubernetes-webapp-on-a-shoestring./</link>
      <pubDate>Fri, 03 Jan 2020 06:51:58 +0000</pubDate>
      
      <guid>https://markey.cloud/2020/01/securing-your-kubernetes-webapp-on-a-shoestring./</guid>
      <description>Here we&amp;rsquo;re going to cover:
 Installing cert-manager on your Raspberry Pi k3s cluster. Installing a LetsEncrypt Cluster Issuer Getting a cert issued. Using the nginx inbuilt OWASP Modsecurity Ruleset to protect your site from attackers.  It&amp;rsquo;s a pre-requisite that the ingress-nginx controller is being used.
Installing Cert-Manager Cert-Manager makes managing SSL certs on your Kubernetes cluster child&amp;rsquo;s play. It watches your Kubernetes ingress resources for changes and if you add the required annotations, it will try to issue an SSL cert from the provider you configure.</description>
    </item>
    
    <item>
      <title>Deploying Kubernetes to a Raspberry Pi</title>
      <link>https://markey.cloud/2020/01/deploying-kubernetes-to-a-raspberry-pi/</link>
      <pubDate>Wed, 01 Jan 2020 00:44:58 +0000</pubDate>
      
      <guid>https://markey.cloud/2020/01/deploying-kubernetes-to-a-raspberry-pi/</guid>
      <description>The Raspberry Pi 4 is revolutionary. It is the perfect balance between power and affordability.
However, as with most electronics impulse-buys, I&amp;rsquo;ve had difficulty putting it to good use. I thought I&amp;rsquo;d bring up a kubernetes cluster to host my personal blog(this). There will be a series of posts related to that, this being the first.
There are a few lightweight kubernetes offerings around these days. microk8s was one I tried, but shortly after k3s appeared on the scene.</description>
    </item>
    
    <item>
      <title>New Project: kube-lookout</title>
      <link>https://markey.cloud/2019/12/new-project-kube-lookout/</link>
      <pubDate>Tue, 31 Dec 2019 22:44:58 +0000</pubDate>
      
      <guid>https://markey.cloud/2019/12/new-project-kube-lookout/</guid>
      <description>kube-lookout is a Python 3 based kubernetes controller to post changes to a kubernetes deployment to a slack channel.
It is especially useful when using CI/CD tools like Weave Flux. We use it to allow developers gain insights into the state of a new deployment rollout without needing to gain access to the cluster.
It will notify you when:
 Ready replicas is less than the desired replicas When a new version of a deployment is rolling out (with the deployment status)  You can try it out on your cluster with the manifests here.</description>
    </item>
    
    <item>
      <title>New Project: pgdatadiff</title>
      <link>https://markey.cloud/2019/12/new-project-pgdatadiff/</link>
      <pubDate>Tue, 31 Dec 2019 21:44:58 +0000</pubDate>
      
      <guid>https://markey.cloud/2019/12/new-project-pgdatadiff/</guid>
      <description>pgdatadiff is a small python utility that connects to 2 different postgres databases and compares:
 Row counts Sequence values Table data (in chunks)  It will tell you quickly if there are differences.
The use-case I developed it for was to ensure that replication was working correctly while using pglogical
It can be installed using pip install pgdatadiff and you can then run it using the pgdatadiff command.
General usgae is like this:</description>
    </item>
    
    <item>
      <title>Running a blog on Kubernetes on your home Raspberry Pi!</title>
      <link>https://markey.cloud/2019/12/running-a-blog-on-kubernetes-on-your-home-raspberry-pi/</link>
      <pubDate>Tue, 31 Dec 2019 19:44:58 +0000</pubDate>
      
      <guid>https://markey.cloud/2019/12/running-a-blog-on-kubernetes-on-your-home-raspberry-pi/</guid>
      <description>This blog is actually running on Kubernetes, on a 4GB Raspberry Pi 4!
General Stack:
 Arch Arm Linux(32 bit) - Arch on ARM RootFS on an external USB3 SSD. K3S based Kubernetes single node cluster - K3S Nginx ingress controller(not traefik as is the default for K3S)- ingress-nginx Cert-Manager for LetsEncrypt based SSL Certs - cert-manager ElasticSearch/Kibana/FluentBit for logging(All ARM builds that are running on the Raspberry Pi 4) Hugo with continuous deployment from GitHub - Hugo  This setup uses 5-7 Watts when operational.</description>
    </item>
    
    <item>
      <title>Yeah, blogging... and Christmas boredom.</title>
      <link>https://markey.cloud/2019/12/yeah-blogging...-and-christmas-boredom./</link>
      <pubDate>Sun, 29 Dec 2019 16:51:58 +0000</pubDate>
      
      <guid>https://markey.cloud/2019/12/yeah-blogging...-and-christmas-boredom./</guid>
      <description>Welcome to my latest attempt at blogging. I&amp;rsquo;m terrible keeping them updated with both material and security updates (thank you wordpress). So lets have another go, but this should be slightly different. No wordpress! Over the coming weeks you should get some mediocre content covering:
 Python Kubernetes Some old style SysAdmin stuff Some new style DevOps stuff  Enjoy!</description>
    </item>
    
    <item>
      <title>About</title>
      <link>https://markey.cloud/about/</link>
      <pubDate>Sat, 28 Dec 2019 21:37:58 +0530</pubDate>
      
      <guid>https://markey.cloud/about/</guid>
      <description>I&amp;rsquo;m a mid 30&amp;rsquo;s Software Engineer working and living in Dublin, but born and raised in Monaghan. First learned to code on my VTech Power Pad.
Graduate of Computer Science - DIT(now TUD)
Loves to learn new tech, Loves to solve hard problems in tech. Open source contributor. Loves Linux and Unix.
Fellow member of the Python Software Foundation for my many years service to the Python community in Ireland.</description>
    </item>
    
  </channel>
</rss>