Learn Kubernetes Weekly issue 62 · 17 Jan 2024

Resource limits: predictability vs. efficiency, 3 common mistakes with promql, different kinds of managed Kubernetes, Helm's atomic

Articles

  1. The case for Kubernetes resource limits: predictability vs. efficiency

    kubernetes.io

    This article explores Kubernetes resource limits, detailing strategies for balancing efficiency with predictability and how limits affect performance, planning, and Quality of Service (QoS) classes.

  2. 3 common mistakes with promql and Kubernetes metrics

    home.robusta.dev

    In this article, you'll learn how to avoid three common mistakes with PromQL and Kubernetes metrics:

    1. Duplicate series.
    2. Grouping/sum mistakes.
    3. Unexpected Cardinality.
  3. Different kinds of managed Kubernetes

    medium.com

    In this article, you'll compare different kinds of managed Kubernetes:

    1. AKS
    2. Cluster-API
    3. vSphere with Tanzu
    4. Kubernetes based on SIG Cluster-API
    5. CAPZ
    6. Giant Swarm
    7. Kamaji
    8. Kubermatic
  4. Helm's  —  atomic option for rollback leaves you in the dark

    medium.com

    This article teaches how to use the --atomic, --wait, and --timeout flags in Helm within CI/CD pipelines.

    It highlights the importance of tracking Helm's exit status to detect deployment failures and managing rollbacks.

  5. Kubernetes: ensuring high availability for pods

    rtfm.co.ua

    In this article, you'll learn how to maintain uninterrupted pod operation while utilizing Karpenter for node scaling.

    It covers high-availability strategies like replicas, spread constraints, PodDisruptionBudgets, and do-not-disrupt annotations.

  6. Kubernetes hands-on labs and tutorials

    github.com/Collabnix

    A Curated List of Kubernetes Labs and Tutorials:

    • A $0 learning platform for all levels - from the ground up.
    • Over 500+ highly interactive Docker tutorials and guides.
    • Well tested on Kubernetes Cluster and can be run on a browser.

Articles worth checking out:

Tutorials

  1. Kubernetes custom controllers recipes for beginners

    itnext.io

    This article teaches the intricacies of developing custom controllers in Kubernetes, including tips on handling DeletionTimestamp, predicates for event filtering, setting owner references for resource management, and more.

  2. Run asynchronous tasks in a new Kubernetes pod with Nodejs

    itnext.io

    This tutorial teaches how to asynchronously handle resource-intensive tasks in Kubernetes pods with NodeJS.

    It demonstrates implementing a NodeJS API using ExpressJS and the @kubernetes/client-node library to manage pod operations.

Foolproof Kubernetes with GKE

What if Kubernetes was so easy to install and manage to be foolproof?

In this KubeFM, Mat argues that GKE is the only Kubernetes managed service that offers a beginner-friendly and thought-through experience in running a Kubernetes cluster.

Follow Mat's journey to AKS, GKE and EJS and learn:

  • How GKE autopilot can help you optimize costs and reduce underutilized node resources.
  • How the GKE container-optimized OS prevents and eliminates an entire set of security misconfigurations in node management.
  • How GCP's application of machine learning on the IAM permissions can help you gradually refine security permissions as applications are deployed.

But Mat didn't stop there and had more food for thought:

  • Are we over-logging and over-monitoring in Kubernetes?
  • CNI and Ingress have evolved since their inception. What happens now that we are stuck with those decision choices?
  • Is there a simpler alternative to Kubernetes that is multi-cloud and cloud agnostic, and what could it look like?
Foolproof Kubernetes with GKE

Kubernetes jobs

    • Site Reliability Engineer with Braintrust

    • Salary: $800 a day

    • Location: remote from the United States

    • Tech stack: Kubernetes, AWS, GCP, Docker, Go, Python, Java, Scala, Elastic Search, Grafana

    • Software Engineer with Torc Robotics

    • Salary: $139K to $166.8K a year

    • Location: remote from the United States

    • Tech stack: Kubernetes, AWS, Azure, GCP, Docker, Shell, Python, C++, Groovy, Terraform

    • Site Reliability Engineer with Grafana Labs

    • Salary: $155K to $201K a year

    • Location: remote from the United States

    • Tech stack: Kubernetes, AWS, Helm, Docker, Go, Shell, Python, Terraform, Grafana Mimir, Grafana

Discover more Kubernetes jobs on Kube Careers →

Code & tools

  1. k8spacket

    github.com/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.
  2. Kubernetes Security Profiles Operator

    github.com/kubernetes-sigs

    The Kubernetes Security Profiles Operator aims to make it easier for users to use SELinux, seccomp and AppArmor in Kubernetes clusters.

  3. smallab-k8s-pve-guide

    github.com/ehlesp

    This guide series explains how to set up a personal small home lab running a Kubernetes cluster with VMs on a Proxmox VE standalone server node.

  4. SnapScheduler: scheduled snapshots

    github.com/backube

    SnapScheduler provides scheduled snapshots for Kubernetes CSI-based volumes.

  5. NVIDIA device plugin for Kubernetes

    github.com/NVIDIA

    The NVIDIA device plugin for Kubernetes is a Daemonset that allows you to automatically:

    • Expose the number of GPUs on each node of your cluster.
    • Keep track of the health of your GPUs.
    • Run GPU-enabled containers in your Kubernetes cluster.

Other interesting projects:

Subscribe to Learn Kubernetes Weekly

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

or subscribe via

Upcoming Kubernetes events

  1. Jan

    18

    Can Backstage solve all problems? How to supercharge your Kubernetes platform!

    In-person meetup organized by Cloud Native Aalborg.

    • Location: Aalborg, DK

    • This is a free event.

  2. Jan

    18

    Availability with GKE stateful ha controller, intelligent data infrastructure & sharding Postgres on Kubernetes

    Online meetup organized by Data on Kubernetes Community.

    • This is a virtual event

    • This is a free event.

  3. Jan

    19

    Voxxed Days Ticino

    In-person conference organized by VDT.

    • Location: Lugano, CH

    • This event requires an entrance fee

  4. Jan

    22

    Voxxed Days Cern

    In-person conference organized by VDC.

    • Location: Geneva, CH

    • This event requires an entrance fee

  5. Jan

    24

    Kubernetes Community Days Oslo 2024

    In-person conference organized by KCD Norway.

    • Location: Olso, NO

    • This event requires an entrance fee

  6. Jan

    25

    Advanced Kubernetes course

    Online workshop organized by Learnk8s.

    • This is a virtual event

    • This event requires an entrance fee

  7. May

    8

    J On The Beach 24

    In-person conference organized by JOT.

    • Location: Malaga, ES

    • This event requires an entrance fee

      • Use JkUb3r10 to get 10% discount off Standard Tuna 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 Costa Rica 2024

    The Call For Paper was open until 1 February 2024 at UTC. More info →
    • Location: Heredia, CR

    • In-person conference organized by KCD Costa Rica.

    • The conference starts on the 1 March 2024.

    • Apply here
  2. expired

    Kubernetes Community Days Romania 2024

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

    • In-person conference organized by KCD Romania.

    • The conference starts on the 25 April 2024.

    • Apply here
  3. expired

    Kubernetes Community Days Texas 2024

    The Call For Paper was open until 5 February 2024 at UTC. More info →
    • Location: Irving, TX, USA

    • In-person conference organized by KCD Texas.

    • The conference starts on the 12 April 2024.

    • Apply here
  4. expired

    Kubernetes Community Days Istanbul

    The Call For Paper was open until 31 January 2024 at UTC. More info →
    • Location: Istanbul, TR

    • In-person conference organized by KCD Istanbul.

    • The conference starts on the 15 May 2024.

    • Apply here
  5. expired

    Kubernetes Community Days Munich 2024

    The Call For Paper was open until 31 January 2024 at UTC. More info →
    • Location: Munich, DE

    • In-person conference organized by KCD Munich.

    • The conference starts on the 2 July 2024.

    • Apply here
  6. expired

    KubeHuddle Toronto 2024

    The Call For Paper was open until 3 February 2024 at UTC. More info →
    • Location: Toronto, CA

    • In-person conference organized by KubeHuddle.

    • The conference starts on the 8 May 2024.

    • Apply here
  7. expired

    Kubernetes Community Days New York 2024

    The Call For Paper was open until 12 February 2024 at UTC. More info →
    • Location: New York, NY, USA

    • In-person conference organized by KCD New York.

    • The conference starts on the 22 May 2024.

    • Apply here
  8. expired

    DevOps Pro Europe

    The Call For Paper was open until 15 April 2024 at UTC. More info →
    • Location: Vilnius, LT and virtual

    • Online & in-person conference organized by Data Miner.

    • The conference starts on the 20 May 2024.

    • Apply here
  9. expired

    Cloud Native 2024

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

    • Online conference organized by Conf42.

    • The conference starts on the 21 March 2024.

    • Apply here

Until next time!

— Dan

Subscribe to Learn Kubernetes Weekly

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

or subscribe via