How to use environment variables in a Kubernetes manifest

If you’re a Docker/Compose user new to Kubernetes, you might have noticed that you can’t use environment variables in your manifest files. This might not be a huge deal to most, especially since there are other (better) ways of managing environment variables in Kubernetes, but to someone getting started it can be a pain.
Continue reading “How to use environment variables in a Kubernetes manifest”

Deploy a Kubernetes cluster with Kubernetes in Docker (Kind)

The kind logo is licensed under CC BY 4.0

In a previous post, I showed how to build your own Kubernetes clusters using K3s. Since then, I’ve found an even easier cluster deployment tool that runs entirely within Docker. That’s right – if you have a computer with Docker installed, you can run a full multi-node Kubernetes cluster with no additional setup. This post shows you how to do it, and provides an all-in-one script for spinning up a full cluster with a demo website in one command.

Continue reading “Deploy a Kubernetes cluster with Kubernetes in Docker (Kind)”

Bootstrap a Kubernetes cluster with KVM and K3s

Container Ships

No joke, Kubernetes is a pain in the butt to set up yourself. Managed services like GKE and EKS are great if you have extra cash, but if you just want a basic cluster to mess around in (or you’re cheap like me), eventually you’ll start looking for a way to do it yourself.

After a lot of futzing around, I finally got a virtualized 3-node Kubernetes lab running on my home server. It’s not redundant, secure, or fail-safe, but I can run K8s applications on it without problem. And you can’t beat the cost. This blog will show you how to set up your own fully functioning, free Kubernetes cluster.

Continue reading “Bootstrap a Kubernetes cluster with KVM and K3s”

How to Break Through Writer’s Block

“Cinderblocks 2” by spike55151 is licensed under CC BY-NC-SA 2.0 

Tell me if this sounds familiar: you have an idea for an amazing new article/story/blog post, so you flip open your laptop, load up WordPress, and…nothing happens. You’re at a total loss for words. The idea’s there, but somewhere between your brain and your fingers is a broken link; a faulty synapse firing off into nothing. What happened, and what do you do about it?

Continue reading “How to Break Through Writer’s Block”

Writing in Markdown with Typora

In an earlier post called A Novel Approach to Writing, I presented my setup for creative writing using the Atom text editor and Markdown files. Since then, I’ve found an even better writing program called Typora. And while it’s not open source (or even out of beta), it’s such an amazing little program that I couldn’t help but write about it.

Note: This is not a sponsored post. I’m not affiliated with Typora or its creator.

Continue reading “Writing in Markdown with Typora”

Freedom

“DSCN8449”by Yuen-Ping aka YP is licensed under CC BY-NC-SA 2.0

What does freedom mean to you?

Freedom is the ability to pull yourself away from things that limit your potential. Freedom from obsession, from doubt, from criticism (both self and from others), from social norms and expectations. Freedom is an escape from the artificial worlds we build around ourselves and the impositions that we place on ourselves because of them. Freedom is the permission to be who and what we truly are: not as people or citizens, but living, breathing, thinking, and feeling animals.

Continue reading “Freedom”

Please, Use a Password Manager!

“Locked Padlock”by Twjst is licensed under CC BY-NC-ND 2.0

Troy Hunt posted an article on poor password protection practices (try saying that fives times fast), resulting from an analysis of a major corporate data breach. Some of the highlights were:

  • 93% of passwords are only 6 to 10 characters long
  • Two-thirds of passwords are reused across different services
  • Over a third of passwords can be found in a common dictionary

This is bad news for two reasons:

  1. Lots of passwords are easy to guess
  2. If an attacker guesses a password, chances are they can use the same password to access other services

The key is to use passwords that are long, complex, and difficult to guess. The challenge, of course, is that the harder a password is to guess, the harder it is for us to remember.

Continue reading “Please, Use a Password Manager!”