Learn Kubernetes Weekly issue 103

Load shedding in private cloud, Endpoints & EndpointSlices guide, the "lost" SIGTERM signals, Observability != observability, fixing etcd database size

30 Oct 2024

This newsletter is brought to you by Loft Labs — simplify Kubernetes with vCluster, the leading solution for Kubernetes multi-tenancy and cost savings

  1. How Agoda handles load shedding in private cloud

    Agoda Engineering

    Agoda's Gatekeeper implements load shedding in private cloud using reactive capacity determination and inflight metrics.

    The Rust-based system integrates with Istio, overcoming JVM limitations to prioritize requests during high-demand periods.

  2. A comprehensive guide to mastering Kubernetes multi-tenancy

    Loft Labs

    Explore the intricacies of Kubernetes multi-tenancy and learn best practices for securely and efficiently managing multiple tenants.

    With this guide, you'll learn how to:

    1. Understand multi-tenancy in Kubernetes.
    2. Use namespaces and resource isolation.
    3. Secure multi-tenant Kubernetes clusters.

    sponsored

  3. A hands-on guide to Kubernetes endpoints & EndpointSlices

    Anvesh Muppeda

    This article explains how Kubernetes Endpoints and Endpoint Slices manage service discovery, load balancing, and health monitoring, and provides a hands-on example and best practices for using them effectively.

  4. Kubernetes: containers, and the "lost" SIGTERM signals

    Arseny Zinchenko

    When terminated, containers may not receive SIGTERM signals, causing processes to terminate abruptly.

    This issue arises when the PID 1 process in the container ignores SIGTERM signals, leading to unexpected termination.

    Learn how to fix it.

  5. Observability is not equal observability in Kubernetes

    Artem Lajko

    In this article, you will learn how observability in Kubernetes is not a one-size-fits-all concept but rather a multi-layered and complex topic that requires a tailored approach to effectively address the needs of different stakeholders.

  6. Amazon EKS: managing and fixing etcd database size

    Marcin Cuber

    This article explains how to manage and fix ETCD database size issues in Amazon EKS, including monitoring control plane metrics and reclaiming space.

    It provides a real-life example of resolving a broken EKS cluster.

Articles worth checking out:

Why run 100 Kubernetes clusters when you can run just 1?

vCluster by Loft Labs

Solve Kubernetes multi-tenancy with virtual clusters.

Run multiple secure, isolated environments on a single Kubernetes cluster without the cost and complexity of managing separate clusters.

Try vCluster

Why run 100 Kubernetes clusters when you can run just 1?
  1. Deploying a scalable STUN service in Kubernetes

    Gabor Retvari

    This article provides a step-by-step guide on deploying a scalable STUN service in Kubernetes using STUNner.

    It discusses the challenges of deploying a STUN service in a Kubernetes environment and provides solutions to these challenges.

  2. Kubernetes-based event-driven autoscaling with KEDA: a practical guide

    Digital Power

    This tutorial explains KEDA and its components and guides you through deploying it in a local development environment using Docker and Minikube, with a use case demonstrating how to scale a job based on events in a Redis list.

  3. Zero Trust Kubernetes Ingress with Tailscale Operator, cert-manager and external-dns

    Mattia Forcellese

    This tutorial demonstrates how to set up a zero-trust Kubernetes ingress with Tailscale operator, cert-manager, and external-dns.

    The configuration enables easy and rapid deployment of private ingresses accessible only to authorized devices.

  4. How to attach USB devices to Kubernetes pods using Akri

    Hampus Carlsson

    This article explores how to attach USB devices to Kubernetes pods using Akri, an open-source project that simplifies the management of edge devices in Kubernetes.

  5. Building a production-ready cluster from a rusty laptop

    Ian Kiprotich

    This article guides you through deploying a Kubernetes cluster using Kubeadm with Cilium on a Proxmox server, transforming an old laptop into a production-ready cluster.

    • Software Engineer with Woolf

    • Salary: $40K to $60K a year

    • Location: remote from the United States

    • Tech stack: Kubernetes, GCP, Javascript, Redis, PostgreSQL

    • Engineering Manager with Invitro Capital

    • Salary: $72K to $96K a year

    • Location: remote from Costa Rica

    • Tech stack: Kubernetes, AWS, Azure, GCP, Docker, Python, Javascript, Terraform, Jenkins, GitHub Actions

    • Software Engineer with Fluent, LLC

    • Salary: CA$140K to CA$160K a year

    • Location: remote from Canada

    • Tech stack: Kubernetes, AWS, Docker, Javascript, Java, Typescript, C#, Redis, Kafka, Elastic Search

    • DevSecOps Engineer with Lattice

    • Salary: $166K to $207.5K a year

    • Location: remote from the United States

    • Tech stack: Kubernetes, AWS, Docker, Python, GraphQL, Javascript, Typescript, Ruby

Discover more Kubernetes jobs on Kube Careers →

  1. DevPod: Codespaces but open-source

    DevPod is a client-only tool to create reproducible developer environments based on a devcontainer.json on any backend.

    Each developer environment runs in a container and is specified through a devcontainer.json.

    sponsored

  2. Kube state metrics

    kubernetes

    kube-state-metrics (KSM) is a service that listens to the Kubernetes API server and generates metrics about the state of objects such as deployments, nodes and pods.

  3. Zeropod: scale to zero

    ctrox

    zeropod is a tool that automatically checkpoints containers to disk after a certain amount of time of the last TCP connection, allowing for fast and seamless scaling down to zero.

  4. Kubeui: friendly kubectl

    kubeui makes kubectl more user-friendly.

    This is still kubectl but enhanced with fzf.

  5. AWS controllers

    aws-controllers-k8s

    AWS Controllers for Kubernetes (ACK) lets you define & use AWS service resources directly from Kubernetes.

    With ACK, you can use AWS-managed services for your applications without defining resources outside the cluster.

Other interesting projects:

Upcoming Kubernetes events

  1. Nov

    5

    Devopsdays Warsaw

    In-person conference organized by Devopsdays.

    • Location: Warsaw, PL

    • This event requires an entrance fee

  2. Nov

    5

    The DevOps conference 2024

    In-person conference organized by Eficode.

    • Location: Copenhagen, DK

    • This event requires an entrance fee

  3. Nov

    5

    CloudX 2024

    In-person conference organized by DevNetwork.

    • Location: Santa Clara, CA, USA

    • This event requires an entrance fee

  4. Nov

    6

    Øredev

    In-person conference organized by Öredev.

    • Location: Malmö, SWEDEN

    • This is a free event.

  5. Nov

    6

    Intro to KubeVirt on GKE

    In-person meetup organized by Cloud Native Boston.

    • Location: Boston, MA, USA

    • This is a free event.

  6. Nov

    7

    Choosing the right requests, limits and nodes in Kubernetes

    Online meetup organized by Learnk8s.

    • This is a virtual event

    • This is a free event.

  7. Nov

    14

    Advanced Kubernetes course

    Online workshop organized by Learnk8s.

    • This is a virtual event

    • This event requires an entrance fee

Discover more Kubernetes events on Kube Events →

Kubernetes Call for Papers

  1. expired

    Dutch Cloud Native Day 2024

    The Call For Paper was open until 31 October 2024 at UTC. More info →
    • Location: Amsterdam, NL

    • In-person conference organized by Cloud Native Amsterdam.

    • The conference starts on the 10 December 2024.

    • Apply here
  2. 4

    days

    KubeCon + CloudNativeCon Europe 2025

    The Call For Paper is 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
  3. expired

    Tech Internals Conf

    The Call For Paper was open until 1 November 2024 at UTC. More info →
    • Location: Berlin, DE

    • In-person conference organized by TIC.

    • The conference starts on the 27 February 2025.

    • Apply here
  4. expired

    CfgMgmtCamp 2025

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

    • In-person conference organized by CfgMgmtCamp.

    • The conference starts on the 5 February 2025.

    • Apply here
  5. 10

    days

    FOSDEM

    The Call For Paper is 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

    DevSecOps 2024

    The Call For Paper was open until 4 November 2024 at UTC. More info →
    • This is a virtual event

    • Online conference organized by Conf42.

    • The conference starts on the 5 December 2024.

    • Apply here
  7. 9

    days

    Cybersec Asia 2025

    The Call For Paper is open until 30 November 2024 at UTC. More info →
    • Location: Bangkok, TH

    • In-person conference organized by Cybersec Asia.

    • The conference starts on the 29 January 2025.

    • Apply here
  8. 55

    days

    Devopsdays Zurich

    The Call For Paper is open until 15 January 2025 at UTC. More info →
    • Location: Zurich, CH

    • In-person conference organized by Devopsdays.

    • The conference starts on the 12 March 2025.

    • Apply here
  9. expired

    RuhrSec 2025

    The Call For Paper was open until 10 November 2024 at UTC. More info →
    • Location: Bochum, DE

    • In-person conference organized by Hackmanit.

    • The conference starts on the 21 February 2025.

    • Apply here

Until next time!

— Dan

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

Or follow us on: