Learn Kubernetes Weekly issue 106

Solve network latency jitters caused by IPVS, Load testing Kubernetes clients, Guide to graceful shutdowns, EKS Windows node from 5 min to ~90s

20 Nov 2024

This newsletter is brought to you by Testkube — Scale all of your tests with Kubernetes, integrate seamlessly with CI/CD and centralize test troubleshooting and reporting.

  1. How to solve the issue of network latency jitters caused by a massive number of IPVS rules in…

    ByteCook

    The article addresses a network latency issue in container networks where a massive number of IPVS rules caused network delays with an error rate of 0.01% to 0.04%.

    The article provides insights into debugging and resolving network latency issues.

  2. The transformative power of continuous testing and TestOps

    Bruno Lopes

    Continuous Testing transforms your workflows by embedding automated tests throughout development, catching issues early and ensuring quality at every stage.

    Learn how to accelerate feedback loops and power reliable, high-quality releases.

    sponsored

  3. Load testing Kubernetes clients without breaking the bank

    Guilherme Oenning

    Learn how load testing Kubernetes clients can be done using Kubernetes With Out Kubelet.

    This method creates a large number of nodes and pods without the need for expensive cloud resources, achieving 20,000 pods for just $15/month.

  4. Terminating elegantly: a guide to graceful shutdowns

    Alex Pliutau

    In this article, you'll discuss the problems associated with hard shutdowns and how to implement graceful shutdowns using Go's signal package and Kubernetes' termination lifecycle.

  5. How I reduced EKS Windows node start time from 5 min to ~90s

    Omorr Faruk

    This article shares techniques to reduce EKS Windows node start time from 5 minutes to around 90 seconds by optimizing the bootstrap process and image configuration.

  6. How Kubernetes Requests and Limits Really Work

    Reid Vandewiele

    In this 4-part series, you will explore how Kubernetes requests and limits work and how:

    • CPU requests and limits abstract over the Complete Fair Scheduler.
    • Memory maps to cgroups and OOM.
    • They affect node pressure and eviction

Articles worth checking out:

Kubernetes-native testing control plane

Testkube

Testkube is a Kubernetes-native testing control plane that runs any testing tool at scale from your CI/CD pipelines and provides a single pane of glass for fast troubleshooting and reporting.

Simplify, centralize, and scale your testing with ease

Kubernetes-native testing control plane
  1. GitOps-powered Kubernetes testing machine: ArgoCD + Testkube

    Yuliia Poplavska

    Discover how GitOps transforms Kubernetes testing with ArgoCD + Testkube.

    Automate testing workflows, ensure consistency, and boost deployment confidence by integrating testing seamlessly into your CI/CD pipeline.

    sponsored

  2. Understanding the extension of Kubernetes APIs with custom resource definition

    Emeka henry Uzowulu

    This article explains how to use Custom Resource Definitions in Kubernetes to extend its capabilities and manage custom application resources.

    It includes creating a CRD, setting up a custom controller, and deploying it to a Kubernetes cluster.

  3. Generate a custom type-safe Helm chart construct with CDK8s

    Andrzej Komarnicki

    This article shows how to generate a custom type-safe Helm Chart construct using Cloud Development Kit for Kubernetes (cdk8s), allowing you to define Kubernetes applications and reusable abstractions using familiar programming languages.

  4. Autoscaling with Keda and Prometheus using custom metrics in Go

    Emirhan Doğandemir

    Learn how to create custom Prometheus metrics in a Go application, deploy it on Kubernetes, configure Prometheus to scrape the metrics, and use Keda to autoscale pods based on the metrics.

  5. Getting started with AKS workload identities

    Abdul Wajid

    This article introduces Azure Kubernetes Service Workload Identities and provides a step-by-step demo on enabling and implementing them in AKS.

    • Software Engineer with Visa

    • Salary: $149.76K to $216.6K a year

    • Location: based in the office in Atlanta, GA, USA

    • Tech stack: Kubernetes, Docker, SQL, Javascript, Java

    • Software Engineer with Procore Technologies

    • Salary: $185.8K to $255.48K a year

    • Location: based in the office in Austin, TX, USA

    • Tech stack: Kubernetes, AWS, ArgoCD, Javascript, Java, Ruby, PostgreSQL, CircleCI

    • Solution Architect with Work Identity

    • Salary: €70K to €90K a year

    • Location: based in the office (and remote from home) in Hamburg, DE

    • Tech stack: Kubernetes, Azure, Docker, Shell, Python, Powershell, Terraform, Azure DevOps

    • Engineering Manager with Grafana Labs

    • Salary: $178.41K to $214.21K a year

    • Location: remote from the United States

    • Tech stack: Kubernetes, Go, SQL, Javascript, Grafana Mimir, Grafana, Grafana Tempo, Loki

Discover more Kubernetes jobs on Kube Careers →

  1. Helmfile

    Helmfile is a declarative specification for deploying Helm charts.

    It lets you:

    • Keep a directory of chart value files and maintain changes in version control.
    • Apply CI/CD to configuration changes.
    • Periodically sync to avoid skew in environments.
  2. redhat-cop/namespace-configuration-operator

    The namespace-configuration-operator helps to keep configurations related to Users, Groups and Namespaces aligned.

    The purpose is to provide the foundational building block to create an end-to-end onboarding process.

  3. Helm Uniform Layer Library

    The HULL Helm library chart is designed to ease building, maintaining and configuring Kubernetes objects in Helm charts.

  4. Kubeswitch: switch contexts

    danielfoehrKn

    Kubeswitch is a command-line tool to ease switching between different kubectl contexts.

    Kubeswitch is a drop-in replacement for kubectx.

  5. Spegel: image caching

    spegel-org

    Spegel is a tool that enables each node in a Kubernetes cluster to act as a local registry mirror, allowing nodes to share images between themselves.

Other interesting projects:

Upcoming Kubernetes events

  1. Nov

    26

    Kunbernetes Community Days Ghana

    Online conference organized by KCD Ghana.

    • This is a virtual event

    • This event requires an entrance fee

  2. Nov

    25

    Advanced Kubernetes course (London)

    In-person workshop organized by Learnk8s.

    • Location: London, UK

    • This event requires an entrance fee

  3. Nov

    25

    Kubernetes Community Days Accra 2024

    Online conference organized by KCD Ghana.

    • This is a virtual event

    • This is a free event.

  4. Nov

    21

    SREday Amsterdam 2024

    In-person conference organized by SREday.

    • Location: Amsterdam, NL

    • This event requires an entrance fee

  5. Nov

    21

    Kubernetes at the edge in Europe's first homegrown Gigafactory

    Online & in-person meetup organized by Cloud Native Stockholm.

    • Location: Stockholm, SE and virtual

    • This is a free event.

Discover more Kubernetes events on Kube Events →

Kubernetes Call for Papers

  1. expired

    KubeCon + CloudNativeCon Europe 2025

    The Call For Paper was open until 25 November 2024 at UTC. More info →
    • Location: London, UK

    • In-person conference organized by Linux Foundation.

    • The conference starts on the 1 April 2025.

    • Apply here
  2. expired

    ArgoCon Europe

    The Call For Paper was open until 4 December 2024 at UTC. More info →
    • Location: London, UK

    • In-person conference organized by Linux Foundation.

    • The conference starts on the 1 April 2025.

    • Apply here
  3. expired

    Kubernetes on Edge Day Europe

    The Call For Paper was open until 4 December 2024 at UTC. More info →
    • Location: London, UK

    • In-person conference organized by Linux Foundation.

    • The conference starts on the 1 April 2025.

    • Apply here
  4. expired

    CiliumCon Europe

    The Call For Paper was open until 4 December 2024 at UTC. More info →
    • Location: London, UK

    • In-person conference organized by Linux Foundation.

    • The conference starts on the 1 April 2025.

    • Apply here
  5. expired

    FOSDEM

    The Call For Paper was open until 1 December 2024 at UTC. More info →
    • Location: Brussels, BE

    • In-person conference organized by FOSDEM.

    • The conference starts on the 2 February 2025.

    • Apply here
  6. expired

    Data on Kubernetes Day

    The Call For Paper was open until 4 December 2024 at UTC. More info →
    • Location: London, UK

    • In-person conference organized by Linux Foundation.

    • The conference starts on the 1 April 2025.

    • Apply here
  7. expired

    Cloud Native Telco Day Europe

    The Call For Paper was open until 4 December 2024 at UTC. More info →
    • Location: London, UK

    • In-person conference organized by Linux Foundation.

    • The conference starts on the 1 April 2025.

    • Apply here
  8. expired

    Istio Day Europe

    The Call For Paper was open until 4 December 2024 at UTC. More info →
    • Location: London, UK

    • In-person conference organized by Linux Foundation.

    • The conference starts on the 1 April 2025.

    • Apply here
  9. expired

    Kubeflow Summit Europe

    The Call For Paper was open until 4 December 2024 at UTC. More info →
    • Location: London, UK

    • In-person conference organized by Linux Foundation.

    • The conference starts on the 1 April 2025.

    • Apply here

Until next time!

— Dan

Subscribe and, every Wednesday, receive the latest Kubernetes news!

Or follow us on: