<?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/series/k3s/</link>
		<description>Recent content in k3s on Roger&#39;s Blog</description>
		<generator>Hugo</generator>
		<language>en</language>
		
		
		
		
			<lastBuildDate>Sun, 16 Oct 2022 15:07:00 +0000</lastBuildDate>
		
			<atom:link href="https://blog.differentpla.net/series/k3s/feed.xml" rel="self" type="application/rss+xml" />
			<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>Livebook as K8s Cluster Admin</title>
				<link>https://blog.differentpla.net/blog/2022/03/09/livebook-k8s-cluster-admin/</link>
				<pubDate>Wed, 09 Mar 2022 12:29:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2022/03/09/livebook-k8s-cluster-admin/</guid>
				<description>&lt;p&gt;Because I like experimenting with Kubernetes from Elixir Livebook, I made the service account into a cluster admin.&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>Installing cert-manager</title>
				<link>https://blog.differentpla.net/blog/2022/02/06/cert-manager/</link>
				<pubDate>Sun, 06 Feb 2022 15:18:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2022/02/06/cert-manager/</guid>
				<description>&lt;p&gt;Up to this point, I&amp;rsquo;ve been creating and installing certificates manually. Let&amp;rsquo;s see if&#xA;&lt;a href=&#34;https://cert-manager.io/&#34;&gt;cert-manager&lt;/a&gt; will make that easier.&lt;/p&gt;</description>
			</item>
			<item>
				<title>(Not) Upgrading ArgoCD</title>
				<link>https://blog.differentpla.net/blog/2022/02/05/not-upgrading-argocd/</link>
				<pubDate>Sat, 05 Feb 2022 11:47:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2022/02/05/not-upgrading-argocd/</guid>
				<description>&lt;p&gt;There&amp;rsquo;s a &lt;a href=&#34;https://www.theregister.com/2022/02/04/argo_cd_0day_kubernetes/&#34;&gt;security fix&lt;/a&gt; that needs to be applied;&#xA;there&amp;rsquo;s an &lt;a href=&#34;https://github.com/argoproj/argo-cd/releases/tag/v2.3.0-rc5&#34;&gt;arm64 release candidate&lt;/a&gt;. Time to upgrade&#xA;ArgoCD.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Securing Gitea with HTTPS</title>
				<link>https://blog.differentpla.net/blog/2022/02/04/gitea-https/</link>
				<pubDate>Fri, 04 Feb 2022 17:46:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2022/02/04/gitea-https/</guid>
				<description>&lt;p&gt;I&amp;rsquo;ve got Gitea installed on my cluster, but it&amp;rsquo;s currently accessed via HTTP (i.e. no TLS; it&amp;rsquo;s not secure).&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>Installing ArgoCD on k3s</title>
				<link>https://blog.differentpla.net/blog/2022/02/02/argocd/</link>
				<pubDate>Wed, 02 Feb 2022 17:57:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2022/02/02/argocd/</guid>
				<description>&lt;p&gt;We&amp;rsquo;re using ArgoCD at work; time to play with it.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Securing an Ingress with TLS</title>
				<link>https://blog.differentpla.net/blog/2022/01/31/securing-ingress-tls/</link>
				<pubDate>Mon, 31 Jan 2022 18:35:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2022/01/31/securing-ingress-tls/</guid>
				<description>&lt;p&gt;My &lt;a href=&#34;https://blog.differentpla.net/blog/2022/01/30/gitea/&#34;&gt;Gitea instance&lt;/a&gt; isn&amp;rsquo;t using TLS, so I&amp;rsquo;m going to replace the LoadBalancer with an Ingress, which will allow TLS termination.&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>Installing Gitea on k3s</title>
				<link>https://blog.differentpla.net/blog/2022/01/30/gitea/</link>
				<pubDate>Sun, 30 Jan 2022 14:46:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2022/01/30/gitea/</guid>
				<description>&lt;p&gt;I want to play with &lt;a href=&#34;https://www.gitops.tech/&#34;&gt;GitOps&lt;/a&gt; on my k3s cluster (specifically ArgoCD). To do that, I&amp;rsquo;m going to&#xA;need a local git server. I decided to use &lt;a href=&#34;https://docs.gitea.io/en-us/&#34;&gt;Gitea&lt;/a&gt;.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Custom CoreDNS Runbook</title>
				<link>https://blog.differentpla.net/blog/2022/01/16/k3s-dns-runbook/</link>
				<pubDate>Sun, 16 Jan 2022 10:08:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2022/01/16/k3s-dns-runbook/</guid>
				<description>&lt;p&gt;I recently left my k3s cluster turned off for a week or so. When I turned it back on, the &lt;a href=&#34;https://blog.differentpla.net/blog/2021/12/29/coredns/&#34;&gt;&lt;code&gt;k3s.differentpla.net&lt;/code&gt; DNS&lt;/a&gt; wasn&amp;rsquo;t working. Let&amp;rsquo;s figure it out and maybe write a runbook for the next time.&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>Using CoreDNS for LoadBalancer addresses</title>
				<link>https://blog.differentpla.net/blog/2021/12/29/coredns/</link>
				<pubDate>Wed, 29 Dec 2021 20:15:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2021/12/29/coredns/</guid>
				<description>&lt;p&gt;I&amp;rsquo;d like to be able to access my &lt;a href=&#34;https://blog.differentpla.net/blog/2021/12/20/installing-metallb/&#34;&gt;load-balanced services&lt;/a&gt; by name&#xA;(&lt;code&gt;docker.k3s.differentpla.net&lt;/code&gt;, for example) from outside my k3s cluster. I&amp;rsquo;m&#xA;using &lt;code&gt;--addn-hosts&lt;/code&gt; on &lt;a href=&#34;https://blog.differentpla.net/blog/2021/12/21/docker-registry-redux/#configuring-dns&#34;&gt;dnsmasq on my router&lt;/a&gt;.&#xA;This is fragile. Every time I want to add a load-balanced service, I need to edit&#xA;the additional hosts file on my router, and I need to restart dnsmasq.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Disabling Klipper</title>
				<link>https://blog.differentpla.net/blog/2021/12/21/disabling-klipper/</link>
				<pubDate>Tue, 21 Dec 2021 20:55:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2021/12/21/disabling-klipper/</guid>
				<description>&lt;p&gt;I forgot to &lt;a href=&#34;https://rancher.com/docs/k3s/latest/en/networking/#disabling-the-service-lb&#34;&gt;disable Klipper&lt;/a&gt;, the K3s-provided load balancer.&lt;/p&gt;&#xA;&lt;p&gt;Edit the &lt;code&gt;/etc/systemd/system/k3s.service&lt;/code&gt; file. It looks like this:&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 MetalLB</title>
				<link>https://blog.differentpla.net/blog/2021/12/20/installing-metallb/</link>
				<pubDate>Mon, 20 Dec 2021 20:55:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2021/12/20/installing-metallb/</guid>
				<description>&lt;p&gt;Installation with Helm, per &lt;a href=&#34;https://metallb.universe.tf/installation/#installation-with-helm&#34;&gt;https://metallb.universe.tf/installation/#installation-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 metallb https://metallb.github.io/metallb&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#xA;&lt;h2 id=&#34;create-the-values-file&#34;&gt;Create the values file&lt;a href=&#34;#create-the-values-file&#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;My home network is &lt;code&gt;192.168.28.x&lt;/code&gt;, my DHCP server allocates &lt;code&gt;.100&lt;/code&gt; and up, so we&amp;rsquo;ll use a pool of addresses outside that range.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Installing Helm</title>
				<link>https://blog.differentpla.net/blog/2021/12/20/installing-helm/</link>
				<pubDate>Mon, 20 Dec 2021 20:45:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2021/12/20/installing-helm/</guid>
				<description>&lt;p&gt;To install other things, we&amp;rsquo;re going to want to use Helm. So let&amp;rsquo;s install that first.&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>Installing Ubuntu on Raspberry Pi</title>
				<link>https://blog.differentpla.net/blog/2021/12/20/raspi-ubuntu/</link>
				<pubDate>Mon, 20 Dec 2021 12:17:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2021/12/20/raspi-ubuntu/</guid>
				<description>&lt;p&gt;My &lt;a href=&#34;https://blog.differentpla.net/blog/2021/07/04/k3s-raspi-updates/&#34;&gt;Raspberry Pi 4 cluster&lt;/a&gt; is currently 32-bit. It&amp;rsquo;s got a 32-bit&#xA;kernel with a 32-bit userland. But I need to run 64-bit software on it. I looked into &lt;a href=&#34;https://blog.differentpla.net/blog/2021/12/20/upgrading-raspios-to-arm64/&#34;&gt;upgrading it in place&lt;/a&gt;, but that&amp;rsquo;s infeasible. So I need to reinstall it.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Upgrading RaspiOS to arm64</title>
				<link>https://blog.differentpla.net/blog/2021/12/20/upgrading-raspios-to-arm64/</link>
				<pubDate>Mon, 20 Dec 2021 10:26:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2021/12/20/upgrading-raspios-to-arm64/</guid>
				<description>&lt;p&gt;Can I upgrade my Raspberry Pi 4-powered k3s cluster to arm64? Without rebuilding everything? tl;dr: no.&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>
