Learn Kubernetes Weekly issue 94 · 28 Aug 2024

CNI and Network Namespaces, CNI benchmark over 40gbit/s, Allocatable memory and CPU, Graceful shutdown, Katalyst, Fun with authorization

PerfectScale - achieve peak Kubernetes performance, at the lowest possible cost.

Articles

  1. CNI and Network Namespaces

    medium.com

    In this 5-part series, you will learn how to build your own CNI from scratch.

  2. Kubernetes Guide: Karpenter monitoring with Prometheus

    www.perfectscale.io

    Optimize Kubernetes autoscaling processes and strengthen your infrastructure with a powerful guide for monitoring Karpenter with Prometheus.

    Includes a downloadable Grafana dashboard.

    sponsored

  3. Benchmark results of Kubernetes network plugins (CNI) over 40gbit/s network

    medium.com

    This article presents benchmark results of Kubernetes network plugins (CNI) over a 40Gbit/s network, providing insights into the performance of various CNI plugins and offering suggestions for choosing the right plugin for specific use cases.

  4. Allocatable memory and CPU in Kubernetes nodes

    learnk8s.io

    Kubernetes nodes reserve resources for the operating system, Kubernetes agents, and eviction threshold.

    GKE, EKS, and AKS have specific resource reservations.

    Larger nodes can host more pods, but smaller nodes have their advantages.

  5. Graceful shutdown and zero downtime deployments in Kubernetes

    learnk8s.io

    In this article, you will learn how to prevent broken connections when a Pod starts up or shuts down.

    You will also learn how to shut down long-running tasks gracefully.

  6. Katalyst: A QoS-based resource management system for workload colocation on Kubernetes

    dev.to

    This article covers Katalyst, a QoS-based resource management system for workload colocation on Kubernetes.

    Katalyst supports multiple resource estimation strategies, including heuristics, unsupervised learning, and QoS-aware algorithms.

Articles worth checking out:

Start optimizing your K8s, for free

PerfectScale

Autonomous optimization that ensures K8s peak performance at the lowest possible cost.

Production-ready, revision-aware, HPA compatible. Install in minutes and get instant results.

Get started for free

Start optimizing your K8s, for free

Tutorials

  1. Deploy and update Zarf packages in an air gap

    medium.com

    This tutorial gives an example of using Zarf to deploy a Podinfo package into an air-gapped Kubernetes cluster and then upgrading that Podinfo package to a newer version.

  2. The state of Kubernetes efficiency: an insider's look

    info.perfectscale.io

    This exclusive report dives into data from thousands of nodes, revealing key insights on Kubernetes cost optimization and performance.

    Learn which metrics to track and proactive practices to optimize your Kubernetes operations.

    sponsored

  3. Perform CRUD operations on Kubernetes using Golang

    blog.kubesimplify.com

    This article will teach you how to perform CRUD operations on a Kubernetes cluster using the Go programming language and the k8s·io/client-go library.

  4. Implementing AWS ECR Pull Through cache for EKS cluster

    marcincuber.medium.com

    This guide provides details on setting up an AWS ECR pull-through cache for your EKS cluster using Terraform.

  5. Argo Events :  S3 EventSource and Argo Workflow Trigger

    medium.com

    In this tutorial, you will explore how Argo Events automates workflows in a Kubernetes cluster using an S3 event source and Argo Workflow.

More tutorials:

Abusing Distroless containers: shell commands on shell-less containers

In this KubeFM episode, Harsha explores the intricacies of Kubernetes security, focusing on the benefits and misconceptions of Distroless container images and the broader aspects of container security.

You will learn:

  • The advantages and limitations of Distroless container images: understand why these images are smaller, have a reduced attack surface and are not inherently secure.
  • Best practices for container security: gain insights into selecting base images, managing dependencies, and fortifying your infrastructure at every layer.
  • Supply chain security: explore how the supply chain can be an attack vector and the importance of signing artifacts and validating sources.
  • Emerging Kubernetes tools and future projects: discover the latest tools Harsha is monitoring and get a sneak peek into his upcoming projects, including a new podcast and a tool for simulating multistage attacks in cloud-native environments.
Abusing Distroless containers: shell commands on shell-less containers

Kubernetes jobs

    • Software Engineer with Block

    • Salary: CA$110.5K to CA$171.7K a year

    • Location: remote from Canada

    • Tech stack: Kubernetes, AWS, Go, Java, Kotlin, DynamoDB, MySQL, Kafka, Prometheus, Datadog

    • Platform Engineer with Hewlett-Packard

    • Salary: $128K to $295K a year

    • Location: based in the office (and remote from home) in Minnesota / Texas / Colorado, USA

    • Tech stack: Kubernetes, AWS, Azure, GCP, Go, Python, Openstack

    • Software Engineer with Life360

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

    • Location: remote from the United States

    • Tech stack: Kubernetes, AWS, Java, Python, PHP, DynamoDB, MySQL, Kafka

Discover more Kubernetes jobs on Kube Careers →

Code & tools

  1. Kubernetes Resource Recommender

    github.com/robusta-dev

    Kubernetes Resource Recommender is a CLI tool for optimizing resource allocation in Kubernetes clusters.

    It gathers pod usage data from Prometheus and recommends requests and limits for CPU and memory.

    This reduces costs and improves performance.

  2. RBAC Manager

    github.com/FairwindsOps

    RBAC Manager is an operator that supports declarative configuration for RBAC with new custom resources.

    Instead of managing role bindings or service accounts directly, you can specify the desired state, and RBAC Manager will make the necessary changes.

  3. Coroot: eBPF-based observability

    github.com/coroot

    Coroot is an open-source eBPF-based observability tool that turns telemetry data into actionable insights, helping you quickly identify and resolve application issues.

  4. Headlamp: Kubernetes web UI

    github.com/headlamp-k8s

    Headlamp is an easy-to-use and extensible Kubernetes web UI.

  5. Helm Uniform Layer Library

    github.com/vidispine

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

Other interesting projects:

Subscribe to Learn Kubernetes Weekly

Trusted by 77K engineers. Delivered 150 issues and counting.

or subscribe via

Upcoming Kubernetes events

  1. Aug

    28

    Kubeflow 101: where ML meets Kubernetes

    Online meetup organized by Kubernetes Sri Lanka.

    • This is a virtual event

    • This is a free event.

  2. Aug

    28

    Deploying and scaling Microsoft Orleans on Azure Kubernetes Service

    Online meetup organized by Come Cloud With Us.

    • This is a virtual event

    • This is a free event.

  3. Aug

    29

    Simplifying your Kubernetes infrastructure with cdk8s

    Online meetup organized by Cloud Native Riyadh.

    • This is a virtual event

    • This is a free event.

  4. Sept

    4

    ContainerDays 2024

    In-person conference organized by Loovent.

    • Location: Hamburg, DE

    • This event requires an entrance fee

      • Use CDS24_20%-LEARNK8S to get 20% off

  5. Sept

    4

    Kubernetes Community Days Sydney 2024

    In-person conference organized by KCD Australia.

    • Location: Sydney, AU

    • This event requires an entrance fee

  6. Sept

    30

    Advanced Kubernetes course (London)

    In-person workshop organized by Learnk8s.

    • Location: London, GB

    • This event requires an entrance fee

Discover more Kubernetes events on Kube Events →

Thanks to our sponsors who make Kube Today possible

  • LearnKube
  • Akamai
  • Fairwinds
  • Densify
Find out more about being a sponsor →

Kubernetes call for papers

  1. expired

    Kubernetes Community Days Denmark 2024

    The Call For Paper was open until 16 September 2024 at UTC. More info →
    • Location: Copenhagen, DK

    • In-person conference organized by KCD Denmark.

    • The conference starts on the 20 November 2024.

    • Apply here
  2. expired

    Kunbernetes Community Days Ghana

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

    • Online conference organized by KCD Ghana.

    • The conference starts on the 26 November 2024.

    • Apply here
  3. expired

    Kubernetes Community Days Indonesia 2024

    The Call For Paper was open until 2 September 2024 at UTC. More info →
    • Location: Jakarta, ID

    • In-person conference organized by KCD Indonesia.

    • The conference starts on the 30 November 2024.

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

    Cloud Technology Townhall Tallinn 2025

    The Call For Paper was open until 15 September 2024 at UTC. More info →
    • Location: Tallinn, EE

    • In-person conference organized by Cloud Technology Townhall Tallinn.

    • The conference starts on the 31 January 2025.

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

    QCon San Francisco

    The Call For Paper was open until 18 September 2024 at UTC. More info →
    • Location: San Francisco, CA, USA

    • In-person conference organized by InfoQ.

    • The conference starts on the 18 November 2024.

    • Apply here
  9. expired

    Devopsdays Bogotá

    The Call For Paper was open until 2 September 2024 at UTC. More info →
    • Location: Bogotá, CO

    • In-person conference organized by Devopsdays.

    • The conference starts on the 29 October 2024.

    • Apply here

Until next time!

— Dan

Subscribe to Learn Kubernetes Weekly

Trusted by 77K engineers. Delivered 150 issues and counting.

or subscribe via