Learn Kubernetes Weekly issue 99

Low-cost AI on Kubernetes, BuildKit features you're missing out on, Scheduling priority in multi-team, How to Argo CD repositories with Application Sets

2 Oct 2024

This newsletter is sponsored by StormForge – Double your Kubernetes resource utilization and unburden developers from sizing complexity with the first HPA-compatible vertical pod rightsizing solution. Try it for free.

  1. How we Saved 10s of thousands of dollars deploying low cost open source AI technologies at scale with Kubernetes

    John McBride

    Learn how to deploy low-cost open-source AI technologies at scale using Kubernetes.

    Discover how to optimize resource utilization and ensure high availability for AI workloads.

  2. How and when to apply kubectl scale deployment to 0

    StormForge

    Using the kubectl command with the scale subcommand to manually execute horizontal scaling means reducing the number of running pods of an application or a workload to zero.

    This article also covers how KEDA can fill in the gaps left by the HPA.

    sponsored

  3. Recent Docker BuildKit features you're missing out on

    Martin Heinz

    This article covers recent updates to Docker BuildKit, including improvements to COPY and ADD.

    You'll learn about the --parents option, which allows you to copy nested files with their parent directories, and other subtle changes.

  4. Scheduling priority In multi-team Kubernetes cluster

    Karthikeyan Govindaraj

    This article discusses using Open Policy Agent's Rego policy language to enforce priority scheduling in a multi-team Kubernetes cluster.

  5. How to structure your Argo CD repositories using Application Sets

    Kostis Kapelonis

    Learn how to structure your Argo CD repositories using application sets effectively.

    Additionally, the article touches on sharing common applications across multiple teams and managing many applications using Argo CD application manifests.

  6. Solving CPU throttling issue in Golang applications before hitting the CPU limit in Kubernetes

    Sharyash

    When a container's CPU usage reaches its limit, it can lead to CPU throttling.

    To prevent this, in multi-threaded Golang applications, you can use automaxprocs, a tool that automatically sets GOMAXPROCS to match the desired CPU limit.

Articles worth checking out:

Double Kubernetes efficiency to optimize cost & performance

StormForge

Continuously rightsize workloads and unburden developers from sizing complexity with the first HPA-compatible vertical pod rightsizing solution.

Start a free trial or play around in the sandbox environment (no form fill required).

Double Kubernetes efficiency to optimize cost & performance
  1. How to pair cost monitoring with automated workload rightsizing Using Kubecost and Optimize Live

    Nick Walker

    Walk through how to install free versions of Kubecost for cost monitoring and Optimize Live for automated workload optimization.

    You'll see how to get a snapshot of potential savings, optimize a workload, and then see costs go down.

    sponsored

  2. Kubernetes container images signing using Cosign, Kyverno, HashiCorp Vault and GitLab CI

    Vasiliy Angapov

    This article demonstrates supply chain security:

    • Cosign, Kyverno, and HashiCorp Vault to secure container images in Kubernetes
    • GitLab CI to build, push, and sign images with Cosign and Vault.
    • Kyverno to enforce policies for signature verification.
  3. How to collect Kubernetes node metrics with Node-Exporter using CronJobs

    Harsh Mishra

    In this tutorial, you will learn how to collect Kubernetes node metrics using Node-Exporter with CronJobs.

  4. Talos: an immutable OS for Kubernetes

    Quentin JOLY

    In this tutorial, you will learn how to install Talos — an immutable OS for Kubernetes.

  5. Automating deployments with FluxCD in AKS

    Victor Gago

    This tutorial explores the use of FluxCD in Azure Kubernetes Service (AKS) to automate deployments, covering image policies, troubleshooting, and Custom Resource Definitions (CRDs).

    • DevOps Engineer with Neurolabs

    • Salary: £75K to £95K a year

    • Location: based in the office (and remote from home) in London, GB

    • Tech stack: Kubernetes, AWS, GCP, Docker, Terraform, Cloudformation, GitHub Actions

    • Platform Engineer with Standard Metrics

    • Salary: $145K to $185K a year

    • Location: remote from the United States

    • Tech stack: Kubernetes, AWS, Helm, Docker, Python, Spark, Terraform

    • Solution Architect with Grafana Labs

    • Salary: $132K to $159K a year

    • Location: remote from the United States

    • Tech stack: Kubernetes, AWS, Azure, GCP, Helm, Go, Javascript, Typescript, Grafana Mimir, Grafana

Discover more Kubernetes jobs on Kube Careers →

  1. Multus-CNI

    Multus CNI is a CNI plugin enables attaching multiple network interfaces to pods.

    Typically, in Kubernetes, each pod only has one network interface (apart from a loopback).

    With Multus, you can create a multi-homed pod with multiple interfaces.

  2. Kube Startup CPU Boost

    Google

    Kube Startup CPU Boost is a tool that increases CPU resource requests and limits during Kubernetes workload startup time and then returns them to their original values once the workload is up and running.

  3. RBAC wizard

    pehlicd

    RBAC Wizard is a tool that helps you visualize and analyze the RBAC configurations of your Kubernetes cluster.

  4. Democratic CSI

    democratic-csi implements the CSI spec providing storage for various container orchestration systems such as Kubernetes.

    The current focus is providing storage via iscsi/nfs from zfs-based storage systems predominantly FreeNAS/TrueNAS and ZoL on Ubuntu.

  5. kubediff: compare changes

    kubediff compares the local YAML resource definitions with the ones currently deployed in the cluster.

Other interesting projects:

Upcoming Kubernetes events

  1. Oct

    2

    Building an open-source platform for a 105-year-old company

    Online meetup organized by Platform Engineers Atlanta.

    • This is a virtual event

    • This is a free event.

  2. Oct

    7

    DevOpsCon New York

    Online & in-person conference organized by S&S Media.

    • Location: New York, NY, USA and virtual

    • This event requires an entrance fee

      • Use kube_ny10 to get 10% off

  3. Oct

    8

    Kubernetes Community Days Austria 2024

    In-person conference organized by KCD Austria.

    • Location: Vienna, AT

    • This event requires an entrance fee

      • Use KUBEEVENTS10 to get 10% off

  4. Oct

    8

    Cloud Native Sustainability Week 2024

    Online conference organized by CNCF.

    • This is a virtual event

    • This is a free event.

  5. Oct

    9

    Kubeday Colombia

    In-person conference organized by Linux Foundation.

    • Location: Medellín, CO

    • This event requires an entrance fee

  6. Oct

    21

    Advanced Kubernetes course (San Francisco)

    In-person workshop organized by Learnk8s.

    • Location: San Francisco, CA, USA

    • 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. 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
  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

    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
  5. expired

    Cybersec Asia 2025

    The Call For Paper was 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
  6. expired

    Devopsdays Chicago

    The Call For Paper was open until 20 October 2024 at UTC. More info →
    • Location: Chicago, IL, USA

    • In-person conference organized by Devopsdays.

    • The conference starts on the 18 March 2025.

    • Apply here
  7. 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
  8. expired

    DefCamp 2024

    The Call For Paper was open until 15 October 2024 at UTC. More info →
    • Location: Bucharest, RO

    • In-person conference organized by CCSIR.

    • The conference starts on the 29 November 2024.

    • Apply here
  9. expired

    DevCon 2024

    The Call For Paper was open until 7 October 2024 at UTC. More info →
    • Location: Bucharest, RO

    • In-person conference organized by DevCon.

    • The conference starts on the 7 November 2024.

    • Apply here

Until next time!

— Dan

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

Or follow us on: