k3s - small kubernetes - part 2

Intro I recently sat down and thought to myself “I wonder how the current market of mini or micro kubernetes distributions is going”. I’ve been using minikube for a bit and thought to myself it was about time to start using a few other distributions. So I have been experimenting with different micro or mini distributions. This post is about k3s. k3s k3s is an open source project that you can find here: [https://k3s....

March 5, 2022 · 9 min · codecowboy.io

k0s - small kubernetes - part 1

Intro I recently sat down and thought to myself “I wonder how the current market of mini or micro kubernetes distributions is going”. I’ve been using minikube for a bit and thought to myself it was about time to start using a few other distributions. So I have been experimenting with different micro or mini distributions. This post is about k0s. k0s k0s is an open source project that you can find here: https://k0sproject....

February 19, 2022 · 8 min · codecowboy.io

Libp2p experiments with NGINX Unit

Intro I recently picked up libp2p again. It’s a project that I’ve been checking in on for a number of years, and decided to check it again recently. The difference is that this time I had a use for it! You can find out more about libp2p here What is it? Libp2p is a peer to peer library for a multitude of languages. It provides a modular networking stack that you can use in your projects....

December 30, 2021 · 17 min · codecowboy.io

SQL Server on Kubernetes - Part 2

Intro So in my last post I showed how you could create databases on Kubernetes. There are many reasons to do this. Equally, there are reasons not to do this, but for highly distributed deployments it does make sense. This post is going to focus on the storage components of running a database on Kubernetes. Why do I need persistent storage Persistent storage as the name implies allows you to store your data between container restarts....

December 1, 2021 · 5 min · codecowboy.io

SQL Server on Kubernetes - Part 1

Intro Recently, I’ve been working with a customer who wants to provide databases on their Kubernetes cluster. Ever since Microsoft’s SQL Server was released on Linux some years ago, I’ve been fascinated with it. I decided to give it a go recently on Kubernetes, and get it all working. This is part one, where I deploy SQL server without persistent storage. In part two, I will discuss using persistent storage....

November 1, 2021 · 6 min · codecowboy.io

Media

2021 Consider telemetry when rearchitecting applications Consider telemetry when rearchitecting applications 2020 Devops Needs Collaboration and a Safe Place for Success Devops Needs Collaboration and a Safe Place for Success

September 29, 2021 · 1 min · codecowboy.io

Presentations

2021 Hashicorp talks: Using Consul-Terraform-Sync to deploy on traditional infrastructure Hashicorp talks: Using Consul-Terraform-Sync to deploy on traditional infrastructure Apis and the Modern Application Landscape [API’s and the Modern Application Landscape] (https://app.livestorm.co/p/2cff90a5-b478-4851-9b47-7a42d1066de5) Devsecops: Automate and Orchestrate Security as Part of your CI/CD Pipeline [Devsecops: Automate and Orchestrate Security as Part of your CI/CD Pipeline] (https://www.brighttalk.com/webcast/14253/365943/devsecops-automate-and-orchestrate-security-as-part-of-your-ci-cd-pipeline) OAuth and API’s (with Okta) [OAuth and API’s] (https://oauthapipowerhour2.splashthat.com/) 2020 Why statically compiling and using SCRATCH are important (Kill the Cruft!...

September 29, 2021 · 1 min · codecowboy.io

Terraform Maps

Intro I’ve been doing a lot with terraform lately, and I’ve been looking for ways to make my terraform configurations a lot simpler and have less repetition. Like a lot of people, I’ve found myself repeating the same code over and over. An example is where I repeat the same resource over and over but with different configuration parameters. It’s essentially the same resource. Why should I do this? There has to be a better way....

September 26, 2021 · 3 min · codecowboy.io

NGINX Unit

Intro I recently discovered NGINX Unit - now there’s a disclaimer here as well - I work for the company that produces this software. I do think that it’s a very very cool piece of open source software, so it generally suits my ethos: Open Source Super cool software Extensible Makes my life as a developer easier It pretty much ticks all the boxes. What is it? This one is a little harder to answer....

August 11, 2021 · 5 min · codecowboy.io

Small Containers for fun

Intro I have a side hobby where I try to create minimal container images. There are a number of reasons for this, but the primary one is because I’m a complete geek. Other reasons include: It’s a neatness thing There’s an engineering imperative in me to be minimalist I don’t like waste The process of creation helps me understand the technology a little better Smaller images are great for testing at scale Why The why I do this is mainly because it’s a hobby, but in this case, I started the ultra minimal container image build because someone I work with wanted to build a container for testing Istio latency at scale....

July 9, 2021 · 7 min · codecowboy.io