1152 Commits

Author SHA1 Message Date
Andrey Smirnov
f9697a9a07 fix: register controlplane node with NoSchedule taint
Fixes #9691

This closes the race between the node registration and the moment
`NodeApplyController` would apply the taint.

As the taint is exactly same as added by `NodeApplyController`, it will
be owned by the controller, so it can be removed if
`allowSchedulingOnControlplanes` is enabled in the machine config while
the cluster is running.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-11-15 15:45:02 +04:00
Andrey Smirnov
30f8b5a9f7 fix: registry mirror fallback handling
Fixes #9613

This has two changes:

* adjust Talos registry resolver to match containerd (CRI) resolver: use
  by default upstream as a fallback
* add a machine config option to skip upstream as a fallback, and adjust
  CRI configuration accordingly

See https://github.com/containerd/containerd/blob/main/docs/hosts.md#registry-configuration---examples
for details on CRI's `hosts.toml`.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-11-14 20:38:36 +04:00
Andrey Smirnov
43fe3807a8 feat: implement tracking of blockdevice secondaries
This is going to be used to detect disks that are safe to wipe.

For blockdevices, track secondaries as direct references, e.g. encrypted
`STATE` partition might have secondary `vda5`.

For disks, re-map secondaries to be whole devices names, e.g. `vda`.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-11-13 22:43:27 +04:00
Andrey Smirnov
8b4253d185 feat: update etcd to v3.5.17
See https://github.com/etcd-io/etcd/releases/tag/v3.5.17

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-11-13 14:30:58 +04:00
sophia-coldren
20bbf02355 docs: update vultr documentation
Fix a typo.

Signed-off-by: sophia-coldren <119651121+sophia-coldren@users.noreply.github.com>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-11-12 15:58:37 +04:00
Andrey Smirnov
9a02ecc49f feat: rewrite install disk selector to use CEL expressions
Rewrite matcher to take out old go-blockdevice library out of the way,
implementing translation from go-blockdevice format to CEL.

Implement facilities to build CEL expressions programmatically.

Now we can add a machine config disk match expression (CEL) easily.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-11-11 17:23:15 +04:00
Sergey Melnik
eba35f4413 docs: add note about PSP in Rook-Ceph guide
Small fix in the docs.

Signed-off-by: Sergey Melnik <admin.sa@gmail.com>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-11-11 15:40:42 +04:00
Variant9
38b80fb1da docs: add missing --talosconfig parameter to end of Hetzner guide
Adds a missing `--talosconfig` parameter. Without it, talosctl would
connect to a local cluster which could confuse users following the
guide.

Signed-off-by: Variant9 <13605369+holly-hacker@users.noreply.github.com>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-11-11 14:56:31 +04:00
Roman Ivanov
a07f66c918 docs: gcp: fix controlplane nodes tags
Fix GCP docs.

Signed-off-by: Roman Ivanov <me@roivanov.com>
Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-11-10 06:53:56 +05:30
Andrey Smirnov
0290a38818 release(v1.9.0-alpha.2): prepare release
This is the official v1.9.0-alpha.2 release.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-11-08 21:06:48 +04:00
Noel Georgi
2001167058 chore(ci): save support zip always after tests
Save `support.zip` always, also use a different folder for saving logs,
so we can save artifacts of multi cluster tests.

Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-11-08 19:18:06 +05:30
Andrey Smirnov
6a42c3b8ed release(v1.9.0-alpha.1): prepare release
This is the official v1.9.0-alpha.1 release.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-11-08 15:38:32 +04:00
Nico Berlee
11380f933d feat: display current CPU frequency on dashboard
Dashboard now shows the active frequency of each CPU core when cpufreq
is available on non-virtualized systems, enhancing real-time accuracy.

Solves the issue of displaying 0MHz on certain SBCs due to
/proc/cpuinfo limitations.

Signed-off-by: Nico Berlee <nico.berlee@on2it.net>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-11-08 12:05:48 +04:00
Noel Georgi
942962bf00 docs: add docs on usernamespace support in k8s
Add docs and test for usernamespaces support in Kubernetes.

Fixes: #8554

Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-11-07 22:09:02 +05:30
Andrey Smirnov
313bffadfb feat: update Kubernetes to v1.32.0-beta.0
The latest v1.32.0 release.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-11-06 20:26:52 +04:00
Andrey Smirnov
8e02b9fcbf docs: update manual k8s upgrade docs
The resource in the examples had been retired a while ago, update docs
accordingly.

Fixes #9651

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-11-06 16:50:34 +04:00
Andrey Smirnov
05c620957c feat: allow extra mounts for docker-based talosctl cluster create
Fixes #9607

Use docker CLI syntax, support any kind of mounts supported by docker
CLI.

Also drop modules from `talos` container image, as it's useless to
provide modules in container mode.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-11-05 16:10:08 +04:00
solidDoWant
d8b652150c docs: add warning about NVMe bus path bug
Document NVMe bus path.

Signed-off-by: solidDoWant <fred.heinecke@yahoo.com>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-10-31 14:32:04 +04:00
Andrey Smirnov
3e16ab135e feat: update Kubernetes to v1.32.0-alpha.3
See https://github.com/kubernetes/kubernetes/releases/tag/v1.32.0-alpha.3

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-10-30 20:05:51 +04:00
Joakim Nohlgård
0b8b356777 feat: add BridgePort property to network machine configuration
Allow putting a device into a bridge from device configuration.

Signed-off-by: Joakim Nohlgård <joakim@nohlgard.se>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-10-30 18:55:40 +04:00
Dmitriy Matrenichev
0ece13c623 docs: update network-config.md (cont)
Also fix typo `0xa`->`0x0a` in 1.9 docs.

Signed-off-by: KBAegis <kbaegis@gmail.com>
Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
2024-10-30 12:56:32 +03:00
KBAegis
93827f0485 docs: update network-config.md
Fixing typo 0xa->0x0a

Signed-off-by: KBAegis <kbaegis@gmail.com>
Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
2024-10-30 01:57:48 +03:00
Utku Ozdemir
cec290b354 feat: allow extensions to log to console
Allow extensions to opt-in for their logs to be printed in the console, i.e., Talos kernel log buffer as well as their default logging target.

Signed-off-by: Utku Ozdemir <utku.ozdemir@siderolabs.com>
2024-10-25 18:02:35 +02:00
Joakim Nohlgård
d4cb478a50 docs: improve field description for BridgeSTP, BridgeVLAN
Add more clarifying notes.

Signed-off-by: Joakim Nohlgård <joakim@nohlgard.se>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-10-25 14:45:58 +04:00
Andrey Smirnov
d39393879a fix: rework the 'metal-iso' config acquisition
Fixes #9538

Re-do the implementation by using the volume management primitives, so
that we can avoid/skip old code. This should fix all issues related to
the partition/whole disk.

Fix issues in the volume management (exposed, as we haven't used it this
way before).

Build a test case in `talosctl cluster create` to inject machine config
via `metal-iso`.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-10-24 16:18:50 +04:00
Jakob Maležič
8658d6865f docs: typo in deploying cilium
Fix typo.

Signed-off-by: Jakob Maležič <36704759+Blarc@users.noreply.github.com>
Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-10-23 14:25:24 +04:00
Andrey Smirnov
49bbadc4bf docs: add documentation on performance tuning
Thanks to various people who submitted this information over time, and
special thanks to @maxpain for IOMMU fix.

Fixes #9539

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-10-22 17:59:52 +04:00
Andrey Smirnov
2172535237 docs: fix image factory links
`relref` is verified by Hugo vs. the raw link.

Fixes #9499

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-10-21 20:48:55 +04:00
Andrey Smirnov
375e3da73f feat: update Kubernetes to 1.32.0-alpha.2
See https://github.com/kubernetes/kubernetes/releases/tag/v1.32.0-alpha.2

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-10-21 20:02:04 +04:00
nevermarine
867c4b8125 docs: fix typo in prodnotes.md
Typo fix.

Signed-off-by: nevermarine <mvfedotov_1@edu.hse.ru>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-10-21 15:31:14 +04:00
Noel Georgi
1b22df48a4 chore: support debug shell for advanced development
Support dropping into a very minimal debug shell.

```bash
sudo -E --preserve-env=HOME _out/talosctl-linux-amd64 cluster create --provisioner=qemu $REGISTRY_MIRROR_FLAGS --controlplanes=1 --workers=0 --with-bootloader=false --with-debug-shell
```

Co-authored-by: Dmitry Sharshakov <dmitry.sharshakov@siderolabs.com>
Signed-off-by: Noel Georgi <git@frezbo.dev>
Signed-off-by: Dmitry Sharshakov <dmitry.sharshakov@siderolabs.com>
2024-10-19 16:56:24 +02:00
Andrey Smirnov
c14b446229 feat: update Kubernetes to v1.32.0-alpha.1
Talos 1.9 is going to be shipped with Kubernetes v1.32 by default.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-10-18 20:28:14 +04:00
Andrey Smirnov
f7d35a5e0b release(v1.9.0-alpha.0): prepare release
This is the official v1.9.0-alpha.0 release.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-10-18 17:50:58 +04:00
Andrey Smirnov
bc4c21f41a test: add json logs test environment
Add an option to `talosctl cluster create` to start a JSON log receiver,
and enabled it optionally.

Enable in `integration-qemu`.

See #9510

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-10-17 16:23:26 +04:00
Ryan Borstelmann
71faa32942 docs: nvidia proprietary/oss hardware requirement
Update NVIDIA docs on proprietary/OSS driver requirements.

Signed-off-by: Ryan Borstelmann <ryan@ryanb.tv>

Documentation didn't outline why one would use OSS vs Proprietary Nvidia drivers, so added details for each. Biggest issue is hardware support, which differs between the two.

Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-10-17 10:39:44 +05:30
Dmitriy Matrenichev
4d902021bb fix: do not use pflag csv comma reader for config-patch
Modules pflag and cobra use csv.Reader for `StringSliceVar` method. This doesn't work well with JSON, and we do not need this at all.
Drop it.

Fixes #9493

Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
2024-10-14 11:31:23 +03:00
naed3r
5371788ce1 fix: typo in documentation
`requests` -> `resources`

Signed-off-by: naed3r <40650681+nate-moo@users.noreply.github.com>
Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
2024-10-11 19:16:53 +03:00
Spencer Smith
8a228ba6bc docs: add egress documentation
This PR adds a list of the domains I had to allow for a Talos cluster to pull all assets needed to install and bootstrap. I've added these docs back to 1.6 of Talos, as I'm not certain they would apply to anything earlier.

Signed-off-by: Spencer Smith <spencer.smith@talos-systems.com>
2024-10-09 08:07:39 -04:00
Eddie Wang
7d02eb60f4 docs: fix typo in CloudStack docs
Variable name.

Signed-off-by: Eddie Wang <bonjour@eddiewang.me>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-10-03 14:56:48 +04:00
Andrey Smirnov
0a4df4ef84 docs: fix nvidia CRI config example
Fixes #9416

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-10-02 14:38:18 +04:00
Robby Ciliberto
afc1e1a46a docs: fix typo in extraMounts directory
Typo in extraMounts directory
/var/openebs/local -> /var/local/openebs

Signed-off-by: Robby Ciliberto <robert.ciliberto@gmail.com>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-10-02 13:43:26 +04:00
Andrey Smirnov
908fd8789c feat: support cgroup deep analysis in talosctl
The new command `talosctl cgroups` fetches cgroups snapshot from the
machine, parses it fully, enhances with additional information (e.g.
resolves pod names), and presents a customizable view of cgroups
configuration (e.g. limits) and current consumption.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-09-30 18:57:12 +04:00
Andrey Smirnov
392c4798f0 feat: prepare for Talos 1.9
Update tools, pkgs, extras.

Brings in Go 1.23.1, Linux 6.6.52, new xfsprogs, etc.

Fork docs.

Add new version contract, etc.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-09-27 21:23:48 +04:00
adilTepe
ea7bf9fb43 docs: update storage.md
A small typo fix.

Signed-off-by: adilTepe <104206649+adilTepe@users.noreply.github.com>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-09-26 18:38:02 +04:00
Andrey Smirnov
2fa019bd97 docs: enable 'edit on GitHub' link
See attached screenshot.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-09-25 14:48:54 +04:00
Adolfo Ochagavía
d2ccbc2b15 docs: update hetzner documentation for CCM
Use CCM to set correctly external IPs.

Signed-off-by: Adolfo Ochagavía <github@adolfo.ochagavia.nl>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-09-25 14:12:42 +04:00
Dan Rue
d498f647cd docs: fix Kernel Self Protection Project (KSPP) references
Update KSPP related URLs and fix acronym typo from "KSSP" to "KSPP".

Signed-off-by: Dan Rue <drue@therub.org>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-09-24 14:55:34 +04:00
Andrey Smirnov
0ec75463ee docs: make Talos 1.8 current release
Activate 1.8.0.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-09-23 18:48:06 +04:00
Tim Jones
e46227ab95 docs: fix kubespan name inconsistency
Fix the inconsistent use of KubeSpan in docs and Config suffix for the
yaml config doc kind.

Signed-off-by: Tim Jones <tim.jones@siderolabs.com>
2024-09-21 12:33:47 +01:00
Andrey Smirnov
7bd26df308 docs: document /dev/net/tun compatibility
Fixes #9309

Co-authored-by: Jean-François Roy <jf@devklog.net>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-09-17 15:00:19 +04:00