<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>K8s on Miek Gieben</title>
    <link>https://miek.nl/categories/k8s/</link>
    <description>Recent content in K8s on Miek Gieben</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <copyright>© Copyright 2007-2024 Miek Gieben</copyright>
    <lastBuildDate>Mon, 18 Jan 2021 09:38:37 +0000</lastBuildDate>
    <atom:link href="https://miek.nl/categories/k8s/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>DNS with K3s and systemk</title>
      <link>https://miek.nl/2021/january/18/dns-with-k3s-and-systemk/</link>
      <pubDate>Mon, 18 Jan 2021 09:38:37 +0000</pubDate>
      <guid>https://miek.nl/2021/january/18/dns-with-k3s-and-systemk/</guid>
      <description>&lt;p&gt;In a DNS zone that I had laying around, I&amp;rsquo;ve come with the following scheme to have a working&#xA;DNS with systemk. Note this does &lt;em&gt;not&lt;/em&gt; deal with the control plane, those are routed via tailscale and&#xA;I&amp;rsquo;m using IP addresses there. If naming is required here, it can be fitted in the scheme as well.&lt;/p&gt;&#xA;&lt;p&gt;Using &lt;code&gt;example.org&lt;/code&gt; as the domain here.&lt;/p&gt;&#xA;&lt;h2 id=&#34;scheme&#34;&gt;Scheme&lt;/h2&gt;&#xA;&lt;p&gt;An &lt;code&gt;m&lt;/code&gt; &amp;ldquo;subdomain&amp;rdquo; (it&amp;rsquo;s not delegated) holds all the names and IP address of the machines of&#xA;interest.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Provisioning K3s and systemk</title>
      <link>https://miek.nl/2021/january/17/provisioning-k3s-and-systemk/</link>
      <pubDate>Sun, 17 Jan 2021 10:38:37 +0000</pubDate>
      <guid>https://miek.nl/2021/january/17/provisioning-k3s-and-systemk/</guid>
      <description>&lt;p&gt;Due to a previous job I&amp;rsquo;m calling &lt;em&gt;nodes&lt;/em&gt;, &amp;ldquo;machines&amp;rdquo;, also because this is about systemk, it&amp;rsquo;s more&#xA;likely you are actually using a real machine. So I&amp;rsquo;ll keep on using &amp;ldquo;machines&amp;rdquo; in this post.&lt;/p&gt;&#xA;&lt;p&gt;First up: I needed an easy way to build packages of the software I&amp;rsquo;m using. For this I&amp;rsquo;ve setup a&#xA;small CI using GitHub workflows that builds Debian packages for me: &lt;a href=&#34;https://github.com/miekg/debian&#34;&gt;https://github.com/miekg/debian&lt;/a&gt;.&#xA;(A Debian package repository would even be better, so I can more easily do upgrades).&lt;/p&gt;</description>
    </item>
    <item>
      <title>Kubernetes Control Plane for Debian?</title>
      <link>https://miek.nl/2020/november/12/kubernetes-control-plane-for-debian/</link>
      <pubDate>Thu, 12 Nov 2020 07:38:37 +0000</pubDate>
      <guid>https://miek.nl/2020/november/12/kubernetes-control-plane-for-debian/</guid>
      <description>&lt;p&gt;The everything is a object in Kubernetes is a very nice abstraction. The ability to influence it&#xA;with just &lt;code&gt;kubectl&lt;/code&gt; makes for only one control plane (to learn).&lt;/p&gt;&#xA;&lt;p&gt;The networking, ingress, discovery, installation, etc. are all not that great. So I&amp;rsquo;m pondering&#xA;marrying the things I love: have a plain Debian system, &amp;ldquo;normal&amp;rdquo; networking (no&#xA;overlay/underlay/whatever), Debian packages, etc. &lt;em&gt;And&lt;/em&gt; controlling it all via kubectl.&lt;/p&gt;&#xA;&lt;p&gt;This should include a sane installation and allow for rollbacks. Metrics and observability should be&#xA;supported, but will probably be more of the same (install the binaries and push configuration =&#xA;k8s objects).&lt;/p&gt;</description>
    </item>
    <item>
      <title>Running CoreDNS as a Forwarder in Kubernetes</title>
      <link>https://miek.nl/2018/january/13/running-coredns-as-a-forwarder-in-kubernetes/</link>
      <pubDate>Sat, 13 Jan 2018 10:38:37 +0000</pubDate>
      <guid>https://miek.nl/2018/january/13/running-coredns-as-a-forwarder-in-kubernetes/</guid>
      <description>&lt;p&gt;This post details how I got CoreDNS running as a forwarder in a &lt;a href=&#34;https://k8s.io&#34;&gt;Kubernetes&lt;/a&gt; cluster.&#xA;There were several problems that stood in the way of this goal:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Having (and building) a cluster out of Raspberry PIs.&lt;/li&gt;&#xA;&lt;li&gt;Making load balancing possible in a non-cloud environment.&#xA;&lt;ul&gt;&#xA;&lt;li&gt;See &lt;a href=&#34;https://github.com/google/metallb&#34;&gt;https://github.com/google/metallb&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;Extending CoreDNS with a plugin that could communicate with 9.9.9.9 using&#xA;&lt;a href=&#34;https://tools.ietf.org/html/rfc7858&#34;&gt;DNS-over-TLS&lt;/a&gt;.&#xA;&lt;ul&gt;&#xA;&lt;li&gt;See &lt;a href=&#34;https://github.com/coredns/forward&#34;&gt;https://github.com/coredns/forward&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;Building arm docker containers on amd64.&#xA;&lt;ul&gt;&#xA;&lt;li&gt;See &lt;a href=&#34;https://github.com/miekg/dxbuild&#34;&gt;https://github.com/miekg/dxbuild&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;Having a (simple) CI system to build (Docker) images and version the k8s manifests.&#xA;&lt;ul&gt;&#xA;&lt;li&gt;No published repository, see various gists referenced in this document.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h2 id=&#34;cluster&#34;&gt;Cluster&lt;/h2&gt;&#xA;&lt;p&gt;I bought 4 PIs, some nice Corkea cases, an Anker USB power supply and power- and&#xA;network cables. Then it is just a matter if putting everything together and building the cluster.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
