4814 Commits

Author SHA1 Message Date
Andrey Smirnov
61a1c946bf
feat: bundle (some) CNI plugins with Talos core
Fixes https://github.com/siderolabs/extensions/issues/448

Bundle some CNI standard plugins plus Flannel CNI plugin (as Flannel is
the default CNI in Talos) in the Talos `initramfs`.

With this change, no plugin install is required, so the `install-cni`
step is dropped from the Flannel default manifest.

The bundled plugins:

```
$ talosctl -n 172.20.0.2 ls -lH /opt/cni/bin/
NODE         MODE         UID   GID   SIZE(B)   LASTMOD       NAME
172.20.0.2   drwxr-xr-x   0     0     109 B     7 hours ago   .
172.20.0.2   -rwxr-xr-x   0     0     3.2 MB    7 hours ago   bridge
172.20.0.2   -rwxr-xr-x   0     0     3.3 MB    7 hours ago   firewall
172.20.0.2   -rwxr-xr-x   0     0     2.4 MB    7 hours ago   flannel
172.20.0.2   -rwxr-xr-x   0     0     2.4 MB    7 hours ago   host-local
172.20.0.2   -rwxr-xr-x   0     0     2.4 MB    7 hours ago   loopback
172.20.0.2   -rwxr-xr-x   0     0     2.8 MB    7 hours ago   portmap
```

The `initramfs` for amd64 grows 67 -> 73 MiB with this change.

The path `/opt/cni/bin` is still an overlay mount, so extra plugins can
be dropped to this directory (no change here).

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-08-14 14:33:18 +04:00
Noel Georgi
091da163b7
chore: support arm64 kexec from zboot kernel images
When using kernel images that are using ZBOOT for arm64 we need to
extract the vmlinux from the vmlinuz EFI file and pass it on the the
kexec call.

Ref: https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/tree/kexec/kexec-pe-zboot.c

Fixes: #8907

Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-08-13 20:56:00 +05:30
Andrey Smirnov
73511c1ef3
chore: fix release notes
The github.com/coredns/coredns dropped the tag v1.11.2 for the previous
version we were using, so `release-tool` can't generate the release
notes.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-08-13 14:47:38 +04:00
Marcus Förster
2bf924c7be
feat: update ISO VolumeID with Talos version
Put Talos version in the ISO volume ID and volumeset ID.

Volume ID is restricted on valid characters, while volumeset ID is not
restricted (Unicode).

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-08-13 14:24:25 +04:00
Andrey Smirnov
9a33dce105
docs: fix the VMWare docs
Updates the #9131

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-08-13 13:51:54 +04:00
Dean
12562c2d5e
docs: fix talos version in vmware.sh
Update vmware.sh, use `talos-vmtoolsd` as a system extension.

Signed-off-by: Dean <22192242+saintdle@users.noreply.github.com>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-08-13 12:53:22 +04:00
Serge Logvinov
ee67da14c5
feat: scaleway routed ip
Support new network feature "routed ip".
IPv4 now attached to the VM directly.

Signed-off-by: Serge Logvinov <serge.logvinov@sinextra.dev>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-08-12 22:42:34 +04:00
Andrey Smirnov
eba5dafb9e
fix: add dns-resolve-cache to the support bundle
See https://github.com/siderolabs/go-talos-support/pull/4

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-08-12 22:06:16 +04:00
doctor_ew
d4f8100bd4
docs: fix default openebs folder
Update the directory.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-08-12 21:40:25 +04:00
George Gaál
60e163d545
docs: fix typo in doc
There was incorrect word kuberenetes breaking the search through docs

Signed-off-by: George Gaál <gb12335@gmail.com>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-08-12 20:38:20 +04:00
Noel Georgi
98d9abdd0e
chore(ci): fix cilium ci tests
Cilium helm values have changed from string to boolean.

Found in https://github.com/siderolabs/talos/actions/runs/10328653708/job/28595449398

Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-08-12 20:06:11 +05:30
Dmitriy Matrenichev
beb9602e35
chore: bump github.com/docker/docker to v27.1.1+incompatible
Security fix (we are not affected).

Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
2024-08-12 10:47:18 +03:00
Justin Garrison
0698a4921b
docs: aws getting started re-write
Updated with autoscaling group for workers, better copy/paste ability, and not using default VPC

Signed-off-by: Justin Garrison <justin.garrison@siderolabs.com>
2024-08-09 10:22:02 -07:00
Noel Georgi
4d7d7a5895
chore(ci): update nvidia integration tests
Update nvidia integration tests to reflect new support matrix.

Part of: #9086.

Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-08-09 17:45:12 +05:30
Andrey Smirnov
60e901c1dc
chore: document slim kubelet image
See https://github.com/siderolabs/kubelet/pull/84

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-08-09 14:35:43 +04:00
Dmitriy Matrenichev
622d66a98f
chore: bump deps
Bump stuff

Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
2024-08-09 11:59:03 +03:00
Noel Georgi
f9f5e0ef55
chore: fix k8s tests
The check for k8s suite added in #9085 causes issues with applying k8s resources
which are global like `Namespace` or `StorageClass`.

Instead of failing just log.

Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-08-09 13:28:02 +05:30
Noel Georgi
2ac8d2274f
chore: support unsupported flag for mkfs
Support `unsupported` flag for mkfs, so that `STATE` partition with size
less than 300M can be created by `mkfs.xfs`.

This allows to bring in newer `xfsprogs` that can repair corrupted FS
better.

Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-08-08 20:21:02 +05:30
Noel Georgi
9b9159d1e0
docs: update support matrix for nvidia drivers
Update support matrix for NVIDIA extensions support.

Part of: #9086.

Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-08-07 19:55:44 +05:30
Utku Ozdemir
9d34158500
fix: fix graph diffs in dashboard when node aliases are used
When `talosctl dashboard` is used with node "aliases" (e.g., node names or machine IDs in Omni) passed via `-n` flag, the graphs in the monitor tab were not rendered correctly: The matching of the old and current data were done incorrectly.

Fix this by pushing node alias->IP resolution down to the (api & log) data sources of the dashboard, by passing a resolver to them.

Signed-off-by: Utku Ozdemir <utku.ozdemir@siderolabs.com>
2024-08-07 14:54:32 +02:00
Andrey Smirnov
9a126d70e0
chore: generate deepcopy for SecureBootAssets type
This is required in Image Factory to manipulate properly the imager
profile when enabling an option for well-known UEFI certificates.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-08-07 16:18:28 +04:00
Steven Fackler
dff56d8246
chore: remove arch-specific etcd image tag
The main etcd tag is now multiarch so the special case isn't needed.

Signed-off-by: Steven Fackler <sfackler@gmail.com>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-08-06 20:26:24 +04:00
Andrey Smirnov
c9f1dece5d
feat: update Kubernetes to 1.31.0-rc.1
See https://github.com/kubernetes/kubernetes/releases/tag/v1.31.0-rc.1

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-08-06 19:20:13 +04:00
Daniel Höxtermann
49831c56fb
docs: replace removed Cilium/kubeProxyReplacement value
`disabled` was removed in https://github.com/cilium/cilium/pull/31286

Signed-off-by: Daniel Höxtermann <daniel@hxtm.dev>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-08-05 18:51:19 +04:00
Roman Ivanov
33a3163698
docs: update aws.md for loop
Simplify it a bit.

Signed-off-by: Roman Ivanov <me@roivanov.com>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-08-05 18:10:38 +04:00
Andrey Smirnov
e02bd20933
feat: update Kubernetes to 1.31.0-rc.0
Also bump PKGS to the latest.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-08-05 17:18:02 +04:00
Noel Georgi
64914b086c
chore: add test for crun extension
Add a test to verify the `crun` runtimeclass container-runtime extension
works as expected.

Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-08-02 20:15:01 +05:30
Andrey Smirnov
7a1c62b8bc
feat: publish installed extensions as node labels/annotations
Extensions are posted the following way:

`extensions.talos.dev/<name>=<version>`

The name should be valid as a label (annotation) key.

If the value is valid as a label value, use labels, otherwise use
annotations.

Also implements node annotations in the machine config as a side-effect.

Fixes #9089

Fixes #8971

See #9070

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-08-01 17:32:09 +04:00
Andrey Smirnov
3f2058aba2
fix: update containerd configuration and settings
Provide `XDG_RUNTIME_DIR` environment variable, this specifically fixes
the `kubectl exec` action when `/tmp` is filled up.

Update containerd configuration to version 3 and fix it up.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-07-31 19:15:19 +04:00
doctor_ew
81bd20f5ad
docs: remove deprecated jiva from openebs instructions
Update OpenEBS docs.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
Signed-off-by: doctor_ew <doctor_ew@protonmail.com>
2024-07-31 15:58:51 +04:00
Saravanan G
480ffb88ae
docs: fix the amd64 PXE boot script URL
Misprint.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-07-31 15:19:23 +04:00
Justin Garrison
20fe34dbde
docs: fix docker getting started typo
Some checks failed
default / push (push) Has been cancelled
default / tag (push) Has been cancelled
default / e2e-docker-short (push) Has been cancelled
default / e2e-iso (push) Has been cancelled
default / e2e-qemu-short (push) Has been cancelled
default / integration-aws (push) Has been cancelled
default / integration-aws-nvidia-nonfree (push) Has been cancelled
default / integration-aws-nvidia-oss (push) Has been cancelled
default / integration-azure (push) Has been cancelled
default / integration-cilium (push) Has been cancelled
default / integration-cloud-images (push) Has been cancelled
default / integration-conformance (push) Has been cancelled
default / integration-equinix-metal (push) Has been cancelled
default / integration-extensions (push) Has been cancelled
default / integration-image-factory (push) Has been cancelled
default / integration-images (push) Has been cancelled
default / integration-misc-0 (push) Has been cancelled
default / integration-misc-1 (push) Has been cancelled
default / integration-misc-2 (push) Has been cancelled
default / integration-misc-3 (push) Has been cancelled
default / integration-misc-4 (push) Has been cancelled
default / integration-provision-0 (push) Has been cancelled
default / integration-provision-1 (push) Has been cancelled
default / integration-provision-2 (push) Has been cancelled
default / integration-qemu (push) Has been cancelled
default / integration-qemu-csi (push) Has been cancelled
default / integration-qemu-encrypted-vip (push) Has been cancelled
default / integration-qemu-race (push) Has been cancelled
default / integration-reproducibility-test (push) Has been cancelled
default / integration-trusted-boot (push) Has been cancelled
s/talosctcl/talosctl/g

Signed-off-by: Justin Garrison <justin.garrison@siderolabs.com>
2024-07-30 21:53:50 +04:00
Steve Martinelli
0fd7dfd2ae
docs: update Equinix Guide
Following the most recent livestream, I'm adding in a few small fixes, specifically:

* Using `metros` instead of `facilities` as the latter is deprecated (https://deploy.equinix.com/developers/docs/metal/locations/facilities/)

Signed-off-by: Steve Martinelli <4118756+stevemar@users.noreply.github.com>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-07-30 21:08:29 +04:00
Andrey Smirnov
3d1474ac0b
feat: update CoreDNS to 1.1.3
See https://github.com/coredns/coredns/releases/tag/v1.11.3

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-07-30 20:17:17 +04:00
Noel Georgi
50e5f37efb
chore: add test for apparmor
Add a test that verifies pods can be scheduled with `RuntimeDefault`
apparmor profile.

Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-07-30 20:24:57 +05:30
Matthias Riegler
96492c0977
docs: extend multus configuration for Cilium
Add some notes.

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-07-30 14:15:08 +04:00
Andrey Smirnov
19aa44c549
fix: generate kubeconfig using proper types
Generating YAML using text templates is going to stop working because of
proper escaping.

Also fix unrelated issue with `cloud.google.com/go` module which got
split into submodules, and now this conflicts with each other.

Fixes #7180

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-07-29 22:03:29 +04:00
Andrey Smirnov
240104e45f
feat: update Linux to 6.6.43
Latest LTS plus a workaround for UBSAN eBPF (Cilium-related).

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-07-29 21:35:15 +04:00
Andrey Smirnov
32db8db606
chore: lock microsoft secureboot certs
Point to the last release to avoid updates on `make generate`.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-07-29 18:58:21 +04:00
Noel Georgi
3ce5492f85
feat: runc memfd-bind service
Add a `runc-memfd-bind` service so that runc binary is not copied for
every `runc` invocation.

Fixes: #9007.

Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-07-29 19:02:59 +05:30
Fredrik Lundhag
341b55cd37
docs: update vmware.sh
Add `"` to handle vmware network interfaces with non-characters name

Signed-off-by: Fredrik Lundhag <f@mekk.com>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-07-25 18:58:08 +04:00
Noel Georgi
117628aa60
chore: add test for gvisor extension with platform kvm
Add test for Gvisor extensions when kvm platform is used.

The test is marked as skipped until pod termination issue is resolved.

Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-07-25 19:15:27 +05:30
Andrey Smirnov
fd01571c40
feat: update Linux, enable Broadcom MPI3 driver
Linux: 6.6.39

See siderolabs/pkgs#992

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-07-24 20:30:56 +04:00
Andrey Smirnov
b333ec07d9
feat: update etcd to 3.5.15, Flannel to 0.25.5
* https://github.com/flannel-io/flannel/releases/tag/v0.25.5
* https://github.com/etcd-io/etcd/releases/tag/v3.5.15

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-07-23 20:00:25 +04:00
EricMa
0872901783
feat: use ethtool ioctl to get link status when netlink api not available
when kernel not support ethtool-netlink,we will use ethtool-ioctl to get link status

Signed-off-by: EricMa <307748790@qq.com>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-07-23 19:07:55 +04:00
Justin Garrison
395c642909
docs: update openebs-jiva helm repo
jiva operator was moved to the openebs-archive

Signed-off-by: Justin Garrison <justin.garrison@siderolabs.com>
2024-07-23 18:18:28 +04:00
Noel Georgi
f132d3f403
chore(ci): remove artifacts directory prefix for checksums
Fixes: #8988
Fixes: #8691
Fixes: #8512

Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-07-23 18:42:09 +05:30
Jean-Francois Roy
fd54dc191d
feat(talosctl): append microsoft secure boot certs
This patch adds a flag to `secureboot.database.Generate` to append the
Microsoft UEFI secure boot DB and KEK certificates to the appropriate
ESLs, in addition to complimentary command line flags.

This patch also includes a copy of said Microsoft certificates. The
certificates are downloaded from an official Microsoft repo.

Signed-off-by: Jean-Francois Roy <jf@devklog.net>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-07-22 14:15:42 +04:00
Andrey Smirnov
fd6ddd11ef
feat: provide POD_IP env var to scheduler and controller-manager
Fixes #9031

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-07-17 21:41:15 +04:00
Andrey Smirnov
407347a7a0
feat: update Kubernetes to 1.31.0-beta.0
See https://github.com/kubernetes/kubernetes/releases/tag/v1.31.0-beta.0

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-07-17 14:41:14 +04:00