Skip to content

Commit

Permalink
Deployed e517754 with MkDocs version: 1.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 23, 2024
1 parent 31138e8 commit ef91993
Show file tree
Hide file tree
Showing 3 changed files with 83 additions and 62 deletions.
95 changes: 58 additions & 37 deletions proxmox-setup/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -348,15 +348,6 @@
<nav class="md-nav" aria-label="Setup worker node">
<ul class="md-nav__list">

<li class="md-nav__item">
<a href="#install-qemu-agent" class="md-nav__link">
<span class="md-ellipsis">
Install Qemu Agent
</span>
</a>

</li>

<li class="md-nav__item">
<a href="#disk-passthrough" class="md-nav__link">
<span class="md-ellipsis">
Expand Down Expand Up @@ -388,6 +379,15 @@
</span>
</a>

</li>

<li class="md-nav__item">
<a href="#install-qemu-agent" class="md-nav__link">
<span class="md-ellipsis">
Install Qemu Agent
</span>
</a>

</li>

</ul>
Expand Down Expand Up @@ -1188,15 +1188,6 @@
<nav class="md-nav" aria-label="Setup worker node">
<ul class="md-nav__list">

<li class="md-nav__item">
<a href="#install-qemu-agent" class="md-nav__link">
<span class="md-ellipsis">
Install Qemu Agent
</span>
</a>

</li>

<li class="md-nav__item">
<a href="#disk-passthrough" class="md-nav__link">
<span class="md-ellipsis">
Expand Down Expand Up @@ -1228,6 +1219,15 @@
</span>
</a>

</li>

<li class="md-nav__item">
<a href="#install-qemu-agent" class="md-nav__link">
<span class="md-ellipsis">
Install Qemu Agent
</span>
</a>

</li>

</ul>
Expand Down Expand Up @@ -1338,28 +1338,37 @@ <h3 id="isos">ISOs</h3>
<li>https://releases.ubuntu.com/noble/ubuntu-24.04.1-live-server-amd64.iso</li>
</ul>
<h2 id="setup-worker-node">Setup worker node</h2>
<p>First select <code>Create VM</code> </p>
<p>Depending on the usage the parameters may vary. But following is a node which is
part of the longhorn storage and has an interface to the internet.</p>
part of the longhorn storage and has an interface to the internet. The list
defines mostly non default values. If nothing else specified take the defaults.</p>
<ul>
<li>General:</li>
<li>General:<ul>
<li>Node: pve1-x</li>
<li>Name: k3sworker</li>
<li>Start at boot: true</li>
<li>OS:</li>
</ul>
</li>
<li>OS:<ul>
<li>Storage: local</li>
<li>ISO Image: ubuntu server installer</li>
<li>System:</li>
</ul>
</li>
<li>System:<ul>
<li>Qemu Agent: true</li>
<li>Disks:</li>
</ul>
</li>
<li>Disks:<ul>
<li>disk 1:<ul>
<li>Storage: virtual</li>
<li>Size: 64 GB</li>
<li>Storage: local</li>
<li>Size: 128 GB</li>
<li>Backup: yes</li>
<li>Skip replication: no</li>
<li>Discard: yes</li>
<li>SSD emulation: yes</li>
</ul>
</li>
<li>disk 2:<ul>
<li>disk 2: (for longhorn but passthrough is preferred)<ul>
<li>Storage: virtual</li>
<li>Size: &gt;512 GB</li>
<li>Backup: no</li>
Expand All @@ -1368,13 +1377,20 @@ <h2 id="setup-worker-node">Setup worker node</h2>
<li>SSD emulation: yes</li>
</ul>
</li>
<li>CPU:</li>
</ul>
</li>
<li>CPU:<ul>
<li>Sockets: 1</li>
<li>Cores: 2-12</li>
<li>Memory:</li>
<li>min 32 GB</li>
<li>max 64 GB</li>
<li>Network:</li>
</ul>
</li>
<li>Memory:<ul>
<li>min 16 GB (16384 MiB) </li>
<li>opt 32 GB (32768 MiB)</li>
<li>max 64 GB (65536 MiB) (You can't use all memory, keep 2GB)</li>
</ul>
</li>
<li>Network:<ul>
<li>net0<ul>
<li>Bridge: vmbr0</li>
</ul>
Expand All @@ -1385,11 +1401,10 @@ <h2 id="setup-worker-node">Setup worker node</h2>
</ul>
</li>
</ul>
</li>
</ul>
<p>Don't forget to define the generated mac address in DHCP</p>
<h3 id="install-qemu-agent">Install Qemu Agent</h3>
<div class="highlight"><pre><span></span><code><a id="__codelineno-8-1" name="__codelineno-8-1" href="#__codelineno-8-1"></a>ssh<span class="w"> </span>devops@k3sworker&lt;xy&gt;
<a id="__codelineno-8-2" name="__codelineno-8-2" href="#__codelineno-8-2"></a>sudo<span class="w"> </span>apt-get<span class="w"> </span>install<span class="w"> </span>qemu-guest-agent
</code></pre></div>
<p>You might have to adjust the boot order for CD to be first.</p>
<h3 id="disk-passthrough">Disk passthrough</h3>
<p>The disks for longhorn, especially the slower ones like HDD, should be attached to the VM directly.
Unfortunately there is no way to do this in the Web UI at the moment but proxmox provides quite a
Expand All @@ -1398,7 +1413,10 @@ <h3 id="disk-passthrough">Disk passthrough</h3>
<ol>
<li>Find right disk</li>
</ol>
<div class="highlight"><pre><span></span><code><a id="__codelineno-9-1" name="__codelineno-9-1" href="#__codelineno-9-1"></a>find<span class="w"> </span>/dev/disk/by-id/<span class="w"> </span>-type<span class="w"> </span>l<span class="p">|</span>xargs<span class="w"> </span>-I<span class="o">{}</span><span class="w"> </span>ls<span class="w"> </span>-l<span class="w"> </span><span class="o">{}</span><span class="p">|</span>grep<span class="w"> </span>-v<span class="w"> </span>-E<span class="w"> </span><span class="s1">&#39;[0-9]$&#39;</span><span class="w"> </span><span class="p">|</span>sort<span class="w"> </span>-k11<span class="p">|</span>cut<span class="w"> </span>-d<span class="s1">&#39; &#39;</span><span class="w"> </span>-f9,10,11,12
<div class="highlight"><pre><span></span><code><a id="__codelineno-8-1" name="__codelineno-8-1" href="#__codelineno-8-1"></a>find<span class="w"> </span>/dev/disk/by-id/<span class="w"> </span>-type<span class="w"> </span>l<span class="p">|</span>xargs<span class="w"> </span>-I<span class="o">{}</span><span class="w"> </span>ls<span class="w"> </span>-l<span class="w"> </span><span class="o">{}</span><span class="p">|</span>grep<span class="w"> </span>-v<span class="w"> </span>-E<span class="w"> </span><span class="s1">&#39;[0-9]$&#39;</span><span class="w"> </span><span class="p">|</span>sort<span class="w"> </span>-k11<span class="p">|</span>cut<span class="w"> </span>-d<span class="s1">&#39; &#39;</span><span class="w"> </span>-f9,10,11,12
</code></pre></div>
<p>or</p>
<div class="highlight"><pre><span></span><code><a id="__codelineno-9-1" name="__codelineno-9-1" href="#__codelineno-9-1"></a>lsblk<span class="w"> </span><span class="p">|</span>awk<span class="w"> </span><span class="s1">&#39;NR==1{print $0&quot; DEVICE-ID(S)&quot;}NR&gt;1{dev=$1;printf $0&quot; &quot;;system(&quot;find /dev/disk/by-id -lname \&quot;*&quot;dev&quot;\&quot; -printf \&quot; %p\&quot;&quot;);print &quot;&quot;;}&#39;</span><span class="p">|</span>grep<span class="w"> </span>-v<span class="w"> </span>-E<span class="w"> </span><span class="s1">&#39;part|lvm&#39;</span>
</code></pre></div>
<ol>
<li>Add drive as new virtual drive</li>
Expand All @@ -1415,7 +1433,10 @@ <h2 id="tips-trick">Tips &amp; Trick</h2>
<h3 id="resize-disk">Resize disk</h3>
<div class="highlight"><pre><span></span><code><a id="__codelineno-12-1" name="__codelineno-12-1" href="#__codelineno-12-1"></a>sudo<span class="w"> </span>lvresize<span class="w"> </span>-l<span class="w"> </span>+100%FREE<span class="w"> </span>--resizefs<span class="w"> </span>/dev/mapper/ubuntu--vg-ubuntu--lv
</code></pre></div>
<p>6510C08A-590C-477C-A72E-D3E25B972D5E</p>
<h3 id="install-qemu-agent">Install Qemu Agent</h3>
<div class="highlight"><pre><span></span><code><a id="__codelineno-13-1" name="__codelineno-13-1" href="#__codelineno-13-1"></a>ssh<span class="w"> </span>devops@k3sworker&lt;xy&gt;
<a id="__codelineno-13-2" name="__codelineno-13-2" href="#__codelineno-13-2"></a>sudo<span class="w"> </span>apt-get<span class="w"> </span>install<span class="w"> </span>qemu-guest-agent
</code></pre></div>
<h2 id="references">References</h2>
<ul>
<li>[CSI]: Container Storage Interface</li>
Expand Down
50 changes: 25 additions & 25 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,102 +2,102 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://mikevader.github.io/k3s-cluster-infra-apps/</loc>
<lastmod>2024-12-22</lastmod>
<lastmod>2024-12-23</lastmod>
</url>
<url>
<loc>https://mikevader.github.io/k3s-cluster-infra-apps/adguard/</loc>
<lastmod>2024-12-22</lastmod>
<lastmod>2024-12-23</lastmod>
</url>
<url>
<loc>https://mikevader.github.io/k3s-cluster-infra-apps/ansible/</loc>
<lastmod>2024-12-22</lastmod>
<lastmod>2024-12-23</lastmod>
</url>
<url>
<loc>https://mikevader.github.io/k3s-cluster-infra-apps/argocd/</loc>
<lastmod>2024-12-22</lastmod>
<lastmod>2024-12-23</lastmod>
</url>
<url>
<loc>https://mikevader.github.io/k3s-cluster-infra-apps/authentik/</loc>
<lastmod>2024-12-22</lastmod>
<lastmod>2024-12-23</lastmod>
</url>
<url>
<loc>https://mikevader.github.io/k3s-cluster-infra-apps/bare-metal/</loc>
<lastmod>2024-12-22</lastmod>
<lastmod>2024-12-23</lastmod>
</url>
<url>
<loc>https://mikevader.github.io/k3s-cluster-infra-apps/cert-manager/</loc>
<lastmod>2024-12-22</lastmod>
<lastmod>2024-12-23</lastmod>
</url>
<url>
<loc>https://mikevader.github.io/k3s-cluster-infra-apps/custom-images/</loc>
<lastmod>2024-12-22</lastmod>
<lastmod>2024-12-23</lastmod>
</url>
<url>
<loc>https://mikevader.github.io/k3s-cluster-infra-apps/external-secrets/</loc>
<lastmod>2024-12-22</lastmod>
<lastmod>2024-12-23</lastmod>
</url>
<url>
<loc>https://mikevader.github.io/k3s-cluster-infra-apps/framsburg-services/</loc>
<lastmod>2024-12-22</lastmod>
<lastmod>2024-12-23</lastmod>
</url>
<url>
<loc>https://mikevader.github.io/k3s-cluster-infra-apps/longhorn/</loc>
<lastmod>2024-12-22</lastmod>
<lastmod>2024-12-23</lastmod>
</url>
<url>
<loc>https://mikevader.github.io/k3s-cluster-infra-apps/metallb/</loc>
<lastmod>2024-12-22</lastmod>
<lastmod>2024-12-23</lastmod>
</url>
<url>
<loc>https://mikevader.github.io/k3s-cluster-infra-apps/monitoring/</loc>
<lastmod>2024-12-22</lastmod>
<lastmod>2024-12-23</lastmod>
</url>
<url>
<loc>https://mikevader.github.io/k3s-cluster-infra-apps/network/</loc>
<lastmod>2024-12-22</lastmod>
<lastmod>2024-12-23</lastmod>
</url>
<url>
<loc>https://mikevader.github.io/k3s-cluster-infra-apps/plex/</loc>
<lastmod>2024-12-22</lastmod>
<lastmod>2024-12-23</lastmod>
</url>
<url>
<loc>https://mikevader.github.io/k3s-cluster-infra-apps/postgres-cnpg/</loc>
<lastmod>2024-12-22</lastmod>
<lastmod>2024-12-23</lastmod>
</url>
<url>
<loc>https://mikevader.github.io/k3s-cluster-infra-apps/postgres-zalando/</loc>
<lastmod>2024-12-22</lastmod>
<lastmod>2024-12-23</lastmod>
</url>
<url>
<loc>https://mikevader.github.io/k3s-cluster-infra-apps/proxmox-setup/</loc>
<lastmod>2024-12-22</lastmod>
<lastmod>2024-12-23</lastmod>
</url>
<url>
<loc>https://mikevader.github.io/k3s-cluster-infra-apps/rails-app/</loc>
<lastmod>2024-12-22</lastmod>
<lastmod>2024-12-23</lastmod>
</url>
<url>
<loc>https://mikevader.github.io/k3s-cluster-infra-apps/secrets-csi/</loc>
<lastmod>2024-12-22</lastmod>
<lastmod>2024-12-23</lastmod>
</url>
<url>
<loc>https://mikevader.github.io/k3s-cluster-infra-apps/securitycam/</loc>
<lastmod>2024-12-22</lastmod>
<lastmod>2024-12-23</lastmod>
</url>
<url>
<loc>https://mikevader.github.io/k3s-cluster-infra-apps/traefik/</loc>
<lastmod>2024-12-22</lastmod>
<lastmod>2024-12-23</lastmod>
</url>
<url>
<loc>https://mikevader.github.io/k3s-cluster-infra-apps/uptime-kuma/</loc>
<lastmod>2024-12-22</lastmod>
<lastmod>2024-12-23</lastmod>
</url>
<url>
<loc>https://mikevader.github.io/k3s-cluster-infra-apps/vault/</loc>
<lastmod>2024-12-22</lastmod>
<lastmod>2024-12-23</lastmod>
</url>
<url>
<loc>https://mikevader.github.io/k3s-cluster-infra-apps/vpn/</loc>
<lastmod>2024-12-22</lastmod>
<lastmod>2024-12-23</lastmod>
</url>
</urlset>
Binary file modified sitemap.xml.gz
Binary file not shown.

0 comments on commit ef91993

Please sign in to comment.