Getting Started with Helm

So far in this series, we’ve created some very simple Kubernetes applications. If you built something more complicated, with dozens of manifests, it would be a faff to share it with other people. Those other people might also struggle to understand and tweak your configuration. With a Helm Chart, you can define, install, and upgrade even the most complex Kubernetes application. For instance, I worked for a CI/CD company which offered a self-hosted Kubernetes-based version of its product. Rather than having to create lots of different Kubernetes resources, customers instead received a Helm Chart with everything already mapped out - all the Deployments, Secrets, Users, and ConfigMaps. They then configured some of the values and installed the chart on their own Kubernetes cluster. ...

28 October, 2022 · 6 min · 1115 words · Catherine Pope

Installing WordPress with Helm

One of the many advantages of Helm is that it gives you a one-command installation method for many popular apps. It would take a while to create all the necessary Pods, Services, and ConfigMaps manually. In this tutorial, I’ll guide you through a two-step process for installing WordPress with Helm. Although this isn’t necessarily something you’d want to do in the real world, it’s good for understanding the basics. I was very excited when I first got this working. ...

27 October, 2022 · 3 min · 590 words · Catherine Pope

Creating a Kubernetes Service Manifest

Last time, we created a simple manifest to launch a Kubernetes deployment. Although we found a Pod lurking in minikube dashboard, we couldn’t actually see anything interesting. In this tutorial, we’ll extend that manifest to include a Service and make the app available through a web browser. As before, you’ll need minikube and associated tools, all of which are detailed in an earlier post. Exposing your Pod To make the Pod containing the app visible, you need to expose the container’s port. This involves a small addition to the original manifest file: ...

18 October, 2022 · 3 min · 521 words · Catherine Pope

Creating a Simple Kubernetes Manifest

In my previous post, I showed you how to create a Kubernetes deployment imperatively at the command line. Although this is a quick method, it’s not a good choice for real-world scenarios. You need code that’s properly documented and version controlled. Now we’re going to use a declarative approach. In this tutorial, I’ll show you how to create a simple Kubernetes deployment with a manifest file. Make sure minikube is running with minikube start before following the steps below. Hop over to that previous tutorial if you need instructions on installing minikube and related tools. ...

18 October, 2022 · 4 min · 706 words · Catherine Pope

Creating a Kubernetes Deployment with minikube

One of my first tasks as a technical writer was to document a Kubernetes-based release orchestration tool. Not daunting at all. At that time, I could provide a vague description of Kubernetes, but hadn’t the foggiest idea what it actually looked like. There aren’t many opportunities in life to just play with a Kubernetes cluster - at least, not without spending thousands of dollars on AWS. Fortunately, I discovered minikube, a free solution for installing a single-node cluster Kubernetes on your local machine. With this setup, I’ve been able to experiment with various products and projects. Thanks to a couple of clever add-ons, you can even simulate load balancers and DNS servers, too. ...

28 August, 2022 · 6 min · 1162 words · Catherine Pope