<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>k3s on Roger&#39;s Blog</title>
		<link>https://blog.differentpla.net/tags/k3s/</link>
		<description>Recent content in k3s on Roger&#39;s Blog</description>
		<generator>Hugo</generator>
		<language>en</language>
		
		
		
		
			<lastBuildDate>Sun, 29 Oct 2023 13:53:00 +0000</lastBuildDate>
		
			<atom:link href="https://blog.differentpla.net/tags/k3s/feed.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>K3s: You must be logged in to the server (Unauthorized)</title>
				<link>https://blog.differentpla.net/blog/2023/10/29/k3s-unauthorized/</link>
				<pubDate>Sun, 29 Oct 2023 13:53:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2023/10/29/k3s-unauthorized/</guid>
				<description>&lt;p&gt;This afternoon, I couldn&amp;rsquo;t run &lt;code&gt;kubectl get namespaces&lt;/code&gt; against my K3s cluster. Instead, I got an &lt;code&gt;Unauthorized&lt;/code&gt; error.&lt;/p&gt;</description>
			</item>
			<item>
				<title>apt upgrade on K3s node</title>
				<link>https://blog.differentpla.net/blog/2023/01/07/k3s-apt-upgrade/</link>
				<pubDate>Sat, 07 Jan 2023 09:19:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2023/01/07/k3s-apt-upgrade/</guid>
				<description>&lt;p&gt;Given &lt;a href=&#34;https://blog.differentpla.net/blog/2022/12/15/k3s-pv-loss-incident-review/&#34;&gt;the problems&lt;/a&gt; I had when I last upgraded everything&#xA;on my K3s cluster, I&amp;rsquo;m going to put a runbook together for doing it &amp;ldquo;properly&amp;rdquo;.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Traefik dashboard on K3s</title>
				<link>https://blog.differentpla.net/blog/2023/01/06/traefik-dashboard/</link>
				<pubDate>Fri, 06 Jan 2023 17:24:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2023/01/06/traefik-dashboard/</guid>
				<description>&lt;p&gt;It turns out that Traefik has a dashboard. Here&amp;rsquo;s how to access it via &lt;code&gt;kubectl port-forward&lt;/code&gt;.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Redirecting HTTP to HTTPS with Traefik on K3s</title>
				<link>https://blog.differentpla.net/blog/2023/01/06/traefik-https-redirect/</link>
				<pubDate>Fri, 06 Jan 2023 16:57:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2023/01/06/traefik-https-redirect/</guid>
				<description>&lt;p&gt;I want visitors to &lt;code&gt;http://home.k3s.differentpla.net&lt;/code&gt; to be redirected to &lt;code&gt;https://home.k3s.differentpla.net&lt;/code&gt;. Here&amp;rsquo;s&#xA;how to set that up on K3s, using Traefik middlewares.&lt;/p&gt;</description>
			</item>
			<item>
				<title>K3s PV loss: Incident Review</title>
				<link>https://blog.differentpla.net/blog/2022/12/15/k3s-pv-loss-incident-review/</link>
				<pubDate>Thu, 15 Dec 2022 10:37:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2022/12/15/k3s-pv-loss-incident-review/</guid>
				<description>&lt;p&gt;On December 14th, 2022 at approximately 10:15, Kubernetes wiped the persistent volumes of a number of applications in&#xA;the K3s cluster in my homelab. This is the incident review.&lt;/p&gt;</description>
			</item>
			<item>
				<title>VictoriaMetrics static scraper</title>
				<link>https://blog.differentpla.net/blog/2022/10/16/victoria-metrics-static-scraper/</link>
				<pubDate>Sun, 16 Oct 2022 15:07:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2022/10/16/victoria-metrics-static-scraper/</guid>
				<description>&lt;p&gt;I&amp;rsquo;ve got an Electric Imp Environment Tail in my office. It monitors the temperature, humidity and pressure. Currently,&#xA;to display a graph, it&amp;rsquo;s using flot.js and some shonky Javascript that I wrote. It remembers samples from the last 48&#xA;hours.&lt;/p&gt;</description>
			</item>
			<item>
				<title>VictoriaMetrics</title>
				<link>https://blog.differentpla.net/blog/2022/10/16/victoria-metrics/</link>
				<pubDate>Sun, 16 Oct 2022 12:07:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2022/10/16/victoria-metrics/</guid>
				<description>&lt;p&gt;The documentation for VictoriaMetrics is a bit of a mess, so here&amp;rsquo;s what worked for me.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Installing Grafana</title>
				<link>https://blog.differentpla.net/blog/2022/10/16/grafana/</link>
				<pubDate>Sun, 16 Oct 2022 10:37:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2022/10/16/grafana/</guid>
				<description>&lt;p&gt;Using ArgoCD CLI:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;% argocd app create grafana --repo https://git.k3s.differentpla.net/roger/grafana.git --path . --dest-server https://kubernetes.default.svc --dest-namespace grafana&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;application &amp;#39;grafana&amp;#39; created&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#xA;&lt;p&gt;The rest of this is taken from &lt;a href=&#34;https://grafana.com/docs/grafana/latest/setup-grafana/installation/kubernetes/&#34;&gt;https://grafana.com/docs/grafana/latest/setup-grafana/installation/kubernetes/&lt;/a&gt;, except that I&amp;rsquo;ll use an Ingress, rather than a LoadBalancer.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Installing ArgoCD Command Line Interface</title>
				<link>https://blog.differentpla.net/blog/2022/10/16/installing-argocd-cli/</link>
				<pubDate>Sun, 16 Oct 2022 09:37:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2022/10/16/installing-argocd-cli/</guid>
				<description>&lt;p&gt;ArgoCD provides a web interface and a command line interface. Let&amp;rsquo;s install the CLI.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Using kustomize to configure nginx to serve static HTML</title>
				<link>https://blog.differentpla.net/blog/2022/10/15/kustomize-nginx/</link>
				<pubDate>Sat, 15 Oct 2022 14:37:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2022/10/15/kustomize-nginx/</guid>
				<description>&lt;p&gt;As I add more things to my k3s cluster, I find myself wishing that I had a handy index of their home pages. For example,&#xA;I&amp;rsquo;ve got ArgoCD and Gitea installed. I probably want to expose the Longhorn console, and the Kubernetes console. I think&#xA;Traefik has a console, too. I&amp;rsquo;ll also be adding Grafana at some point soon.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Upgrading to Ubuntu 22.04 on my k3s cluster</title>
				<link>https://blog.differentpla.net/blog/2022/09/24/raspi-ubuntu-upgrade/</link>
				<pubDate>Sat, 24 Sep 2022 13:58:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2022/09/24/raspi-ubuntu-upgrade/</guid>
				<description>&lt;p&gt;This afternoon, I fired up my k3s cluster for the first time in a while. When I ran &lt;code&gt;apt update&lt;/code&gt;, I got an error message&#xA;about a missing Release file.&lt;/p&gt;</description>
			</item>
			<item>
				<title>CoreDNS Customization</title>
				<link>https://blog.differentpla.net/blog/2022/02/25/coredns-custom/</link>
				<pubDate>Fri, 25 Feb 2022 08:47:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2022/02/25/coredns-custom/</guid>
				<description>&lt;p&gt;While &lt;a href=&#34;https://blog.differentpla.net/blog/2022/02/25/pod-dns-problems/&#34;&gt;debugging pod DNS problems&lt;/a&gt;, I discovered that CoreDNS allows&#xA;customization by importing extra zone files from a config map. I&amp;rsquo;m going to use that to forward queries for &lt;code&gt;k3s.differentpla.net&lt;/code&gt; to my &lt;a href=&#34;https://blog.differentpla.net/blog/2021/12/29/coredns/&#34;&gt;custom CoreDNS instance&lt;/a&gt;.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Pod DNS Problems</title>
				<link>https://blog.differentpla.net/blog/2022/02/25/pod-dns-problems/</link>
				<pubDate>Fri, 25 Feb 2022 08:42:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2022/02/25/pod-dns-problems/</guid>
				<description>&lt;p&gt;I&amp;rsquo;ve got an &lt;a href=&#34;https://blog.differentpla.net/blog/2021/12/29/coredns/&#34;&gt;extra instance&lt;/a&gt; of CoreDNS running in my cluster, serving&#xA;&lt;code&gt;*.k3s.differentpla.net&lt;/code&gt;, with LoadBalancer and Ingress names registered in it, and it&amp;rsquo;s working fine for queries &lt;em&gt;to&lt;/em&gt;&#xA;the cluster. It&amp;rsquo;s &lt;em&gt;not&lt;/em&gt; working fine for queries &lt;em&gt;inside&lt;/em&gt; the cluster. What&amp;rsquo;s up with that?&lt;/p&gt;</description>
			</item>
			<item>
				<title>Elixir Livebook on k3s</title>
				<link>https://blog.differentpla.net/blog/2022/02/23/livebook-k3s/</link>
				<pubDate>Wed, 23 Feb 2022 20:42:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2022/02/23/livebook-k3s/</guid>
				<description>&lt;p&gt;I&amp;rsquo;d like to run Livebook on my cluster. Here&amp;rsquo;s how I went about doing that.&lt;/p&gt;</description>
			</item>
			<item>
				<title>arm64 support</title>
				<link>https://blog.differentpla.net/blog/2022/02/03/arm64-support/</link>
				<pubDate>Thu, 03 Feb 2022 08:46:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2022/02/03/arm64-support/</guid>
				<description>&lt;p&gt;Because I&amp;rsquo;m running my k3s cluster on Raspberry Pi 4 nodes, and they&amp;rsquo;re&#xA;&lt;a href=&#34;https://blog.differentpla.net/blog/2021/12/20/raspi-ubuntu/&#34;&gt;ARM-64 (aarch64)&lt;/a&gt;, I keep running into problems where applications&#xA;are compiled for x86_64 (amd64) and don&amp;rsquo;t run.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Traefik Ingress</title>
				<link>https://blog.differentpla.net/blog/2022/01/31/traefik-ingress/</link>
				<pubDate>Mon, 31 Jan 2022 08:46:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2022/01/31/traefik-ingress/</guid>
				<description>&lt;p&gt;I&amp;rsquo;m in the middle of installing ArgoCD (blog post will appear later). Rather than use up another LoadBalancer IP address&#xA;for it (and mess around with TLS), let&amp;rsquo;s talk about using an Ingress. It&amp;rsquo;s entirely possible that I can convert the&#xA;previously-installed docker registry and Gitea to use one as well.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Upgrading k3s</title>
				<link>https://blog.differentpla.net/blog/2022/01/03/upgrading-k3s/</link>
				<pubDate>Mon, 03 Jan 2022 14:38:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2022/01/03/upgrading-k3s/</guid>
				<description>&lt;div class=&#34;callout callout-info&#34;&gt;&#xA;  &lt;div class=&#34;callout-content&#34;&gt;&#xA;    The Rancher docs say that you should update the server first, then the workers.&#xA;  &lt;/div&gt;&#xA;&lt;/div&gt;&#xA;&#xA;&lt;h2 id=&#34;control-plane&#34;&gt;Control Plane&lt;a href=&#34;#control-plane&#34;&gt;&lt;span class=&#34;icon icon-link&#34;&gt;&lt;/span&gt;&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;This is a non-HA cluster (I&amp;rsquo;ve only got one server node), and &lt;code&gt;kubectl drain rpi401&lt;/code&gt; (the server) doesn&amp;rsquo;t want to evict&#xA;pods with local storage. So I guess I just apply the upgrade and hope that it recovers after a restart:&lt;/p&gt;</description>
			</item>
			<item>
				<title>k3s on Raspberry Pi: NodePort with multiple replicas</title>
				<link>https://blog.differentpla.net/blog/2021/12/30/k3s-nodeport-with-multiple-replicas/</link>
				<pubDate>Thu, 30 Dec 2021 12:10:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2021/12/30/k3s-nodeport-with-multiple-replicas/</guid>
				<description>&lt;p&gt;If you&amp;rsquo;re using a &lt;a href=&#34;https://blog.differentpla.net/blog/2021/12/17/k3s-nodeport/&#34;&gt;NodePort&lt;/a&gt; service, and it has multiple replicas, how does it know which replica to use?&lt;/p&gt;</description>
			</item>
			<item>
				<title>Docker Registry Redux</title>
				<link>https://blog.differentpla.net/blog/2021/12/21/docker-registry-redux/</link>
				<pubDate>Tue, 21 Dec 2021 11:57:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2021/12/21/docker-registry-redux/</guid>
				<description>&lt;p&gt;Wherein I finally bring together all we&amp;rsquo;ve learned so far and stand this thing up properly.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Installing Longhorn</title>
				<link>https://blog.differentpla.net/blog/2021/12/21/installing-longhorn/</link>
				<pubDate>Tue, 21 Dec 2021 11:28:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2021/12/21/installing-longhorn/</guid>
				<description>&lt;p&gt;Installation with Helm, per &lt;a href=&#34;https://longhorn.io/docs/1.2.3/deploy/install/install-with-helm/&#34;&gt;https://longhorn.io/docs/1.2.3/deploy/install/install-with-helm/&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;h2 id=&#34;add-the-repo&#34;&gt;Add the repo&lt;a href=&#34;#add-the-repo&#34;&gt;&lt;span class=&#34;icon icon-link&#34;&gt;&lt;/span&gt;&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;helm repo add longhorn https://charts.longhorn.io&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;helm repo update&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#xA;&lt;h2 id=&#34;run-the-installation&#34;&gt;Run the installation&lt;a href=&#34;#run-the-installation&#34;&gt;&lt;span class=&#34;icon icon-link&#34;&gt;&lt;/span&gt;&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;helm install longhorn longhorn/longhorn --namespace longhorn-system --create-namespace&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#xA;&lt;h2 id=&#34;make-longhorn-the-default-storage-class&#34;&gt;Make Longhorn the default storage class&lt;a href=&#34;#make-longhorn-the-default-storage-class&#34;&gt;&lt;span class=&#34;icon icon-link&#34;&gt;&lt;/span&gt;&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;Per &lt;a href=&#34;https://rpi4cluster.com/k3s/k3s-storage-setting/#make-longhorn-the-default-storageclass&#34;&gt;https://rpi4cluster.com/k3s/k3s-storage-setting/#make-longhorn-the-default-storageclass&lt;/a&gt;:&lt;/p&gt;</description>
			</item>
			<item>
				<title>Installing k3s on Ubuntu on Raspberry Pi</title>
				<link>https://blog.differentpla.net/blog/2021/12/20/k3s-ubuntu-reinstall/</link>
				<pubDate>Mon, 20 Dec 2021 19:16:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2021/12/20/k3s-ubuntu-reinstall/</guid>
				<description>&lt;p&gt;Having reinstalled all of my nodes with Ubuntu, I need to go back and install k3s. Joy.&lt;/p&gt;</description>
			</item>
			<item>
				<title>k3s on Raspberry Pi: Persistent Volume Namespaces</title>
				<link>https://blog.differentpla.net/blog/2021/12/18/k3s-pv-namespace/</link>
				<pubDate>Sat, 18 Dec 2021 20:11:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2021/12/18/k3s-pv-namespace/</guid>
				<description>&lt;p&gt;Persistent Volume Claims are namespace-scoped. Persistent Volumes are not:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;$ kubectl get pvc&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;NAME              STATUS   VOLUME           CAPACITY   ACCESS MODES   STORAGECLASS   AGE&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;testing-vol-pvc   Bound    testing-vol-pv   1Gi        RWO            iscsi          27h&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;$ kubectl --namespace docker-registry  get pvc&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;NAME                  STATUS   VOLUME               CAPACITY   ACCESS MODES   STORAGECLASS   AGE&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;docker-registry-pvc   Bound    docker-registry-pv   1Gi        RWO            iscsi          23h&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;$ kubectl get pv&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;NAME                 CAPACITY   ACCESS MODES   RECLAIM POLICY   STATUS   CLAIM                                 STORAGECLASS   REASON   AGE&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;testing-vol-pv       1Gi        RWO            Retain           Bound    default/testing-vol-pvc               iscsi                   27h&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;docker-registry-pv   1Gi        RWO            Retain           Bound    docker-registry/docker-registry-pvc   iscsi                   23h&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description>
			</item>
			<item>
				<title>k3s on Raspberry Pi: Docker push fails</title>
				<link>https://blog.differentpla.net/blog/2021/12/18/k3s-raspi-docker-push-fails/</link>
				<pubDate>Sat, 18 Dec 2021 16:08:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2021/12/18/k3s-raspi-docker-push-fails/</guid>
				<description>&lt;p&gt;Pushing a simple node.js-based image to my private docker registry failed.&lt;/p&gt;</description>
			</item>
			<item>
				<title>k3s on Raspberry Pi: NodePort Services</title>
				<link>https://blog.differentpla.net/blog/2021/12/17/k3s-nodeport/</link>
				<pubDate>Fri, 17 Dec 2021 20:58:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2021/12/17/k3s-nodeport/</guid>
				<description>&lt;p&gt;Until just now, I didn&amp;rsquo;t &lt;em&gt;get&lt;/em&gt; &lt;code&gt;NodePort&lt;/code&gt; services.&lt;/p&gt;&#xA;&lt;p&gt;The &lt;a href=&#34;https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types&#34;&gt;Kubernetes documentation&lt;/a&gt; says the following:&lt;/p&gt;</description>
			</item>
			<item>
				<title>k3s on Raspberry Pi: Static Persistent Volumes</title>
				<link>https://blog.differentpla.net/blog/2021/12/17/k3s-static-pv/</link>
				<pubDate>Fri, 17 Dec 2021 15:09:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2021/12/17/k3s-static-pv/</guid>
				<description>&lt;p&gt;In &lt;a href=&#34;https://blog.differentpla.net/blog/2021/12/17/k3s-dynamic-pv/&#34;&gt;the previous post&lt;/a&gt;, we succeeded in giving our docker registry some&#xA;persistent storage. However, it used (the default) dynamic provisioning, which means we don&amp;rsquo;t have as much control over&#xA;&lt;em&gt;where&lt;/em&gt; the storage is provisioned.&lt;/p&gt;</description>
			</item>
			<item>
				<title>k3s on Raspberry Pi: Dynamic Persistent Volumes</title>
				<link>https://blog.differentpla.net/blog/2021/12/17/k3s-dynamic-pv/</link>
				<pubDate>Fri, 17 Dec 2021 09:06:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2021/12/17/k3s-dynamic-pv/</guid>
				<description>&lt;p&gt;We need to give our Docker registry some persistent storage. Currently,&#xA;if we restart it, it loses its stored data.&lt;/p&gt;</description>
			</item>
			<item>
				<title>k3s on Raspberry Pi: Persistent Storage using hostPath</title>
				<link>https://blog.differentpla.net/blog/2021/12/16/k3s-hostpath-storage/</link>
				<pubDate>Thu, 16 Dec 2021 18:20:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2021/12/16/k3s-hostpath-storage/</guid>
				<description>&lt;p&gt;We need to give our Docker registry some persistent storage. Currently,&#xA;if we restart it, it loses its stored data.&lt;/p&gt;</description>
			</item>
			<item>
				<title>k3s on Raspberry Pi: Using an Insecure Docker Registry</title>
				<link>https://blog.differentpla.net/blog/2021/12/16/k3s-docker-registry-insecure/</link>
				<pubDate>Thu, 16 Dec 2021 16:16:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2021/12/16/k3s-docker-registry-insecure/</guid>
				<description>&lt;p&gt;Let&amp;rsquo;s see if we can push an image to our new Docker Registry.&lt;/p&gt;</description>
			</item>
			<item>
				<title>k3s on Raspberry Pi: Private Docker Registry</title>
				<link>https://blog.differentpla.net/blog/2021/12/10/k3s-docker-registry/</link>
				<pubDate>Fri, 10 Dec 2021 09:49:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2021/12/10/k3s-docker-registry/</guid>
				<description>&lt;div class=&#34;alert alert-light d-flex&#34;&gt;&#xA;  &lt;i class=&#34;bi bi-info-circle&#34;&gt;&lt;/i&gt;&#xA;  &lt;div class=&#34;alert-content&#34;&gt;&#xA;    &lt;strong&gt;Updated:&lt;/strong&gt; See &lt;a href=&#34;https://blog.differentpla.net/blog/2021/12/21/docker-registry-redux/&#34;&gt;Docker Registry Redux&lt;/a&gt;.&#xA;  &lt;/div&gt;&#xA;&lt;/div&gt;&#xA;&#xA;&lt;p&gt;In order to deploy our own applications, we&amp;rsquo;re going to need a private docker repository.&#xA;When I &lt;a href=&#34;https://blog.differentpla.net/blog/2020/02/06/k3s-raspi-private-docker/&#34;&gt;first did this&lt;/a&gt;, I used a standalone container.&lt;/p&gt;</description>
			</item>
			<item>
				<title>k3s on Raspberry Pi: iSCSI</title>
				<link>https://blog.differentpla.net/blog/2021/12/09/k3s-raspi-iscsi/</link>
				<pubDate>Thu, 09 Dec 2021 19:42:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2021/12/09/k3s-raspi-iscsi/</guid>
				<description>&lt;p&gt;The default option for persistent volumes on k3s is &lt;code&gt;local-path&lt;/code&gt;,&#xA;which provisions (on-demand) the storage on the node&amp;rsquo;s local disk. This&#xA;has the unfortunate side-effect that the container is now tied to that&#xA;particular node.&lt;/p&gt;</description>
			</item>
			<item>
				<title>k3s on Raspberry Pi: SchedulingDisabled</title>
				<link>https://blog.differentpla.net/blog/2021/12/08/k3s-raspi-scheduling-disabled/</link>
				<pubDate>Wed, 08 Dec 2021 09:42:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2021/12/08/k3s-raspi-scheduling-disabled/</guid>
				<description>&lt;p&gt;This morning, I grabbed &lt;a href=&#34;https://blog.differentpla.net/blog/2021/07/04/k3s-raspi-updates/&#34;&gt;my Raspberry Pi cluster&lt;/a&gt; out of the box and fired it up again.&lt;/p&gt;</description>
			</item>
			<item>
				<title>k3s on Raspberry Pi: Rebuilding with Pi 4</title>
				<link>https://blog.differentpla.net/blog/2021/07/04/k3s-raspi-updates/</link>
				<pubDate>Sun, 04 Jul 2021 15:39:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2021/07/04/k3s-raspi-updates/</guid>
				<description>&lt;p&gt;About 2 years ago, I spent some time messing around with k3s on a cluster made&#xA;from &lt;a href=&#34;https://blog.differentpla.net/blog/2020/02/06/k3s-raspi-hardware/&#34;&gt;5x Raspberry Pi 2 Model B&lt;/a&gt; nodes.&lt;/p&gt;</description>
			</item>
			<item>
				<title>k3s on Raspberry Pi: Phoenix Server</title>
				<link>https://blog.differentpla.net/blog/2020/02/07/k3s-raspi-phoenix-server/</link>
				<pubDate>Fri, 07 Feb 2020 11:17:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2020/02/07/k3s-raspi-phoenix-server/</guid>
				<description>&lt;p&gt;Note: This is basically the same as &lt;a href=&#34;https://blog.differentpla.net/blog/2020/02/06/k3s-raspi-node-server/&#34;&gt;the node.js server&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;h2 id=&#34;creating-the-phoenix-app&#34;&gt;Creating the Phoenix app&lt;a href=&#34;#creating-the-phoenix-app&#34;&gt;&lt;span class=&#34;icon icon-link&#34;&gt;&lt;/span&gt;&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;It&amp;rsquo;s entirely possible to create the app inside the docker container, or on a completely different machine, but I&amp;rsquo;m going to do it locally, which means &lt;a href=&#34;https://blog.differentpla.net/blog/2020/02/07/rpi-elixir/&#34;&gt;installing Erlang, Elixir and Phoenix first&lt;/a&gt;.&lt;/p&gt;</description>
			</item>
			<item>
				<title>k3s on Raspberry Pi: node.js Server</title>
				<link>https://blog.differentpla.net/blog/2020/02/06/k3s-raspi-node-server/</link>
				<pubDate>Thu, 06 Feb 2020 19:03:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2020/02/06/k3s-raspi-node-server/</guid>
				<description>&lt;p&gt;Now that I&amp;rsquo;ve successfully run &lt;code&gt;nginx&lt;/code&gt; on my cluster, I&amp;rsquo;m going to do the same with a simple &lt;code&gt;node.js&lt;/code&gt; server.&lt;/p&gt;</description>
			</item>
			<item>
				<title>k3s on Raspberry Pi: Private Docker</title>
				<link>https://blog.differentpla.net/blog/2020/02/06/k3s-raspi-private-docker/</link>
				<pubDate>Thu, 06 Feb 2020 17:52:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2020/02/06/k3s-raspi-private-docker/</guid>
				<description>&lt;div class=&#34;alert alert-info d-flex&#34;&gt;&#xA;  &lt;i class=&#34;bi bi-info-circle&#34;&gt;&lt;/i&gt;&#xA;  &lt;div class=&#34;alert-content&#34;&gt;&#xA;    &lt;strong&gt;Updated:&lt;/strong&gt; See &lt;a href=&#34;https://blog.differentpla.net/blog/2021/12/21/docker-registry-redux/&#34;&gt;Docker Registry Redux&lt;/a&gt;.&#xA;  &lt;/div&gt;&#xA;&lt;/div&gt;&#xA;&#xA;&lt;p&gt;In order to run our own apps on the cluster, we&amp;rsquo;re going to need a private docker repository.&lt;/p&gt;</description>
			</item>
			<item>
				<title>k3s on Raspberry Pi: Installing nginx</title>
				<link>https://blog.differentpla.net/blog/2020/02/06/k3s-raspi-nginx/</link>
				<pubDate>Thu, 06 Feb 2020 17:44:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2020/02/06/k3s-raspi-nginx/</guid>
				<description>&lt;p&gt;Start nginx, with 3 replicas:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;$ sudo kubectl run nginx-1 --image=nginx --replicas=3 --port=80&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#xA;&lt;p&gt;You can see that 3 &amp;ldquo;pods&amp;rdquo; have been started:&lt;/p&gt;</description>
			</item>
			<item>
				<title>k3s on Raspberry Pi: Installing k3s</title>
				<link>https://blog.differentpla.net/blog/2020/02/06/k3s-raspi-install-k3s/</link>
				<pubDate>Thu, 06 Feb 2020 17:04:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2020/02/06/k3s-raspi-install-k3s/</guid>
				<description>&lt;p&gt;It&amp;rsquo;s at this point that I diverge from Scott&amp;rsquo;s blog post; he installs full-fat Kubernetes. I&amp;rsquo;m going to use &lt;a href=&#34;https://k3s.io/&#34;&gt;k3s&lt;/a&gt;.&lt;/p&gt;</description>
			</item>
			<item>
				<title>k3s on Raspberry Pi: Installing Raspbian</title>
				<link>https://blog.differentpla.net/blog/2020/02/06/k3s-raspi-raspbian/</link>
				<pubDate>Thu, 06 Feb 2020 16:54:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2020/02/06/k3s-raspi-raspbian/</guid>
				<description>&lt;p&gt;I downloaded &lt;a href=&#34;https://www.raspberrypi.org/downloads/raspbian/&#34;&gt;Raspbian Buster Lite&lt;/a&gt; from the official site and wrote it to the SD cards (using &lt;code&gt;dd&lt;/code&gt;).&lt;/p&gt;</description>
			</item>
			<item>
				<title>k3s on Raspberry Pi: Hardware</title>
				<link>https://blog.differentpla.net/blog/2020/02/06/k3s-raspi-hardware/</link>
				<pubDate>Thu, 06 Feb 2020 16:44:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2020/02/06/k3s-raspi-hardware/</guid>
				<description>&lt;p&gt;I had a bunch of hardware lying around from an earlier abandoned side project:&lt;/p&gt;</description>
			</item>
			<item>
				<title>k3s on Raspberry Pi: Introduction</title>
				<link>https://blog.differentpla.net/blog/2020/02/06/k3s-raspi-intro/</link>
				<pubDate>Thu, 06 Feb 2020 16:34:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2020/02/06/k3s-raspi-intro/</guid>
				<description>&lt;h2 id=&#34;background&#34;&gt;Background&lt;a href=&#34;#background&#34;&gt;&lt;span class=&#34;icon icon-link&#34;&gt;&lt;/span&gt;&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;I&amp;rsquo;m taking a few days to play with Kubernetes. Since I have a stack of Raspberry Pi 2s otherwise doing nothing, I decided to use them. I started with Scott Hanselman&amp;rsquo;s &lt;a href=&#34;https://www.hanselman.com/blog/HowToBuildAKubernetesClusterWithARMRaspberryPiThenRunNETCoreOnOpenFaas.aspx&#34;&gt;How to Build a Kubernetes Cluster with ARM Raspberry Pi then run .NET Core on OpenFaas&lt;/a&gt; blog post.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
