Skip to content

Commit a25d0ab

Browse files
authored
feat(talos)!: update to Talos 1.14 and topf 0.6.0 (#2372)
Signed-off-by: Devin Buhl <devin@buhl.casa>
1 parent 8ba479c commit a25d0ab

17 files changed

Lines changed: 184 additions & 138 deletions

.github/workflows/template-e2e-cluster.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363

6464
- name: Boot maintenance-mode nodes
6565
id: cluster
66-
uses: home-operations/talosctl-cluster-action@42a2d1c476f87245e2d1882ec825fb31368b9686 # v0.1.6
66+
uses: home-operations/talosctl-cluster-action@fb6a31bf5de43218acc80d2e23958a16eee7380c # v0.2.2
6767
with:
6868
config: ./.github/template-tests/e2e/talos-cluster.yaml
6969
cache: true

.mise/config.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ TALOSCONFIG = "{{config_root}}/talos/talosconfig"
66
JUST_UNSTABLE = "1"
77

88
[tools]
9-
uv = "0.12.6" # required:template
9+
uv = "0.12.6" # required:template
1010
age = "1.3.1"
1111
cloudflared = "2026.8.2"
1212
flux2 = "2.9.4"
@@ -22,10 +22,10 @@ kustomize = "5.8.1"
2222
lefthook = "2.1.11"
2323
node = "24.20.0"
2424
oxfmt = "0.65.0"
25-
sd = "1.1.0" # required:template
25+
sd = "1.1.0" # required:template
2626
sops = "3.13.3"
27-
talosctl = "1.13.9"
28-
"github:postfinance/topf" = "v0.5.0"
27+
talosctl = "1.14.0"
28+
"github:postfinance/topf" = "v0.6.0"
2929
yq = "4.53.6"
3030
zizmor = "1.29.0"
3131

.mise/mise.lock

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.renovaterc.json5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
{
2525
description: "Talos Group",
2626
groupName: "talos",
27-
matchPackageNames: ["ghcr.io/siderolabs/installer", "siderolabs/talos"],
27+
matchPackageNames: ["siderolabs/talos"],
2828
group: {
2929
commitMessageTopic: "{{{groupName}}} group",
3030
},
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
machine:
2-
install:
1+
apiVersion: v1alpha1
2+
kind: UnattendedInstallConfig
3+
provisioning:
4+
diskSelector:
35
{{- if .Node.Data.installDisk }}
4-
disk: "{{ .Node.Data.installDisk }}"
6+
match: disk.dev_path == "{{ .Node.Data.installDisk }}" || "{{ .Node.Data.installDisk }}" in disk.symlinks
57
{{- else }}
6-
diskSelector:
7-
serial: "{{ .Node.Data.installDiskSerial }}"
8+
match: disk.serial == "{{ .Node.Data.installDiskSerial }}"
89
{{- end }}
Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
# Disable built-in CNI to use Cilium
2-
cluster:
3-
network:
4-
cni:
5-
name: none
6-
podSubnets: ["#{ kubernetes.pod_cidr }#"]
7-
serviceSubnets: ["#{ kubernetes.svc_cidr }#"]
81
machine:
92
certSANs:
103
#% for item in cert_sans %#
114
- "#{ item }#"
125
#% endfor %#
6+
---
7+
apiVersion: v1alpha1
8+
kind: KubeNetworkConfig
9+
podSubnets: ["#{ kubernetes.pod_cidr }#"]
10+
serviceSubnets: ["#{ kubernetes.svc_cidr }#"]
Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
machine:
2-
network:
3-
disableSearchDomain: true
4-
nameservers:
5-
#% for item in network.dns_servers %#
6-
- #{ item }#
7-
#% endfor %#
1+
apiVersion: v1alpha1
2+
kind: ResolverConfig
3+
nameservers:
4+
#% for item in network.dns_servers %#
5+
- address: #{ item }#
6+
#% endfor %#
7+
searchDomains:
8+
disableDefault: true
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
machine:
2-
time:
3-
disabled: false
4-
servers:
5-
#% for item in network.ntp_servers %#
6-
- #{ item }#
7-
#% endfor %#
1+
apiVersion: v1alpha1
2+
kind: TimeSyncConfig
3+
ntp:
4+
servers:
5+
#% for item in network.ntp_servers %#
6+
- #{ item }#
7+
#% endfor %#
Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
1-
machine:
2-
kubelet:
3-
extraConfig:
4-
crashLoopBackOff:
5-
maxContainerRestartPeriod: 60s
6-
imageMaximumGCAge: 168h
7-
maxParallelImagePulls: 3
8-
serializeImagePulls: false
9-
shutdownGracePeriod: 90s
10-
shutdownGracePeriodCriticalPods: 60s
11-
nodeIP:
12-
validSubnets:
13-
- #{ network.node_cidr }#
1+
apiVersion: v1alpha1
2+
kind: KubeletConfig
3+
config:
4+
crashLoopBackOff:
5+
maxContainerRestartPeriod: 60s
6+
imageMaximumGCAge: 168h
7+
maxParallelImagePulls: 3
8+
serializeImagePulls: false
9+
shutdownGracePeriod: 90s
10+
shutdownGracePeriodCriticalPods: 60s
11+
---
12+
apiVersion: v1alpha1
13+
kind: KubeNodeConfig
14+
nodeIP:
15+
validSubnets:
16+
- #{ network.node_cidr }#
Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
machine:
2-
sysctls:
3-
fs.inotify.max_user_watches: "1048576" # Watchdog
4-
fs.inotify.max_user_instances: "8192" # Watchdog
5-
net.core.rmem_max: "7500000" # Cloudflared | QUIC
6-
net.core.wmem_max: "7500000" # Cloudflared | QUIC
7-
net.ipv4.neigh.default.gc_thresh1: "4096" # Prevent ARP cache overflows
8-
net.ipv4.neigh.default.gc_thresh2: "8192" # Prevent ARP cache overflows
9-
net.ipv4.neigh.default.gc_thresh3: "16384" # Prevent ARP cache overflows
10-
net.ipv4.tcp_slow_start_after_idle: "0" # Preserve congestion window after idle
11-
user.max_user_namespaces: "11255" # User Namespaces
1+
apiVersion: v1alpha1
2+
kind: SysctlConfig
3+
params:
4+
fs.inotify.max_user_watches: "1048576" # Watchdog
5+
fs.inotify.max_user_instances: "8192" # Watchdog
6+
net.core.rmem_max: "7500000" # Cloudflared | QUIC
7+
net.core.wmem_max: "7500000" # Cloudflared | QUIC
8+
net.ipv4.neigh.default.gc_thresh1: "4096" # Prevent ARP cache overflows
9+
net.ipv4.neigh.default.gc_thresh2: "8192" # Prevent ARP cache overflows
10+
net.ipv4.neigh.default.gc_thresh3: "16384" # Prevent ARP cache overflows
11+
net.ipv4.tcp_slow_start_after_idle: "0" # Preserve congestion window after idle
12+
user.max_user_namespaces: "11255" # User Namespaces

0 commit comments

Comments
 (0)