<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Kubernetes on Keloran blog and random stuff</title>
    <link>https://keloran.dev/tags/kubernetes/</link>
    <description>Recent content in Kubernetes on Keloran blog and random stuff</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <copyright>Keloran</copyright>
    <lastBuildDate>Tue, 28 Mar 2023 11:21:05 +0100</lastBuildDate>
    <atom:link href="https://keloran.dev/tags/kubernetes/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Cluster Update</title>
      <link>https://keloran.dev/post/cluster_update/</link>
      <pubDate>Tue, 28 Mar 2023 11:21:05 +0100</pubDate>
      <guid>https://keloran.dev/post/cluster_update/</guid>
      <description>&lt;h1 id=&#34;cluster-update&#34;&gt;Cluster Update&lt;/h1&gt;&#xA;&lt;p&gt;My kubernetes cluster runs on a mix of RaspberryPI 4s, and x86(AMD64) machines, but because I built it originally with only the raspberrys, my control plane was on a PI&lt;/p&gt;&#xA;&lt;p&gt;Well that was working fine for nearly 2 years, but the SD card on the control plane died, which wasn&amp;rsquo;t a good time&lt;/p&gt;&#xA;&lt;p&gt;So I decided to what I always do, and go nuts&lt;/p&gt;&#xA;&lt;h2 id=&#34;spending-spree&#34;&gt;Spending spree&lt;/h2&gt;&#xA;&lt;p&gt;So I purchased a few things to tackle this issue&lt;/p&gt;</description>
    </item>
    <item>
      <title>NerdCTL on ArchLinux</title>
      <link>https://keloran.dev/post/nerdctl_archlinux/</link>
      <pubDate>Tue, 26 Apr 2022 17:41:50 +0100</pubDate>
      <guid>https://keloran.dev/post/nerdctl_archlinux/</guid>
      <description>&lt;h1 id=&#34;archlinux-nerdctl&#34;&gt;ArchLinux NerdCTL&lt;/h1&gt;&#xA;&lt;p&gt;Arch is a lot like Slackware and Gentoo, whilst it does have a package manager, you have to know what you want before things work&lt;/p&gt;&#xA;&lt;p&gt;so NerdCTL has the ability to use buildkit to install stuff on multi-arch but that isn&amp;rsquo;t as easy as you would like and as such there are a few things that need installing to make it work&lt;/p&gt;&#xA;&lt;h2 id=&#34;steps&#34;&gt;Steps&lt;/h2&gt;&#xA;&lt;p&gt;This will need &lt;a href=&#34;https://github.com/Jguer/yay&#34;&gt;YAY&lt;/a&gt; (well there are others but if you copy paste then its yay)&lt;/p&gt;</description>
    </item>
    <item>
      <title>Mistakes Were Made</title>
      <link>https://keloran.dev/post/mistakes/</link>
      <pubDate>Mon, 14 Mar 2022 22:12:30 +0000</pubDate>
      <guid>https://keloran.dev/post/mistakes/</guid>
      <description>&lt;h1 id=&#34;mistakes-were-made&#34;&gt;Mistakes were made&lt;/h1&gt;&#xA;&lt;p&gt;Well I&amp;rsquo;ve had a fun weekend, on one side I &amp;ldquo;finally&amp;rdquo; caught covid and as such my concentration levels were very low, now that doesn&amp;rsquo;t make up for what I did but at least I have 1/2 an out&lt;/p&gt;&#xA;&lt;h3 id=&#34;what-happened&#34;&gt;What happened&lt;/h3&gt;&#xA;&lt;p&gt;I decided to do a little cleaning up of my kubernetes cluster, and decided that I should remove some deployments that weren&amp;rsquo;t in use, that was going fine, but then I decided to try and move some of the things that were more &amp;ldquo;central&amp;rdquo; to their correct namespace,&lt;br&gt;&#xA;&lt;code&gt;correct is a probably the wrong word, since I do kind of follow the principle of a namespace for a service rather than a namespace for a project (e.g. all of chewedfeed&#39;s stuff goes in the chewedfeed one, some things should be seperate if they are used by multiple things)&lt;/code&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>K3OS</title>
      <link>https://keloran.dev/post/k3os/</link>
      <pubDate>Sun, 06 Feb 2022 17:52:44 +0000</pubDate>
      <guid>https://keloran.dev/post/k3os/</guid>
      <description>&lt;h1 id=&#34;k3os&#34;&gt;K3OS&lt;/h1&gt;&#xA;&lt;p&gt;K3OS is kinda self explanitory if you know what K3s is, if not then &lt;a href=&#34;https://k3os.io&#34;&gt;k3OS&lt;/a&gt; is Rancher&amp;rsquo;s &lt;a href=&#34;https://k3s.io&#34;&gt;k3s&lt;/a&gt; which is a kubernetes compatible version but a lot smaller&lt;/p&gt;&#xA;&lt;h2 id=&#34;why-did-i-tell-you-that&#34;&gt;Why did I tell you that&lt;/h2&gt;&#xA;&lt;p&gt;Well now that bit is out of the way, I upgraded ubuntu on one of my raspberry pi 3&amp;rsquo;s, and at the same time upgraded k3s to the latest version, and that pi became almost impossible to use with kubernetes, pods failing all the time,&lt;br&gt;&#xA;since I needed to wipe it anyway, and possibly replace with a pi4 (which are harder to find than rocking-horse-{redacted}) why not give k3os a shot, this is where the fun began&lt;/p&gt;</description>
    </item>
    <item>
      <title>Update NerdCTL on RancherDesktop macOS</title>
      <link>https://keloran.dev/post/nerdctl/</link>
      <pubDate>Thu, 03 Feb 2022 10:46:56 +0000</pubDate>
      <guid>https://keloran.dev/post/nerdctl/</guid>
      <description>&lt;h1 id=&#34;issue&#34;&gt;Issue&lt;/h1&gt;&#xA;&lt;p&gt;So you are already using RancherDesktop and NerdCTL from the betas congrats, but you want to use the multi-platform build&lt;/p&gt;&#xA;&lt;p&gt;so you need to update Rancher and Nerd, well thats where the issue exists, Lima doesnt update NerdCTL automatically so you need to update your instances version&lt;/p&gt;&#xA;&lt;h2 id=&#34;fix&#34;&gt;Fix&lt;/h2&gt;&#xA;&lt;p&gt;First you need to get into the instance&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;LIMA_HOME&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;/Users/&amp;lt;username&amp;gt;/Library/Application&lt;span style=&#34;color:#ae81ff&#34;&gt;\ &lt;/span&gt;Support/rancher-desktop/lima &lt;span style=&#34;color:#ae81ff&#34;&gt;\&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;&lt;/span&gt;&#x9;/Applications/Rancher&lt;span style=&#34;color:#ae81ff&#34;&gt;\ &lt;/span&gt;Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl &lt;span style=&#34;color:#ae81ff&#34;&gt;\&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;&lt;/span&gt;&#x9;shell &lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt; sudo --preserve-env&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;CONTAINERD_ADDRESS sh&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Now that your in the instance, you need to update NerdCTL&lt;/p&gt;</description>
    </item>
    <item>
      <title>Integrating Vault with 1Password in Kubernetes</title>
      <link>https://keloran.dev/post/1password_vault_kubernetes/</link>
      <pubDate>Mon, 10 Jan 2022 17:14:04 +0000</pubDate>
      <guid>https://keloran.dev/post/1password_vault_kubernetes/</guid>
      <description>&lt;h1 id=&#34;integrating-vault-with-1password-in-kubernetes&#34;&gt;Integrating Vault with 1Password in Kubernetes&lt;/h1&gt;&#xA;&lt;p&gt;I decided that I should probably get a real handle on my passwords and secrets in kubernetes, since kubernetes is not very good at keeping secrets&lt;/p&gt;&#xA;&lt;p&gt;So I don&amp;rsquo;t generally take a helm chart or kube-schema at face value, this has more to do with I prefer to keep things in their own namespace rather than in &amp;ldquo;default&amp;rdquo;, because of this I tend to clone the chart first&lt;/p&gt;</description>
    </item>
    <item>
      <title>RaspberryPI cluster</title>
      <link>https://keloran.dev/post/raspberrypi_cluster/</link>
      <pubDate>Thu, 14 Oct 2021 10:39:53 +0100</pubDate>
      <guid>https://keloran.dev/post/raspberrypi_cluster/</guid>
      <description>&lt;p&gt;Well I made Kubernetes cluster using Raspberry PIs, I largely followed the guide &lt;a href=&#34;https://rpi4cluster.com&#34;&gt;RasperryPI 4 Cluster&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;It has the following features&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;5 Raspberry Pi 4s, 4Gb RAM&lt;/li&gt;&#xA;&lt;li&gt;1 DualCore x64, 16Gb RAM&lt;/li&gt;&#xA;&lt;li&gt;1 DualCore x64, 4Gb RAM&lt;/li&gt;&#xA;&lt;li&gt;4Tb storage distributed over the whole cluster&lt;/li&gt;&#xA;&lt;li&gt;ClusterCTRL, this is so power goes through the backplane rather than having 5 seperate power sources&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Things that are using the cluster, well this site for one&lt;/p&gt;</description>
    </item>
    <item>
      <title>K8sDeploy.dev</title>
      <link>https://keloran.dev/backburner/k8sdeploy/</link>
      <pubDate>Wed, 13 Oct 2021 15:05:44 +0100</pubDate>
      <guid>https://keloran.dev/backburner/k8sdeploy/</guid>
      <description>&lt;p&gt;This project is so that I can deploy projects into my cluster using github pipelines&lt;/p&gt;&#xA;&lt;p&gt;now that sounds simle enough, except there aren&amp;rsquo;t any (from my limited research) deployment agents for kubernetes that work on arm&lt;/p&gt;&#xA;&lt;p&gt;So whats my plan, well this system works thus&lt;/p&gt;&#xA;&lt;h3 id=&#34;method&#34;&gt;Method&lt;/h3&gt;&#xA;&lt;p&gt;There is a github action that is triggered in your pipeline, this talks to an orchestrator on k8sdeploy&lt;/p&gt;&#xA;&lt;p&gt;the orchestrator then sends a message to a queue with a topic for an agent that has been registered by you for your cluster&lt;/p&gt;</description>
    </item>
    <item>
      <title>Kubernetes</title>
      <link>https://keloran.dev/post/kubernetes/</link>
      <pubDate>Wed, 13 Oct 2021 14:55:05 +0100</pubDate>
      <guid>https://keloran.dev/post/kubernetes/</guid>
      <description>&lt;p&gt;Well I&amp;rsquo;ve decided that I should probably learn kubernetes, so I built a raspberry pi cluster&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://keloran.dev/&#34;&gt;Home&lt;/a&gt;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
