This article provides an introduction to GitHub Actions, which is GitHub’s native CI/CD and automation system.

The article first explains the basic concepts of GitHub Actions, such as workflows, jobs, and steps, and then presents several simple example workflows to get you started quickly. You can run all of these workflows in your own repository.

Contents

What is GitHub Actions?

GitHub Actions is a CI/CD and general automation system introduced by GitHub in 2018. It is integrated…


I implemented what I call “the world’s simplest Kubernetes dashboard” consisting of 50 lines of Bash code. It’s called k1s and this article explains how to use it and how it works.

Image for post
Image for post

Of course, “the world’s simplest” is not a serious claim. 😉

You can find the complete code and detailed usage instructions for k1s in the weibeld/k1s repository on GitHub.

Contents

Overview

Here’s a general taste of what k1s looks like:


This article shows how to implement LDAP authentication for Kubernetes with the Webhook Token authentication plugin. The article includes a tutorial taking you from zero to the complete system with step-by-step instructions. No previous knowledge about Kubernetes authentication is required.

In the tutorial, you will set up an LDAP directory, a webhook service, and a Kubernetes cluster from scratch. You will deploy all components to Google Cloud Platform (GCP). In the end, you will have a fully workable Kubernetes cluster that users can access with their LDAP credentials.

A previous version of this article has been published on learnk8s.io.

Contents


This article discusses the pros and cons of having either many small clusters or few large clusters for running a given set of apps.

The related topic of choosing either many small or few large worker nodes for achieving a given cluster capacity is discussed in the article “Architecting Kubernetes clusters — choosing a worker node size”.

Contents

As a quick reference, here are the discussed pros (👍) and cons (👎) for the two cluster strategies.

Few large clusters:


This article gives a high-level overview of how the Horizontal Pod Autoscaler (HPA) in Kubernetes works and how to use it.

A previous version of this article has been published on learnk8s.io.

Contents

  1. Introduction
  2. Different types of autoscaling in Kubernetes
  3. What is the Horizontal Pod Autoscaler?
  4. How is the Horizontal Pod Autoscaler configured?
  5. How are application metrics obtained?
  6. Putting everything together

Introduction

Deploying a stateless app with a statically configured number of replicas is not optimal.

Traffic patterns can change quickly, and the app should be able to adapt to them:

  • When the rate of requests increases, the app should scale up…


This article discusses the pros and cons of using either many small or few large worker nodes in a Kubernetes cluster.

The related topic of using either many small or few large Kubernetes clusters for running a given set of apps is discussed in the article “Architecting Kubernetes clusters — choosing a cluster size”.

This article was originally published on learnk8s.io.

Contents

As a quick reference, here are the discussed pros (👍) and cons (👎) of large and small nodes.

Large nodes:


This article presents a Terraform module for creating bare-bones Kubernetes clusters with kubeadm on AWS.

Contents

  1. Introduction
  2. Managed Kubernetes services
  3. Kubernetes installation tools
  4. The Terraform kubeadm module
  5. What is Terraform?
  6. Prerequisites for using the Terraform module
  7. Creating a single cluster
  8. Connecting to a node
  9. Using a dedicated VPC
  10. Creating multiple clusters
  11. Installing CNI plugins
  12. Destroying the clusters
  13. Conclusion

Introduction

There are many ways to create Kubernetes cluster s— from simple cluster installation tools like kubeadm to full-blown managed Kubernetes services like GKE, EKS, or AKS.

Generally, the available options pose a trade-off between automation and flexibility:

  • Managed Kubernetes services make creating a…


Creating a Slack bot that creates and sends invoices automatically

Intro

This is supposed to be the first of a series of “updates” that I plan to write during the development of a new project. The project is a Slack bot that automates the creation and sending of invoices.

I have no fixed schedule for this project, but updates should follow with intervals of a few days or weeks.

Contents

Problem

I work as a freelancer, which is a job that involves keeping track of your working time (and other resources) and sending invoices to the customers on the…


Image for post
Image for post

This story has been originally published at learnk8s.io.

If you work with Kubernetes, then kubectl is probably one of your most-used tools. Whenever you spend a lot of time working with a specific tool, it is worth to get to know it very well and learn how to use it efficiently.

This article contains a series of tips and tricks to make your usage of kubectl more efficient and effective. At the same time, it aims at deepening your understanding of how various aspects of Kubernetes work.

The goal of this article is not only to make your daily work…

Daniel Weibel

Systems Programming | Software Development | Cloud Engineering | UNIX/Linux | Go | Kubernetes | AWS

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store