DEV Community

Cover image for A developer's guide to deploy applications on Kubernetes
Lucy Linder
Lucy Linder

Posted on • Originally published at blog.derlin.ch

2 1 1 1 1

A developer's guide to deploy applications on Kubernetes

If you haven't heard of Kubernetes by now, it means you are reading this from another planet. I didn't think I would have such a reach, awesome!

In short, Kubernetes - or its numeronym k8s - is an open-source orchestrator of containerized applications: you give it a bunch of machines (physical or virtual) and then tell it which applications you need running. It takes care of the rest: availability, management, fault tolerance, scalability, etc. Well, it is in truth a bit more complicated than that, but you get the gist.

There are so many Kubernetes tutorials out there you will find me silly proposing yet another one. However, mine is special: it completely focuses on the developers side. What counts for a developer is to understand the basics of deploying actual apps to k8s. We are not SREs or system administrators, so we don't care how the cluster runs. But we do care about shipping applications that can be deployed to Kubernetes! For this, we need a basic understanding of how apps are usually deployed.

 The talk

This is exactly what I tried to explain during a presentation at the 24th Fribourg Linux Seminar: Kubernetes and Friends given on May 11th, 2023.

Here is my talk's summary:

Let's embark on a journey where we cover all the essential building blocks you need to bring your applications to the cloud. We'll talk about Kubernetes 101, manifests, the powerful Helm packaging system, helmfile, and more. By the end of the talk, you'll have a good understanding of the different technologies to package, deploy, and manage your dockerized applications on Kubernetes with style.

As always, I couldn't stop myself and also created a complete step-by-step tutorial available online to accompany my talk, which I want to share with you all.

For those of you speaking ⚠ French ⚠:

The tutorial

The complete tutorial is available at ⮕ ✨✨ derlin.github.io/fribourg-linux-seminar-k8s-deploy-like-a-pro ✨✨

A Cool Kids Guide to Deploy on Kubernetes:

  1. Introduction
  2. The Cluster
  3. Manifests
  4. Helm
  5. Helmfile
  6. Argo CD
  7. Summary

IMPORTANT: I use the Scalable Kubernetes Service (SKS) from Exoscale (Switzerland) in the tutorial, but if you don't want to spend money on this, you can follow along with a local k3d cluster. Simply follow the instructions at the bottom of "The Cluster" section.


As always, if you enjoy this, please like the article and leave a ⭐ on the Github repo ⮕ https://github.com/derlin/fribourg-linux-seminar-k8s-deploy-like-a-pro!

With love, derlin.

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up