<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.campisano.org/wiki/Incus/history?feed=atom</id>
	<title>Incus - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.campisano.org/wiki/Incus/history?feed=atom"/>
	<link rel="alternate" type="text/html" href="https://www.campisano.org/wiki/Incus/history"/>
	<updated>2026-06-02T02:23:23Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://www.campisano.org/mediawiki/index.php?title=Incus&amp;diff=2867&amp;oldid=prev</id>
		<title>T1t0 at 22:37, 5 October 2025</title>
		<link rel="alternate" type="text/html" href="https://www.campisano.org/mediawiki/index.php?title=Incus&amp;diff=2867&amp;oldid=prev"/>
		<updated>2025-10-05T22:37:46Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:37, 5 October 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l141&quot;&gt;Line 141:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 141:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;kubectl get all -A&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;kubectl get all -A&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:linux]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:debian]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:container]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:incus]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:lxc]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:kubernetes]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>T1t0</name></author>
	</entry>
	<entry>
		<id>https://www.campisano.org/mediawiki/index.php?title=Incus&amp;diff=2865&amp;oldid=prev</id>
		<title>T1t0: Created page with &quot;= Install = &lt;pre&gt; apt-get install qemu-kvm incus # qemu-kvm required for incus on ubunto at startup, it requires /dev/kvm, on debian you can install just incus-base to have just containers and no vm  systemctl enable incus.socket systemctl enable incus.service  systemctl start incus.socket systemctl start incus.service &lt;/pre&gt;  = Configure = &lt;pre&gt; mkdir -p /var/local/incus-storage/ incus admin init no  # yes in the future, configure the loadbalancer and dns no  # we will...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.campisano.org/mediawiki/index.php?title=Incus&amp;diff=2865&amp;oldid=prev"/>
		<updated>2025-10-05T22:36:40Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= Install = &amp;lt;pre&amp;gt; apt-get install qemu-kvm incus # qemu-kvm required for incus on ubunto at startup, it requires /dev/kvm, on debian you can install just incus-base to have just containers and no vm  systemctl enable incus.socket systemctl enable incus.service  systemctl start incus.socket systemctl start incus.service &amp;lt;/pre&amp;gt;  = Configure = &amp;lt;pre&amp;gt; mkdir -p /var/local/incus-storage/ incus admin init no  # yes in the future, configure the loadbalancer and dns no  # we will...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Install =&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install qemu-kvm incus # qemu-kvm required for incus on ubunto at startup, it requires /dev/kvm, on debian you can install just incus-base to have just containers and no vm&lt;br /&gt;
&lt;br /&gt;
systemctl enable incus.socket&lt;br /&gt;
systemctl enable incus.service&lt;br /&gt;
&lt;br /&gt;
systemctl start incus.socket&lt;br /&gt;
systemctl start incus.service&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Configure =&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir -p /var/local/incus-storage/&lt;br /&gt;
incus admin init&lt;br /&gt;
no  # yes in the future, configure the loadbalancer and dns&lt;br /&gt;
no  # we will configure it manually&lt;br /&gt;
yes&lt;br /&gt;
incusbr0&lt;br /&gt;
10.10.10.1/24   # bigger range if needed&lt;br /&gt;
yes&lt;br /&gt;
none&lt;br /&gt;
no&lt;br /&gt;
yes&lt;br /&gt;
yes&lt;br /&gt;
&lt;br /&gt;
config: {}&lt;br /&gt;
networks:&lt;br /&gt;
- config:&lt;br /&gt;
    ipv4.address: 10.10.10.1/24&lt;br /&gt;
    ipv4.nat: &amp;quot;true&amp;quot;&lt;br /&gt;
    ipv6.address: none&lt;br /&gt;
  description: &amp;quot;&amp;quot;&lt;br /&gt;
  name: incusbr0&lt;br /&gt;
  type: &amp;quot;&amp;quot;&lt;br /&gt;
  project: default&lt;br /&gt;
storage_pools: []&lt;br /&gt;
profiles:&lt;br /&gt;
- config: {}&lt;br /&gt;
  description: &amp;quot;&amp;quot;&lt;br /&gt;
  devices:&lt;br /&gt;
    eth0:&lt;br /&gt;
      name: eth0&lt;br /&gt;
      network: incusbr0&lt;br /&gt;
      type: nic&lt;br /&gt;
  name: default&lt;br /&gt;
projects: []&lt;br /&gt;
cluster: null&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Kubernetes under Incus =&lt;br /&gt;
&lt;br /&gt;
* see https://discuss.linuxcontainers.org/t/not-able-to-run-kubernetes-inside-docker-inside-lxd/4643/2&lt;br /&gt;
* and https://ubuntu.com/kubernetes/charmed-k8s/docs/install-local&lt;br /&gt;
* and https://github.com/schu/kubedee/blob/master/lib.bash#L1159&lt;br /&gt;
* and https://radar231.com/posts/k3s-nodes-in-lxd-containers/&lt;br /&gt;
* and https://discuss.kubernetes.io/t/microk8s-in-lxd/11520/2&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
incus storage create default dir source=/var/local/incus-storage/&lt;br /&gt;
incus profile device add default &amp;quot;root&amp;quot; disk pool=default path=/&lt;br /&gt;
incus profile device add default &amp;quot;host_kmsg&amp;quot; unix-char source=&amp;quot;/dev/kmsg&amp;quot; path=&amp;quot;/dev/kmsg&amp;quot;                      # kubeadm requires kmsg device&lt;br /&gt;
incus profile device add default &amp;quot;host_boot&amp;quot; disk source=/boot path=/boot readonly=true                         # kubeadm requires /boot kernel config file&lt;br /&gt;
incus profile device add default &amp;quot;host_modules&amp;quot; disk source=/lib/modules path=/host/lib/modules readonly=true   # kubeadm requires /lib/modules kernel modules &lt;br /&gt;
incus profile set default &amp;quot;linux.kernel_modules&amp;quot; ip_tables,netlink_diag,nf_nat,overlay&lt;br /&gt;
incus profile set default &amp;quot;security.privileged&amp;quot; true&lt;br /&gt;
incus profile set default &amp;quot;security.nesting&amp;quot; true&lt;br /&gt;
cat &amp;lt;&amp;lt; EOF | incus profile set default &amp;quot;raw.lxc&amp;quot; -&lt;br /&gt;
lxc.apparmor.profile=unconfined&lt;br /&gt;
lxc.mount.auto=proc:rw sys:rw cgroup:rw&lt;br /&gt;
lxc.cap.drop=&lt;br /&gt;
lxc.cgroup.devices.allow=a&lt;br /&gt;
EOF&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* now, the current config shown by &amp;#039;&amp;#039;&amp;#039;incus profile show default&amp;#039;&amp;#039;&amp;#039; should be:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
config:&lt;br /&gt;
  linux.kernel_modules: ip_tables,netlink_diag,nf_nat,overlay&lt;br /&gt;
  raw.lxc: |&lt;br /&gt;
    lxc.apparmor.profile=unconfined&lt;br /&gt;
    lxc.mount.auto=proc:rw sys:rw cgroup:rw&lt;br /&gt;
    lxc.cap.drop=&lt;br /&gt;
    lxc.cgroup.devices.allow=a&lt;br /&gt;
  security.nesting: &amp;quot;true&amp;quot;&lt;br /&gt;
  security.privileged: &amp;quot;true&amp;quot;&lt;br /&gt;
description: Default Incus profile&lt;br /&gt;
devices:&lt;br /&gt;
  eth0:&lt;br /&gt;
    name: eth0&lt;br /&gt;
    network: incusbr0&lt;br /&gt;
    type: nic&lt;br /&gt;
  host_boot:&lt;br /&gt;
    path: /boot&lt;br /&gt;
    readonly: &amp;quot;true&amp;quot;&lt;br /&gt;
    source: /boot&lt;br /&gt;
    type: disk&lt;br /&gt;
  host_kmsg:&lt;br /&gt;
    path: /dev/kmsg&lt;br /&gt;
    source: /dev/kmsg&lt;br /&gt;
    type: unix-char&lt;br /&gt;
  host_modules:&lt;br /&gt;
    path: /host/lib/modules&lt;br /&gt;
    readonly: &amp;quot;true&amp;quot;&lt;br /&gt;
    source: /lib/modules&lt;br /&gt;
    type: disk&lt;br /&gt;
  root:&lt;br /&gt;
    path: /&lt;br /&gt;
    pool: default&lt;br /&gt;
    type: disk&lt;br /&gt;
name: default&lt;br /&gt;
used_by: []&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, follow [[Kubernetes]] Install section&lt;br /&gt;
&lt;br /&gt;
Then, to test a cluster:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
## temporary not HA kubeadm init --ignore-preflight-errors=NumCPU,Mem --cri-socket unix:/run/containerd/containerd.sock --pod-network-cidr=192.168.0.0/16 --control-plane-endpoint &amp;quot;10.1.100.233:6443&amp;quot; --upload-certs&lt;br /&gt;
&lt;br /&gt;
kubeadm init --ignore-preflight-errors=NumCPU,Mem --cri-socket unix:/run/containerd/containerd.sock --pod-network-cidr=192.168.0.0/16&lt;br /&gt;
export KUBECONFIG=/etc/kubernetes/admin.conf&lt;br /&gt;
kubectl get all -A&lt;br /&gt;
&lt;br /&gt;
## avoid error on write on /proc by kube-proxy (change the setting and remove the proxy pod to restart it)&lt;br /&gt;
kubectl -n kube-system get configmap kube-proxy -o yaml   | sed &amp;#039;s/maxPerCore: null/maxPerCore: 0/&amp;#039;   | sed &amp;#039;s/min: null/min: 0/&amp;#039;   | kubectl apply -f -&lt;br /&gt;
kubectl -n kube-system delete pods -l k8s-app=kube-proxy&lt;br /&gt;
kubectl get all -A&lt;br /&gt;
&lt;br /&gt;
# add network&lt;br /&gt;
VERSION=&amp;quot;0.27.0&amp;quot;&lt;br /&gt;
curl -fsSL &amp;quot;https://github.com/flannel-io/flannel/releases/download/v${VERSION}/kube-flannel.yml&amp;quot; | sed &amp;quot;s:10.244.0.0/16:192.168.0.0/16:g&amp;quot; | kubectl create -f -&lt;br /&gt;
# wait ready state&lt;br /&gt;
kubectl get nodes&lt;br /&gt;
&lt;br /&gt;
# untaint the manager nodes to be used also as worker node&lt;br /&gt;
kubectl taint nodes --all node-role.kubernetes.io/control-plane-&lt;br /&gt;
&lt;br /&gt;
export KUBECONFIG=/etc/kubernetes/admin.conf&lt;br /&gt;
kubectl get all -A&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>T1t0</name></author>
	</entry>
</feed>