The Ops Community ⚙️

Cover image for Learn Kubernetes digest — January 2023
Daniele Polencic for Learnk8s

Posted on

Learn Kubernetes digest — January 2023

Welcome to the Learn Kubernetes January digest!

In this recap, you will find a curated collection of the best Kubernetes articles, tutorials, libraries and tools republished in January.

Table of contents

📚 Articles

1. 🔥 A set of modern Grafana dashboards for Kubernetes

In this article, you will find a set of modern Grafana dashboards for Kubernetes and the reasoning behind them.

2. 🔥 Kubernetes failure stories

A compiled list of links to public failure stories related to Kubernetes.

3. 🔥 Benchmarking cluster creation time for 8 managed Kubernetes providers

You might find this report interesting if you care about Kubernetes cluster creation time.

This benchmark compares 8 providers of managed Kubernetes to determine how long they take to initialize.

4. 🔥 Scaling Kubernetes to multiple clusters and regions

In this tutorial, you will learn how to create, connect and operate three Kubernetes clusters in different regions: North America, Europe and South East Asia.

5. 🔥 Using Fio to tell whether your storage is fast enough for etcd

The performance of your etcd cluster depends strongly on the performance of the storage backing it.

To help you understand the relevant storage performance, etcd exports some Prometheus metrics.

This article will guide you on how to make sense of them.

6. 🔥 Backup-and-restore of containers with Kubernetes checkpointing API

Kubernetes v1.25 introduced Container Checkpointing API — a way to backup-and-restore containers running in Pods, without stopping them.

In this article, you'll take a look at it and learn how to leverage it for backup-and-restore or forensic analysis.

More articles worth checking out:

📖 Tutorials

1. 🔥 About my PDF-Editor project

In this tutorial, you will follow Dipankar's journey in building a web-based PDF editor using modern web technology and infrastructure.

Dipankar linked all the online resources that he used to learn those technologies while building the project.

2. LoadBalancer services using Kubernetes in Docker

In this tutorial, you'll learn how to build a multi-node kind cluster with extraPortMappings to forward requests from your host to an NGINX ingress controller.

3. Creating a simple web app to list Kubernetes resources

In this tutorial, you'll learn how to build a simple app that lists resources on the Kubernetes cluster it runs on.

In the process, you will also learn how to utilize Service Accounts, RBAC, the Python client, Ingress and more.

4. Kubelet + API server

In this post, you will learn how to provision a kubelet, API server and etcd manually.

5. Playing with volume for statefulsets

Unlike Deployments, StatefulSets require some special care if you want to:

  1. Increase the available storage space.
  2. Move the data to another zone or region.

In this article, you will discuss the steps involved in completing those tasks.

More tutorials:

💼 Kubernetes jobs

Junior Cloud Consultant

  • Salary: €45K - 70K
  • Location: München, Germany 🇩🇪
  • Tech stack: Kubernetes, AWS, Azure, Docker

Cloud Engineer

  • Salary: €45K - 70K
  • Location: München, Germany 🇩🇪
  • Tech stack: Kubernetes, AWS, Azure, Terraform, CI/CD, ArgoCD

Discover more Kubernetes jobs on Kube Careers →

🛠 Tools and libraries

1. 🔥 box/kube-exec-controller

kube-exec-controller is an admission controller for handling container drift (caused by kubectl exec, attach, cp, or other interactive requests) inside a Kubernetes cluster.

The project also includes a kubectl plugin for checking pods.

2. 🔥 jamestgrant/kubectl-debug

kubectl-debug is a tool that lets you debug a target container in a Kubernetes cluster by automatically creating a new, non-invasive, 'debug' container in the same PID, network, user, and IPC namespace as the target container without any disruption.

3. 🔥 kubernetes-sigs/kwok

KWOK (Kubernetes-WithOut-Kubelet) is a toolkit that enables setting up a cluster of thousands of nodes in seconds.

Under the scene, all Nodes are simulated to behave like real ones, so the overall approach employs a pretty low resource footprint.

4. 🔥 k8spacket/k8spacket

k8spacket helps to understand TCP packets traffic in your kubernetes cluster:

  • Shows traffic between workloads in the cluster.
  • Informs where the traffic is routed outside the cluster.
  • Displays information about closing sockets by connections.

5. huazhihao/kubespy

kubespy is a kubectl plugin to debug a running pod.

It creates a short-lived "spy container", using a specified image containing all the required debugging tools to "spy" the target container by joining its OS namespaces.

6. wongnai/xds

Load balancing gRPC in Kubernetes is a notoriously complex problem, and one of the popular solutions involves using a service mesh.

With xDS you can use gRPC client-side load balancing with Kubernetes without writing a per-language resolver.

7. backube/volsync

VolSync asynchronously replicates Kubernetes persistent volumes between clusters using either rsync or rclone.

It also supports creating backups of persistent volumes via restic.

More interesting projects:

📅 Upcoming Kubernetes events

Extending OpenShift security and observability with Calico

📅 31 Jan, 5:00 pm UTC — Online webinar.

CloudNative SecurityCon North America 2023

📅 1 Feb, 0:00 pm UTC — In-person conference (this event requires an entrance fee).

Amazon Elastic Kubernetes Service (EKS)

📅 2 Feb, 11:00 pm UTC — In-person meetup.

🔥 Run PostgreSQL the Kubernetes way & Kubernetes on autopilot

📅 4 Feb, 5:00 am UTC — In-person meetup.


📅 6 Feb, 7:00 am UTC — In-person conference (this event requires an entrance fee).

🔥 Civo Navigate

📅 7 Feb, 0:00 pm UTC — In-person conference (this event requires an entrance fee).

🎫 Use SP50 to get 50% discount

7 Kubernetes tools to boost your productivity

📅 9 Feb, 8:00 pm UTC — Online meetup.

🔥 Advanced Kubernetes course

📅 14 Feb, 9:00 am UTC — In-person workshop (this event requires an entrance fee).

Efficient analytics applications with Kubernetes and Volcano

📅 15 Feb, 6:00 pm UTC — In-person meetup.

🔥 Kubernetes Community Days Pakistan

📅 17 Feb, 4:00 am UTC — Online conference.

Monitoring Kubernetes cluster with Prometheus/Grafana & Kubernetes in Public Cloud

📅 18 Feb, 5:15 am UTC — Online meetup.

GitOps for ML: converting notebooks to reproducible pipelines

📅 21 Feb, 3:30 pm UTC — Online meetup.

🔥 Kubernetes Community Days Amsterdam 2023

📅 23 Feb, 7:00 am UTC — Online & in-person conference (this event requires an entrance fee).

🎫 Use KCDA20 to get 20% off

Discover this month's (71) events on Kube Events →

📢 Call for papers

Discover this month's (21) Call for Papers on Kube Events →

And that's all!

If you prefer reading a weekly digest of the best Kubernetes news, you should check out Learn Kubernetes weekly!

Until next time!

Top comments (0)