Learn Kubernetes Weekly issue 56

Pods when nodes fail, Troubleshooting missing logs, Optimizing scalability and cost-efficiency with Karpenter, Setting Java Heap size in Docker

6 Dec 2023

  1. Handling pods when nodes fail

    HungWei Chiu

    When Kubernetes nodes experience failures such as crashes, network disruptions, or system failures, what happens to the Pods running on those nodes?

    This article explains in detail what happens next.

  2. Troubleshooting missing Kubernetes logs in Elasticsearch

    Povilas Versockas

    The article discusses the issue of missing Kubernetes logs in Elasticsearch and investigates its causes.

    It explains how Container Runtimes manage container logging like Docker, containerd, and CRI-O and how Kubelet handles logs.

  3. Optimizing Kubernetes scalability and cost-efficiency with Karpenter

    Rodrigo Fior Kuntzer

    In this article, you'll learn the rationale and approach taken by Miro's Compute team to enhance Kubernetes cluster scaling and efficiency with Karpenter.

    The team reduced the compute costs by up to 60% while efficiency increased to 95%.

  4. Setting Java Heap size inside a Docker container

    Fredrik Fischer

    Running Java applications in a container might seem like a trivial task, but some pitfalls can cause problems in production.

    This article explains how to set the Java Heap Size inside a Docker container.

  5. Azure Service Operator v2

    Azure Service Operator (ASO) allows you to deploy and maintain various Azure Resources using the Kubernetes tooling you already know and use.

    For example, ASO can set up your Redis Cache or PostgreSQL and then configure your app to use them.

  6. Labels and annotations in Kubernetes

    Daniele Polencic

    In Kubernetes, you can use labels to assign key-value pairs to any resources.

    Labels are ubiquitous and necessary to everyday operations such as creating services.

    However, how should you name and use those labels?

    Learn more in this article.

Articles worth checking out:

  1. Monitoring Kubernetes tutorial: using Grafana and Prometheus

    MetricFire

    In this tutorial, you'll learn how Prometheus works and how to create custom dashboards with Grafana.

    Then, you'll dive into which Kubernetes metrics you should monitor in production and how to do it.

  2. A Terraform, AKS and application gateway tutorial

    Rhodri Freer

    In this 6-part series, you'll learn how to:

    • Create an AKS Cluster with Terraform.
    • Install the Application Gateway and add TLS with cert-manager.
    • Add the CSI driver to import secrets.
    • Packaging Yaml files with Helm.
  3. Getting started with Karpenter for autoscaling in EKS, and its installation with Helm

    Arseny Zinchenko

    In this tutorial, you'll learn how to get started with Karpenter — a Cluster Autoscaler for EKS that optimizes cost and resources by selecting the most appropriate instance type and managing Pods on Nodes.

  4. Local application development on Kubernetes with Gefyra

    Piotr Minkowski

    In this article, you will learn how to simplify and speed up your local application development on Kubernetes with Gefyra.

  5. Securely inject secrets to pods with the Vault agent injector

    Seifeddine Rajhi

    In this tutorial, you'll learn how to set up Vault and the injector service with the Vault Helm chart.

    Then, you'll deploy an app to demonstrate how the injector service handles secrets.

More tutorials:

    • 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 Digital Waffle

    • Salary: €65K a year

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

    • Tech stack: Kubernetes, AWS, Docker, Java, Shell, Python, Terraform, Cloudformation, Jenkins, Travis CI

Discover more Kubernetes jobs on Kube Careers →

  1. Kueue: job queueing

    Kueue is a set of APIs and controller for job queueing.

    It is a job-level manager that decides when a job should be admitted to start (as in pods can be created) and when it should stop (as in active pods should be deleted).

  2. Spegel: stateless registry mirror

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

  3. node-gizmo: a CLI utility for your nodes

    nodegizmo is a kubectl plugin for your Kubernetes nodes that displays:

    • Generic node-related information (taints, topology, etc.).
    • Nodepool settings.
    • Node capacity.

    You can also exec into any node using nsenter pods.

  4. k'exp: Kubernetes explorer

    k'exp is for:

    • Learning and exploring Kubernetes capabilities.
    • Application development (object graph presets for every app).
    • Controller and operator development (dynamic object graphs).
    • Postman-like client and request builder for Kubernetes API.
  5. k8s-secret-expiry-controller

    k8s-secret-expiry-controller is a Kubernetes controller that watches for the expiration of Kubernetes Secrets and raises events accordingly.

Other interesting projects:

Upcoming Kubernetes events

  1. Dec

    8

    Kubeday India

    In-person conference organized by Linux Foundation.

    • Location: Bengaluru, IN

    • This event requires an entrance fee

  2. Dec

    11

    DevOpsCon Singapore

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

    • Location: Singapore, SG and virtual

    • This event requires an entrance fee

      • Use doc-23mw-sing to get 10% off

  3. Dec

    12

    KubeDay Singapore

    In-person conference organized by Linux Foundation.

    • Location: Singapore, SG

    • This event requires an entrance fee

  4. Dec

    12

    Kubernetes Community Days Spain 2023

    Online conference organized by KCD Spain.

    • This is a virtual event

    • This is a free event.

  5. Dec

    12

    Help Santa's elves master Kubernetes

    Online webinar organized by Mirantis.

    • This is a virtual event

    • This is a free event.

  6. Feb

    19

    Advanced Kubernetes course

    In-person workshop organized by Learnk8s.

    • Location: Munich, DE

    • This event requires an entrance fee

Discover more Kubernetes events on Kube Events →

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

    FOSDEM 2024

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

    • In-person conference organized by FOSDEM.

    • The conference starts on the 4 February 2024.

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

    DevOps fwdays'24

    The Call For Paper was open until 17 January 2024 at UTC. More info →
    • Location: Kyiv, UA and virtual

    • Online & in-person conference organized by fwdays.

    • The conference starts on the 17 February 2024.

    • Apply here
  6. expired

    Devdays Europe

    The Call For Paper was open until 31 January 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
  7. expired

    Devopsdays Istanbul

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

    • In-person conference organized by Devopsdays.

    • The conference starts on the 20 April 2024.

    • Apply here
  8. expired

    Devopsdays Raleigh

    The Call For Paper was open until 27 January 2024 at UTC. More info →
    • Location: Raleigh, NC, USA

    • In-person conference organized by Devopsdays.

    • The conference starts on the 10 April 2024.

    • Apply here
  9. expired

    DevOps 2024

    The Call For Paper was open until 27 December 2023 at UTC. More info →
    • This is a virtual event

    • Online conference organized by Conf42.

    • The conference starts on the 25 January 2024.

    • Apply here

Until next time!

— Dan

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

Or follow us on: