Andrey Smirnov
61b1489a0f
fix: order volume config by the requested size
...
This fixes an issue like that:
* the system disk is say 10GiB
* STATE is fixed 100 MiB always
* EPHEMERAL is configured to be min 6 GiB, max 100 GiB
As the EPHEMERAL/STATE provisioning order was not defined, EPHEMERAL
might be created first, occupying whole disk and leaving no space left
for STATE.
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-11 18:35:11 +04:00
Dmitriy Matrenichev
c4724fc975
chore: add integration tests for image-cache
...
Provide separate `integration/image-cache` tag.
Closes #9860
Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
2024-12-06 20:28:34 +03:00
Andrey Smirnov
7d6507189f
feat: implement new address sorting algorithm
...
Fixes #9725
See #9749
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-05 14:38:46 +04:00
Andrey Smirnov
77e9db4abf
test: use two workers in qemu tests by default
...
Fixes #9870
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-04 16:34:42 +04:00
Andrey Smirnov
5a4bdf62a9
feat: update Kubernetes to 1.32.0-rc.1
...
See https://github.com/kubernetes/kubernetes/releases/tag/v1.32.0-rc.1
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-04 15:59:16 +04:00
Noel Georgi
347b758465
chore: support saving cluster logs on destroy
...
Support saving cluster logs on destroy
Fixes : #9808
Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-11-29 14:39:15 +05:30
Andrey Smirnov
581c0851d8
feat: update dependencies
...
Kubernetes: 1.32.0-rc.0
Flannel: 0.26.1
Coredns: 1.12.0
Plus some small bumps.
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-11-28 19:51:02 +04:00
Andrey Smirnov
ef69c9d39b
feat: update Linux to 6.12.1
...
No other changes, just update default bundled module list.
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-11-27 23:08:14 +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
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
Noel Georgi
1800f81044
fix: selinux handling and apparmor tests
...
Conditionally mount selinuxfs only if it's present.
Fix AppArmor tests, `apparmor` and other minor LSM's and set
`apparmor=1`.
Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-11-07 07:50:00 +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
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
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
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
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
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
Noel Georgi
db248de88d
chore(ci): add config for lldpd extension
...
Add `ExtensionServiceConfig` for lldpd extension.
Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-10-16 17:08:33 +05:30
Andrey Smirnov
a9bff3a1d0
test: skip no error test in Cilium
...
This test often fails due to etcd leader changes.
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-10-15 21:26:58 +04:00
Noel Georgi
dec653bfe1
chore: better lvm2 tests
...
Use LVM2 tests that relies on module loading by lvm.
Fixes : #9300
Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-10-01 16:08:44 +04:00
Andrey Smirnov
869f8379f2
feat: update default Kubernetes version to 1.31.1
...
See https://github.com/kubernetes/kubernetes/releases/tag/v1.31.1
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-09-12 18:19:56 +04:00
Noel Georgi
d64ce44e46
chore(ci): e2e gcp
...
Add e2e-gcp.
Also drop other CAPI stuff.
Fixes : #8842
Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-09-06 19:07:20 +05:30
Andrey Smirnov
3038ccfa88
feat: add configuration for EPHEMERAL volume
...
Fixes #9261
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-09-06 14:11:35 +04:00
Noel Georgi
8fe39eacba
chore: move csi tests as go test
...
Move rook-ceph CSI tests as go tests.
This allows us to add more CSI tests in the future.
Fixes : #9135
Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-08-26 18:18:09 +05:30
Noel Georgi
36f83eea9f
chore: make qemu check flag consistent with code
...
Restructure code as per changes from #9198 .
This makes the flag name to be in sync with what it actually does.
Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-08-20 20:33:56 +05:30
Andrey Smirnov
9e348ef350
feat: update Kubernetes to 1.31.0
...
See https://github.com/kubernetes/kubernetes/releases/tag/v1.31.0
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-08-14 15:56:11 +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
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
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
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
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
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
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
Andrey Smirnov
3bab15214d
feat: update Kubernetes to 1.31.0-alpha.3
...
Fixes #8911
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-07-09 17:49:06 +04:00
Noel Georgi
9a56b8527b
chore(ci): fix parallel runs of tf pipelines
...
Previously it was generating same name for the state file causing
parallel runs to delete resources created by another running test.
Fix names to be unique by reading `cluster_name`.
Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-07-03 23:08:37 +05:30
Andrey Smirnov
52611a90d8
feat: update Kubernetes to v1.30.2
...
See https://github.com/kubernetes/kubernetes/releases/tag/v1.30.2
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-07-02 15:54:34 +04:00
Noel Georgi
f75f16b0a8
chore(ci): fix cluster name generation
...
Append the target name to the cluster name so that parallel tests do not
create resources with same names.
Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-06-26 15:17:18 +05:30
Noel Georgi
4701498a1b
chore(ci): run e2e-aws-nvidia with zfs extension enabled
...
Run e2e-aws-nvidia-oss with zfs extension enabled.
Also fix the iscsi tests to get transport info using the new disks api.
Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-06-24 15:12:34 +05:30
Noel Georgi
8e15621e83
chore(ci): add conformance pipelines
...
This was missed when moving to GHA.
Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-06-12 10:47:43 +07:00
Noel Georgi
8ee0872683
chore(ci): drop crashdump, save logs as artifacts
...
Drop `--crashdump` and save talos cluster logs as artifacts.
Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-06-07 10:52:05 +08:00
Noel Georgi
9c3ebad9fd
chore(ci): kresify gh actions
...
Kresify, only handle gh workflows.
Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-05-22 00:17:09 +05:30
Andrey Smirnov
0bf2d69fbb
feat: update Kubernetes to 1.30.1
...
Latest v1.30.x version.
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-05-15 21:18:04 +04:00
Spencer Smith
6663068bbd
chore: update project in GCP testing
...
This PR moves the GCP tests to a new project there. I'm working on consolidating projects, names, and doing some reservations out there.
Signed-off-by: Spencer Smith <spencer.smith@talos-systems.com>
2024-05-14 14:00:45 -04:00
Andrey Smirnov
84cd7dbec4
feat: update Linux to 6.6.29
...
Pull in fixes for cloud-image-uploader from #8667.:w
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-05-01 15:59:04 +04:00
Andrey Smirnov
4c0c626b78
feat: use zstd compression in place of xz
...
Initramfs and kernel are compressed with zstd.
Extensions are compressed with zstd for Talos 1.8+.
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-04-29 18:09:12 +04:00
Andrey Smirnov
d6c8067e15
docs: make 1.7 docs the default
...
Activate after 1.7.0 release.
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-04-19 16:04:32 +04:00
Andrey Smirnov
0d20b637d6
feat: update Kubernetes to 1.30.0
...
See https://github.com/kubernetes/kubernetes/releases/tag/v1.30.0
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-04-18 14:54:42 +04:00
Andrey Smirnov
ea5b3ff0c2
feat: update Kubernetes to v1.30.0-rc.2
...
See https://github.com/kubernetes/kubernetes/releases/tag/v1.30.0-rc.2
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-04-12 14:05:39 +04:00
Dmitry Sharshakov
653f838b09
feat: support multiple Docker cluster in talosctl cluster create
...
Dynamically map Kubernetes and Talos API ports to an available port on
the host, so every cluster gets its own unique set of parts.
As part of the changes, refactor the provision library and interfaces,
dropping old weird interfaces replacing with (hopefully) much more
descriprive names.
Signed-off-by: Dmitry Sharshakov <dmitry.sharshakov@siderolabs.com>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-04-04 21:21:39 +04:00
Noel Georgi
d320498a44
chore: bump dependencies
...
Bump dependencies, bring in v1.30.0-rc.1 of k8s.
Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-04-03 12:25:10 +05:30