Fix K3s title

This commit is contained in:
Dave Gallant
2023-12-23 14:33:26 -05:00
parent 18e98b4f5f
commit 24d557bb21
14 changed files with 28 additions and 32 deletions

View File

@@ -1,5 +1,5 @@
--- ---
title: "Running k3s in LXC on Proxmox" title: "Running K3s in LXC on Proxmox"
date: 2021-11-14T10:07:03-05:00 date: 2021-11-14T10:07:03-05:00
lastmod: 2021-11-14T10:07:03-05:00 lastmod: 2021-11-14T10:07:03-05:00
draft: false draft: false
@@ -9,14 +9,11 @@ tags: ["k3s", "proxmox", "lxc", "self-hosted"]
categories: [] categories: []
author: "" author: ""
# You can also close(false) or open(true) something for this content.
# P.S. comment can only be closed
comment: false comment: false
toc: false toc: false
autoCollapseToc: false autoCollapseToc: false
postMetaInFooter: false postMetaInFooter: false
hiddenFromHomePage: false hiddenFromHomePage: false
# You can also define another contentCopyright. e.g. contentCopyright: "This is another copyright."
contentCopyright: false contentCopyright: false
reward: false reward: false
mathjax: false mathjax: false
@@ -31,8 +28,6 @@ sequenceDiagrams:
options: "" options: ""
--- ---
<!--more-->
It has been a while since I've actively used Kubernetes and wanted to explore the evolution of tools such as [Helm](https://helm.sh) and [Tekton](https://tekton.dev). I decided to deploy [K3s](https://k3s.io), since I've had success with deploying it on resource-contrained Raspberry Pis in the past. I thought that this time it'd be convenient to have K3s running in a LXC container on Proxmox. This would allow for easy snapshotting of the entire Kubernetes deployment. LXC containers also provide an efficient way to use a machine's resources. It has been a while since I've actively used Kubernetes and wanted to explore the evolution of tools such as [Helm](https://helm.sh) and [Tekton](https://tekton.dev). I decided to deploy [K3s](https://k3s.io), since I've had success with deploying it on resource-contrained Raspberry Pis in the past. I thought that this time it'd be convenient to have K3s running in a LXC container on Proxmox. This would allow for easy snapshotting of the entire Kubernetes deployment. LXC containers also provide an efficient way to use a machine's resources.
## What is K3s? ## What is K3s?

View File

@@ -1,19 +1,19 @@
<!DOCTYPE html> <!DOCTYPE html>
<html><head> <html><head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge"><title>Running k3s in LXC on Proxmox - davegallant</title><link rel="icon" type="image/png" href=https://davegallant.ca/favicon.ico /><meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge"><title>Running K3s in LXC on Proxmox - davegallant</title><link rel="icon" type="image/png" href=https://davegallant.ca/favicon.ico /><meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="" /> <meta name="description" content="It has been a while since I&rsquo;ve actively used Kubernetes and wanted to explore the evolution of tools such as Helm and Tekton. I decided to deploy K3s, since I&rsquo;ve had success with deploying it on resource-contrained Raspberry Pis in the past. I thought that this time it&rsquo;d be convenient to have K3s running in a LXC container on Proxmox. This would allow for easy snapshotting of the entire Kubernetes deployment." />
<meta property="og:image" content=""/> <meta property="og:image" content=""/>
<meta property="og:title" content="Running k3s in LXC on Proxmox" /> <meta property="og:title" content="Running K3s in LXC on Proxmox" />
<meta property="og:description" content="" /> <meta property="og:description" content="It has been a while since I&rsquo;ve actively used Kubernetes and wanted to explore the evolution of tools such as Helm and Tekton. I decided to deploy K3s, since I&rsquo;ve had success with deploying it on resource-contrained Raspberry Pis in the past. I thought that this time it&rsquo;d be convenient to have K3s running in a LXC container on Proxmox. This would allow for easy snapshotting of the entire Kubernetes deployment." />
<meta property="og:type" content="article" /> <meta property="og:type" content="article" />
<meta property="og:url" content="/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/" /><meta property="article:section" content="post" /> <meta property="og:url" content="/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/" /><meta property="article:section" content="post" />
<meta property="article:published_time" content="2021-11-14T10:07:03-05:00" /> <meta property="article:published_time" content="2021-11-14T10:07:03-05:00" />
<meta property="article:modified_time" content="2021-11-14T10:07:03-05:00" /> <meta property="article:modified_time" content="2021-11-14T10:07:03-05:00" />
<meta name="twitter:card" content="summary"/> <meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="Running k3s in LXC on Proxmox"/> <meta name="twitter:title" content="Running K3s in LXC on Proxmox"/>
<meta name="twitter:description" content=""/> <meta name="twitter:description" content="It has been a while since I&rsquo;ve actively used Kubernetes and wanted to explore the evolution of tools such as Helm and Tekton. I decided to deploy K3s, since I&rsquo;ve had success with deploying it on resource-contrained Raspberry Pis in the past. I thought that this time it&rsquo;d be convenient to have K3s running in a LXC container on Proxmox. This would allow for easy snapshotting of the entire Kubernetes deployment."/>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@1,500&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@1,500&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Fira+Sans&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Fira+Sans&display=swap" rel="stylesheet">
@@ -102,7 +102,7 @@
<main> <main>
<article> <article>
<div class="title"> <div class="title">
<h1 class="title">Running k3s in LXC on Proxmox</h1> <h1 class="title">Running K3s in LXC on Proxmox</h1>
<div class="meta">Posted on Nov 14, 2021</div> <div class="meta">Posted on Nov 14, 2021</div>
@@ -187,7 +187,8 @@ As of 2021/11, it is still defaulting to the 1.19 channel, so I overrode it to 1
</span></span></span><span style="display:flex;"><span><span style="color:#bf616a"></span>NAME REFERENCE TARGETS MINPODS MAXPODS REPLICAS AGE </span></span></span><span style="display:flex;"><span><span style="color:#bf616a"></span>NAME REFERENCE TARGETS MINPODS MAXPODS REPLICAS AGE
</span></span><span style="display:flex;"><span>horizontalpodautoscaler.autoscaling/tekton-pipelines-webhook Deployment/tekton-pipelines-webhook 9%/100% 1 5 1 12h </span></span><span style="display:flex;"><span>horizontalpodautoscaler.autoscaling/tekton-pipelines-webhook Deployment/tekton-pipelines-webhook 9%/100% 1 5 1 12h
</span></span></code></pre></div><p>I made sure to install Tailscale in the container so that I can easily access K3s from anywhere.</p> </span></span></code></pre></div><p>I made sure to install Tailscale in the container so that I can easily access K3s from anywhere.</p>
<p>If I&rsquo;m feeling adventurous, I might experiment with <a href="https://rancher.com/docs/k3s/latest/en/advanced/#running-k3s-with-rootless-mode-experimental">K3s rootless</a>.</p></section> <p>If I&rsquo;m feeling adventurous, I might experiment with <a href="https://rancher.com/docs/k3s/latest/en/advanced/#running-k3s-with-rootless-mode-experimental">K3s rootless</a>.</p>
</section>
<script <script
type="text/javascript" type="text/javascript"

View File

@@ -155,7 +155,7 @@
</section> </section>
<section class="list-item"> <section class="list-item">
<h1 class="title"><a href="/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/">Running k3s in LXC on Proxmox</a></h1> <h1 class="title"><a href="/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/">Running K3s in LXC on Proxmox</a></h1>
<time>Nov 14, 2021</time> <time>Nov 14, 2021</time>
<br><div class="description"> <br><div class="description">

View File

@@ -53,11 +53,11 @@ Feel free to reach out at me@davegallant.ca.</description>
<description></description> <description></description>
</item> </item>
<item> <item>
<title>Running k3s in LXC on Proxmox</title> <title>Running K3s in LXC on Proxmox</title>
<link>/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/</link> <link>/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/</link>
<pubDate>Sun, 14 Nov 2021 10:07:03 -0500</pubDate> <pubDate>Sun, 14 Nov 2021 10:07:03 -0500</pubDate>
<guid>/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/</guid> <guid>/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/</guid>
<description></description> <description>It has been a while since I&amp;rsquo;ve actively used Kubernetes and wanted to explore the evolution of tools such as Helm and Tekton. I decided to deploy K3s, since I&amp;rsquo;ve had success with deploying it on resource-contrained Raspberry Pis in the past. I thought that this time it&amp;rsquo;d be convenient to have K3s running in a LXC container on Proxmox. This would allow for easy snapshotting of the entire Kubernetes deployment.</description>
</item> </item>
<item> <item>
<title>Replacing docker with podman on macOS (and Linux)</title> <title>Replacing docker with podman on macOS (and Linux)</title>

View File

@@ -109,7 +109,7 @@
</li><li class="post"> </li><li class="post">
<a href="/blog/2022/03/13/backing-up-gmail-with-synology/">Backing up gmail with Synology</a> <span class="meta">Mar 13, 2022</span> <a href="/blog/2022/03/13/backing-up-gmail-with-synology/">Backing up gmail with Synology</a> <span class="meta">Mar 13, 2022</span>
</li><li class="post"> </li><li class="post">
<a href="/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/">Running k3s in LXC on Proxmox</a> <span class="meta">Nov 14, 2021</span> <a href="/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/">Running K3s in LXC on Proxmox</a> <span class="meta">Nov 14, 2021</span>
</li><li class="post"> </li><li class="post">
<a href="/blog/2021/10/11/replacing-docker-with-podman-on-macos-and-linux/">Replacing docker with podman on macOS (and Linux)</a> <span class="meta">Oct 11, 2021</span> <a href="/blog/2021/10/11/replacing-docker-with-podman-on-macos-and-linux/">Replacing docker with podman on macOS (and Linux)</a> <span class="meta">Oct 11, 2021</span>
</li><li class="post"> </li><li class="post">

View File

@@ -45,11 +45,11 @@
<description></description> <description></description>
</item> </item>
<item> <item>
<title>Running k3s in LXC on Proxmox</title> <title>Running K3s in LXC on Proxmox</title>
<link>/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/</link> <link>/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/</link>
<pubDate>Sun, 14 Nov 2021 10:07:03 -0500</pubDate> <pubDate>Sun, 14 Nov 2021 10:07:03 -0500</pubDate>
<guid>/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/</guid> <guid>/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/</guid>
<description></description> <description>It has been a while since I&amp;rsquo;ve actively used Kubernetes and wanted to explore the evolution of tools such as Helm and Tekton. I decided to deploy K3s, since I&amp;rsquo;ve had success with deploying it on resource-contrained Raspberry Pis in the past. I thought that this time it&amp;rsquo;d be convenient to have K3s running in a LXC container on Proxmox. This would allow for easy snapshotting of the entire Kubernetes deployment.</description>
</item> </item>
<item> <item>
<title>Replacing docker with podman on macOS (and Linux)</title> <title>Replacing docker with podman on macOS (and Linux)</title>

View File

@@ -99,7 +99,7 @@
<ul class="posts"><li class="post"> <ul class="posts"><li class="post">
<a href="/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/">Running k3s in LXC on Proxmox</a> <span class="meta">Nov 14, 2021</span> <a href="/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/">Running K3s in LXC on Proxmox</a> <span class="meta">Nov 14, 2021</span>
</li></ul> </li></ul>
<section id='comments' class='comments'> <section id='comments' class='comments'>

View File

@@ -10,11 +10,11 @@
<lastBuildDate>Sun, 14 Nov 2021 10:07:03 -0500</lastBuildDate> <lastBuildDate>Sun, 14 Nov 2021 10:07:03 -0500</lastBuildDate>
<atom:link href="/tags/k3s/index.xml" rel="self" type="application/rss+xml" /> <atom:link href="/tags/k3s/index.xml" rel="self" type="application/rss+xml" />
<item> <item>
<title>Running k3s in LXC on Proxmox</title> <title>Running K3s in LXC on Proxmox</title>
<link>/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/</link> <link>/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/</link>
<pubDate>Sun, 14 Nov 2021 10:07:03 -0500</pubDate> <pubDate>Sun, 14 Nov 2021 10:07:03 -0500</pubDate>
<guid>/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/</guid> <guid>/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/</guid>
<description></description> <description>It has been a while since I&amp;rsquo;ve actively used Kubernetes and wanted to explore the evolution of tools such as Helm and Tekton. I decided to deploy K3s, since I&amp;rsquo;ve had success with deploying it on resource-contrained Raspberry Pis in the past. I thought that this time it&amp;rsquo;d be convenient to have K3s running in a LXC container on Proxmox. This would allow for easy snapshotting of the entire Kubernetes deployment.</description>
</item> </item>
</channel> </channel>
</rss> </rss>

View File

@@ -99,7 +99,7 @@
<ul class="posts"><li class="post"> <ul class="posts"><li class="post">
<a href="/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/">Running k3s in LXC on Proxmox</a> <span class="meta">Nov 14, 2021</span> <a href="/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/">Running K3s in LXC on Proxmox</a> <span class="meta">Nov 14, 2021</span>
</li></ul> </li></ul>
<section id='comments' class='comments'> <section id='comments' class='comments'>

View File

@@ -10,11 +10,11 @@
<lastBuildDate>Sun, 14 Nov 2021 10:07:03 -0500</lastBuildDate> <lastBuildDate>Sun, 14 Nov 2021 10:07:03 -0500</lastBuildDate>
<atom:link href="/tags/lxc/index.xml" rel="self" type="application/rss+xml" /> <atom:link href="/tags/lxc/index.xml" rel="self" type="application/rss+xml" />
<item> <item>
<title>Running k3s in LXC on Proxmox</title> <title>Running K3s in LXC on Proxmox</title>
<link>/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/</link> <link>/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/</link>
<pubDate>Sun, 14 Nov 2021 10:07:03 -0500</pubDate> <pubDate>Sun, 14 Nov 2021 10:07:03 -0500</pubDate>
<guid>/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/</guid> <guid>/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/</guid>
<description></description> <description>It has been a while since I&amp;rsquo;ve actively used Kubernetes and wanted to explore the evolution of tools such as Helm and Tekton. I decided to deploy K3s, since I&amp;rsquo;ve had success with deploying it on resource-contrained Raspberry Pis in the past. I thought that this time it&amp;rsquo;d be convenient to have K3s running in a LXC container on Proxmox. This would allow for easy snapshotting of the entire Kubernetes deployment.</description>
</item> </item>
</channel> </channel>
</rss> </rss>

View File

@@ -101,7 +101,7 @@
<ul class="posts"><li class="post"> <ul class="posts"><li class="post">
<a href="/blog/2022/04/02/virtualizing-my-router-with-pfsense/">Virtualizing my router with pfSense</a> <span class="meta">Apr 2, 2022</span> <a href="/blog/2022/04/02/virtualizing-my-router-with-pfsense/">Virtualizing my router with pfSense</a> <span class="meta">Apr 2, 2022</span>
</li><li class="post"> </li><li class="post">
<a href="/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/">Running k3s in LXC on Proxmox</a> <span class="meta">Nov 14, 2021</span> <a href="/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/">Running K3s in LXC on Proxmox</a> <span class="meta">Nov 14, 2021</span>
</li></ul> </li></ul>
<section id='comments' class='comments'> <section id='comments' class='comments'>

View File

@@ -17,11 +17,11 @@
<description></description> <description></description>
</item> </item>
<item> <item>
<title>Running k3s in LXC on Proxmox</title> <title>Running K3s in LXC on Proxmox</title>
<link>/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/</link> <link>/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/</link>
<pubDate>Sun, 14 Nov 2021 10:07:03 -0500</pubDate> <pubDate>Sun, 14 Nov 2021 10:07:03 -0500</pubDate>
<guid>/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/</guid> <guid>/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/</guid>
<description></description> <description>It has been a while since I&amp;rsquo;ve actively used Kubernetes and wanted to explore the evolution of tools such as Helm and Tekton. I decided to deploy K3s, since I&amp;rsquo;ve had success with deploying it on resource-contrained Raspberry Pis in the past. I thought that this time it&amp;rsquo;d be convenient to have K3s running in a LXC container on Proxmox. This would allow for easy snapshotting of the entire Kubernetes deployment.</description>
</item> </item>
</channel> </channel>
</rss> </rss>

View File

@@ -105,7 +105,7 @@
</li><li class="post"> </li><li class="post">
<a href="/blog/2022/04/02/virtualizing-my-router-with-pfsense/">Virtualizing my router with pfSense</a> <span class="meta">Apr 2, 2022</span> <a href="/blog/2022/04/02/virtualizing-my-router-with-pfsense/">Virtualizing my router with pfSense</a> <span class="meta">Apr 2, 2022</span>
</li><li class="post"> </li><li class="post">
<a href="/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/">Running k3s in LXC on Proxmox</a> <span class="meta">Nov 14, 2021</span> <a href="/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/">Running K3s in LXC on Proxmox</a> <span class="meta">Nov 14, 2021</span>
</li><li class="post"> </li><li class="post">
<a href="/blog/2021/09/06/what-to-do-with-a-homelab/">What to do with a homelab</a> <span class="meta">Sep 6, 2021</span> <a href="/blog/2021/09/06/what-to-do-with-a-homelab/">What to do with a homelab</a> <span class="meta">Sep 6, 2021</span>
</li></ul> </li></ul>

View File

@@ -31,11 +31,11 @@
<description></description> <description></description>
</item> </item>
<item> <item>
<title>Running k3s in LXC on Proxmox</title> <title>Running K3s in LXC on Proxmox</title>
<link>/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/</link> <link>/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/</link>
<pubDate>Sun, 14 Nov 2021 10:07:03 -0500</pubDate> <pubDate>Sun, 14 Nov 2021 10:07:03 -0500</pubDate>
<guid>/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/</guid> <guid>/blog/2021/11/14/running-k3s-in-lxc-on-proxmox/</guid>
<description></description> <description>It has been a while since I&amp;rsquo;ve actively used Kubernetes and wanted to explore the evolution of tools such as Helm and Tekton. I decided to deploy K3s, since I&amp;rsquo;ve had success with deploying it on resource-contrained Raspberry Pis in the past. I thought that this time it&amp;rsquo;d be convenient to have K3s running in a LXC container on Proxmox. This would allow for easy snapshotting of the entire Kubernetes deployment.</description>
</item> </item>
<item> <item>
<title>What to do with a homelab</title> <title>What to do with a homelab</title>