<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Proxmox on Lichturm</title><link>/en/tags/proxmox/</link><description>Recent content in Proxmox on Lichturm</description><generator>Hugo</generator><language>en-GB</language><lastBuildDate>Fri, 23 May 2025 19:23:12 +0200</lastBuildDate><atom:link href="/en/tags/proxmox/index.xml" rel="self" type="application/rss+xml"/><item><title>Proxmox Kubernetes using Cluster-API Part 2: Cluster-API Testrun</title><link>/en/posts/pve_k8s_capi_testrun/</link><pubDate>Fri, 23 May 2025 19:23:12 +0200</pubDate><guid>/en/posts/pve_k8s_capi_testrun/</guid><description>&lt;h2 id="reading-material"&gt;Reading material&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://cluster-api.sigs.k8s.io/user/quick-start.html" target="_blank"&gt;https://cluster-api.sigs.k8s.io/user/quick-start.html&lt;/a&gt; (Select Proxmox)&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="setup--proxmox-cluster-api-user-account"&gt;Setup proxmox cluster-api user account&lt;/h2&gt;
&lt;p&gt;Our Cluster API provider for Proxmox (CAPMOX) will need to be able to manage resources in Proxmox. We can either follow the &lt;a href="https://github.com/ionos-cloud/cluster-api-provider-proxmox/blob/main/docs/Usage.md#configuring-and-installing-cluster-api-provider-for-proxmox-ve-in-a-management-cluster" target="_blank"&gt;basic instructions&lt;/a&gt; of the provider, which may grant a few more permissions than necessary, or we can define a more limited set of permissions ourselves. For comparison, here&amp;rsquo;s the simple variant using the &lt;code&gt;PVEVMAdmin&lt;/code&gt; role:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;pveum user add capmox@pve
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;pveum aclmod / -user capmox@pve -role PVEVMAdmin
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;pveum user token add capmox@pve capi -privsep &lt;span style="color:#ae81ff"&gt;0&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;And here is a somewhat more minimal permission setup I ended up going with, based on the required permissions described &lt;a href="https://github.com/ionos-cloud/cluster-api-provider-proxmox/blob/main/docs/advanced-setups.md#proxmox-rbac-with-least-privileges" target="_blank"&gt;here&lt;/a&gt; and some of my own findings:&lt;/p&gt;</description></item><item><title>Proxmox Kubernetes using Cluster-API Part 1: Preparing Images using Image Builder</title><link>/en/posts/pve_k8s_image-builder/</link><pubDate>Sun, 27 Apr 2025 13:58:54 +0200</pubDate><guid>/en/posts/pve_k8s_image-builder/</guid><description>&lt;p&gt;After thinking about what to use for the Kubernetes cluster, the next step is building an image with the necessary software to start our VMs from. Manually updating nodes with kubeadm is not just more error-prone, it also gets tedious quickly once we have more than a low single digit numbers of nodes.&lt;/p&gt;
&lt;h2 id="building-images-with-image-builder"&gt;Building Images with image-builder&lt;/h2&gt;
&lt;p&gt;There is an official kubernetes project which produces VM-images for Cluster API called &lt;a href="https://github.com/kubernetes-sigs/image-builder" target="_blank"&gt;image-builder&lt;/a&gt;. image-builder can produce images for all kinds of virtualisation environments, and in the case of Proxmox, it starts a VM on the Proxmox Cluster to produce the VM template for Kubernetes. Under the hood, tools like &lt;a href="https://developer.hashicorp.com/packer" target="_blank"&gt;Packer&lt;/a&gt; and &lt;a href="https://docs.ansible.com/" target="_blank"&gt;Ansible&lt;/a&gt; are used. It is a bit on the heavy side, but it has a community around it, and for now, i like having something a bit more standardised.&lt;/p&gt;</description></item><item><title>Proxmox Kubernetes Cluster using Cluster API Part 0: Considerations</title><link>/en/posts/pve_k8s_considerations/</link><pubDate>Wed, 23 Apr 2025 18:32:34 +0200</pubDate><guid>/en/posts/pve_k8s_considerations/</guid><description>&lt;p&gt;The devloper of Portfolio Performance called working on his Free Software project »Therapeutic Programming«; that is to say, that from time to time, it is salubrious to work on a technical project where you get to make all the design decisions, and no external restrictions are placed on you. Just you and the issue at hand, with no time pressure, or meddling detracting from the enjoyment and discovery. I have learned a lot about the tools i use in my work by finding uses for them in my free time. Usually i come across other people&amp;rsquo;s notes and documentation during this, which have always been very helpful. So, in the tradition of doing that, I will document building my own, homegrown, little datacenter for posterity.&lt;/p&gt;</description></item></channel></rss>