<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/how-to-install-lightweight-kubernetes-on-ubuntu-22-04-1bkfvrnat" -->

---
title: How to Install Lightweight Kubernetes on Ubuntu 22.04
description: Learn how to deploy a lightweight Kubernetes cluster using k3s on Ubuntu 22.04 using OpenTofu &amp; Ansible on Hetzner Cloud with Cilium as the CNI.
canonical: https://daily.dev/posts/how-to-install-lightweight-kubernetes-on-ubuntu-22-04-1bkfvrnat
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: How to Install Lightweight Kubernetes on Ubuntu 22.04 | daily.dev
og:description: Learn how to deploy a lightweight Kubernetes cluster using k3s on Ubuntu 22.04 using OpenTofu &amp; Ansible on Hetzner Cloud with Cilium as the CNI.
og:url: https://daily.dev/posts/how-to-install-lightweight-kubernetes-on-ubuntu-22-04-1bkfvrnat
og:image: https://api.daily.dev/og/posts/1BkFvrNat.png
og:image:alt: How to Install Lightweight Kubernetes on Ubuntu 22.04
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Install Lightweight Kubernetes on Ubuntu 22.04

**[cilium](https://daily.dev/sources/cilium)** · 10 min read · 5 upvotes · 0 comments

## Summary

Learn how to deploy a lightweight Kubernetes cluster using k3s on Ubuntu 22.04 using OpenTofu & Ansible on Hetzner Cloud with Cilium as the CNI.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://developer-friendly.blog/2024/03/22/how-to-install-lightweight-kubernetes-on-ubuntu-2204/>

---

Tags: [#kubernetes](https://daily.dev/tags/kubernetes), [#ansible](https://daily.dev/tags/ansible), [#opentofu](https://daily.dev/tags/opentofu)

[View this post on daily.dev](https://daily.dev/posts/how-to-install-lightweight-kubernetes-on-ubuntu-22-04-1bkfvrnat)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"How to Install Lightweight Kubernetes on Ubuntu 22.04","url":"https://daily.dev/posts/how-to-install-lightweight-kubernetes-on-ubuntu-22-04-1bkfvrnat","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/how-to-install-lightweight-kubernetes-on-ubuntu-22-04-1bkfvrnat"},"datePublished":"2024-04-02T15:19:33.236Z","dateModified":"2024-05-09T08:39:06.345Z","description":"Learn how to deploy a lightweight Kubernetes cluster using k3s on Ubuntu 22.04 using OpenTofu & Ansible on Hetzner Cloud with Cilium as the CNI.","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/961996dbb7e07e8650e47974d4a488fe?_a=AQAEufR","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/961996dbb7e07e8650e47974d4a488fe?_a=AQAEufR","isAccessibleForFree":true,"articleSection":"cilium","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"cilium","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/95777db1b3254a14a54686a789654d5a","url":"https://daily.dev/sources/cilium"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/how-to-install-lightweight-kubernetes-on-ubuntu-22-04-1bkfvrnat","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":5},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"kubernetes,ansible,opentofu","timeRequired":"PT10M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"cilium","item":"https://daily.dev/sources/cilium"},{"@type":"ListItem","position":3,"name":"How to Install Lightweight Kubernetes on Ubuntu 22.04"}]}
```

