Skip to content

Add tutorial - Cost-optimal Kubernetes autoscaling on Hetzner Cloud with Karpenter - #1485

Merged
svenja11 merged 5 commits into
hetzneronline:masterfrom
stubbi:tutorial-kubernetes-autoscaling-hetzner-karpenter
Jul 14, 2026
Merged

Add tutorial - Cost-optimal Kubernetes autoscaling on Hetzner Cloud with Karpenter#1485
svenja11 merged 5 commits into
hetzneronline:masterfrom
stubbi:tutorial-kubernetes-autoscaling-hetzner-karpenter

Conversation

@stubbi

@stubbi stubbi commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

New tutorial

Cost-optimal Kubernetes autoscaling on Hetzner Cloud with Karpenter

tutorials/kubernetes-autoscaling-hetzner-karpenter/01.en.md

This tutorial walks through installing Karpenter and the open-source Karpenter provider for Hetzner on an existing Kubernetes cluster running on Hetzner Cloud. Karpenter watches for unschedulable pods, launches the cheapest Hetzner server that fits them, and consolidates idle nodes away so the cluster tracks demand instead of fixed node pools.

It covers:

  • Storing the Hetzner Cloud API token in a Secret
  • Installing Karpenter's CRDs and the Hetzner provider Helm chart
  • Providing a worker bootstrap Secret (kubeadm or Talos)
  • Defining an HCloudNodeClass and a NodePool
  • Watching a node provision on demand and consolidate away
  • An optional Arm (CAX) node pool for cheaper capacity

I have read and understood the Contributor's Certificate of Origin, as included at the bottom of the tutorial, and I certify that this contribution complies with it.

Signed-off-by: Jannes Stubbemann jannes.stubbemann@gmail.com

@stubbi
stubbi force-pushed the tutorial-kubernetes-autoscaling-hetzner-karpenter branch from 7c06401 to ab60e76 Compare June 17, 2026 16:59
@maximilianfeix
maximilianfeix self-requested a review June 25, 2026 06:07
@maximilianfeix maximilianfeix added the help wanted Extra attention is needed label Jun 25, 2026
Comment thread tutorials/kubernetes-autoscaling-hetzner-karpenter/01.en.md Outdated
Comment thread tutorials/kubernetes-autoscaling-hetzner-karpenter/01.en.md Outdated
Comment thread tutorials/kubernetes-autoscaling-hetzner-karpenter/01.en.md
Address review feedback: set author_link to the GitHub profile URL and
author_img to the GitHub avatars URL format, consistent with other
tutorials.

Signed-off-by: Jannes Stubbemann <jannes.stubbemann@gmail.com>
@stubbi

stubbi commented Jun 25, 2026

Copy link
Copy Markdown
Contributor Author

Thanks for the review @maximilianfeix! Addressed in 5645aad:

  • author_link now points to the GitHub profile URL: https://github.com/stubbi
  • author_img now uses the GitHub avatars URL format: https://avatars3.githubusercontent.com/u/24454679

The front-matter field order already follows the tutorial template (SPDX → path → slug → date → title → short_description → tags → author → author_link → author_img → author_description → language → available_languages → header_img → cta). Let me know if anything else needs adjusting.

@stubbi
stubbi requested a review from maximilianfeix June 26, 2026 10:39
@stubbi

stubbi commented Jun 30, 2026

Copy link
Copy Markdown
Contributor Author

Hi @maximilianfeix, friendly nudge on this one — all three review points are addressed in 5645aad (GitHub author_link, avatars3 author_img, and front-matter order matching tutorial-template.md). Whenever you have a moment for a re-review I'd really appreciate it. Thanks!

@maximilianfeix

Copy link
Copy Markdown
Collaborator

Hello @stubbi,
I'll review your pull request in the coming days.

@svenja11

Copy link
Copy Markdown
Collaborator

The tutorial looks good now. Thank you for your contribution @stubbi!

@svenja11 svenja11 added ready and removed help wanted Extra attention is needed labels Jul 14, 2026
@svenja11
svenja11 merged commit 506702f into hetzneronline:master Jul 14, 2026
1 check failed
@stubbi

stubbi commented Jul 19, 2026

Copy link
Copy Markdown
Contributor Author

Amazing, thank you! 🤗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants