3932 Commits

Author SHA1 Message Date
Markus Reiter
3a1eb10e61
docs: update the Proxmox kvm64 note
These settings enable `x86-64-v2` while keeping the VM migration option.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-07-01 15:23:12 +04:00
Florian Klink
30e220fcd2
docs: kernel cmdline params updated on upgrades
Mention that kernel cmdline params are updates on Talos upgrades only

See https://github.com/siderolabs/talos/issues/4880#issuecomment-1170965112

Signed-off-by: Florian Klink <flokli@flokli.de>
Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-07-01 15:28:18 +05:30
Utku Ozdemir
915de9cf9b
docs: fix bridge documentation
This PR fixes a mistake in the bridge support docs and the reference to its docs in changelog.

Signed-off-by: Utku Ozdemir <utku.ozdemir@siderolabs.com>
2022-07-01 11:21:46 +02:00
Andrey Smirnov
52cd12951c
test: bump Talos versions in upgrade tests
We should keep the latest stable up to date.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-06-30 21:57:44 +04:00
Andrey Smirnov
022581d809
release(v1.2.0-alpha.0): prepare release
This is the official v1.2.0-alpha.0 release.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
v1.2.0-alpha.0 pkg/machinery/v1.2.0-alpha.0
2022-06-30 19:01:07 +04:00
nett_hier
643e81cfed
feat: add SenseLabs to ADOPTERS.md
Updating ADOPTERS.

Signed-off-by: netthier <lspn@proton.me>
Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-06-29 23:33:19 +05:30
Noel Georgi
bdfee2b3b7
chore: bump kernel to 5.15.51
Bump kernel to [5.15.51](https://github.com/siderolabs/pkgs/pull/527)

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-06-29 22:49:11 +05:30
Andrey Smirnov
36c44a6511
fix: provide CA certificates in /etc/ssl/certs/ca-certificates.crt
This adds a symlink to improve compatibility.

Fixes #5523

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-06-29 16:51:56 +04:00
Noel Georgi
7ebd9bcce6
docs: fix pod security talos resource name
Fix the resource name for admissionconfig

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-06-28 22:05:05 +05:30
Utku Ozdemir
57b625e0a6
refactor: avoid recreating grpc clients in service health checks
Creating a new GRPC client for containerd and CRI every time we do a health check creates a lot of garbage. With this PR, we create them once and reuse them instead.

Signed-off-by: Utku Ozdemir <utku.ozdemir@siderolabs.com>
2022-06-28 18:10:07 +02:00
Philipp Sauter
a68a00f1b9
docs: recommend setting "host" Processor Type on proxmox
Talos v1.0 and later versions are unable to boot in a Proxmox
VM with "kvm64" set as its Processor Type. We add an
instruction in the Proxmox Guide for setting Processor Type
to "host". Talos v1.0 requires the x86-64-v2
microarchitecture, which is very common today.

Signed-off-by: Philipp Sauter <philipp.sauter@siderolabs.com>
2022-06-28 15:47:45 +02:00
Noel Georgi
923600a73c
chore: bump kernel to 5.15.50
Bump kernel to [5.15.50](https://github.com/siderolabs/pkgs/pull/524)
Also pulls in https://github.com/siderolabs/pkgs/pull/526

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-06-28 03:01:23 +05:30
Tim Jones
758a9bf59f
docs: add theila ui
Adds an introduction section for using Theila with Talos
clusters.

Signed-off-by: Tim Jones <tim.jones@siderolabs.com>
2022-06-27 21:56:27 +02:00
Andrey Smirnov
b81016e628
chore: update blockdevice library to v0.3.3
There are no changes between 0.3.2 and 0.3.3, but 0.3.2 tag was force
pushed causing stale checksum in Go checksum database.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-06-27 21:50:34 +04:00
Utku Ozdemir
284a2f9596
fix: filter static pods correctly and optimize fetching
When we query kubelet API to populate the StaticPodStatuses, instead of checking for ownerReferences to be empty, we check the annotation "kubernetes.io/config.source" value so we avoid including standalone pods (that are regular pods but not part of a replicaset).

We also optimize their fetching by avoiding to unmarshal the fields we do not need.

Signed-off-by: Utku Ozdemir <utku.ozdemir@siderolabs.com>
2022-06-27 18:50:47 +02:00
hobyte
61abf31110
docs: change command for cluster create to keep $HOME with sudo
sudo -E doesn't keep $HOME on all platforms. Change to
--preserve-home=HOME to tell sudo to especially kee $HOME to prevent
config being generated in /root/.talos

Signed-off-by: hobyte <simolu8@gmail.com>
Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-06-27 18:35:55 +04:00
Andrey Smirnov
6ae1e9bf2b
chore: bump dependencies
dependabot + go-mod-outdated

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-06-27 18:15:22 +04:00
Philipp Sauter
2deff6b6e1
feat: add support for variable substitution in talos.config kernel parameter
The URL to fetch the configuration for a talos node is given by the
talos.config kernel parameter. We add support for 4 variables ${uuid},
${serial}, ${mac} and ${hostname} which substitute the device UUID,
DMI-sourced serial number, MAC address of the first network interface to
be up and the hostname respectively.

Fixes #3272

Signed-off-by: Philipp Sauter <philipp.sauter@siderolabs.com>
2022-06-24 12:38:08 +02:00
Andrey Smirnov
103c942256
fix: update crypto library with support for RSA-SHA*
Previously crypto library handled only RSA-SHA512, as generated by
Talos, but this is a problem when migrating `kubeadm` cluster to Talos.

See https://github.com/siderolabs/crypto/pull/25

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-06-23 22:57:02 +04:00
Davincible
448de71949
docs: add UpCloud installation guide
Describe installing Talos on Upload.

Signed-off-by: Davincible <david.brouwer.99@gmail.com>
Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-06-23 22:28:28 +04:00
Andrey Smirnov
07014e0a8e
fix: generate correct bootstrap manifests when only IPv6 CIDR is used
`DNSServiceIP` was assumed to be IPv4 when only one CIDR is specified
which was leading to a malformed CoreDNS manifest.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-06-23 22:02:09 +04:00
Davincible
465edbb479
fix: look for qemu-kvm binary
The default qemu binary was only set as qemu-system-<arch>.

Signed-off-by: Davincible <david.brouwer.99@gmail.com>
Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-06-23 17:07:53 +04:00
RyanSquared
63caa281ae
fix: create native image format for DigitalOcean
This change replaces the gzipped tar with a gzipped image, which
DigitalOcean natively supports uploading, and means that it can be
linked directly to the image when using, for example, Terraform.

Signed-off-by: Ryan Heywood <me@ryansquared.pub>
Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-06-23 16:24:00 +04:00
Tim Jones
f15ce549e9
fix: siderlink api assume port 443 with https schema
If no port is supplied for the SideroLink API endpoint and the https
schema is used, then assume port 443 is wanted.

Signed-off-by: Tim Jones <tim.jones@siderolabs.com>
2022-06-23 11:39:49 +02:00
Utku Ozdemir
797596229a
feat: add support for configuring network bridges
Allows configuring bridge interfaces (similar to bonds). Closes siderolabs#5414.

Signed-off-by: Utku Ozdemir <utku.ozdemir@siderolabs.com>
2022-06-22 21:09:18 +02:00
Andrey Smirnov
2b23fabcc1
docs: use SVG image for K8s conformance
It doesn't accept PNG images.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-06-22 22:15:46 +04:00
Noel Georgi
d4606c33ec
chore: bump kernel to 5.15.49
Bump kernel to 5.15.49

Remove the `random.trust_cpu` kernel cmdline as it already enabled in
Kconfig

Ref:
 - https://github.com/siderolabs/pkgs/pull/520
 - https://github.com/siderolabs/pkgs/pull/522

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-06-22 23:03:24 +05:30
Andrey Smirnov
cfb640222b
docs: update docs for release 1.1
Update documentation, support matrix, current release, what's new, etc.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-06-22 18:40:54 +04:00
Andrey Smirnov
b816d0b600
docs: fix the vendor information for Kubernetes conformance tests
As we submit results to Certified Kubernetes, we provide metadata which
should be updated now, and also we lost the logo in our assets.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-06-21 22:25:10 +04:00
Andrey Smirnov
a167a54021
test: fix CLI nodes discovery without provisioner data
When integration tests run without data from Talos provisioner (e.g.
against AWS/GCP), it should work only with `talosconfig` as an input.

This specific flow was missing filling out `infoWrapper` properly.

Clean up things a bit by reducing code duplication.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-06-21 18:42:26 +04:00
Spencer Smith
916a306829
docs: add twitter meta info
This PR ensures we look cool on twitter.

Signed-off-by: Spencer Smith <spencer.smith@talos-systems.com>
2022-06-21 08:43:48 -04:00
Utku Ozdemir
80090a3eda
test: fix health endpoint cli test when discovery is disabled
We skip the client-side health endpoint test that relies on the discovery service if the discovery service is not enabled for the cluster. Related to siderolabs#5554.

Signed-off-by: Utku Ozdemir <utku.ozdemir@siderolabs.com>
2022-06-20 21:45:42 +02:00
Andrey Smirnov
3c263bb446
chore: bump dependencies
dependabot + go-mod-outdated

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-06-20 18:43:36 +04:00
Noel Georgi
e8113527f9
chore: bump kubernetes to v1.24.2
Bump kubernetes to [v1.24.2](https://github.com/kubernetes/kubernetes/releases/tag/v1.24.2)

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-06-17 23:23:06 +05:30
Dmitriy Matrenichev
068f1b6d05
feat: add ctest package and base for test suite
This change adds ctest package which adds DefaultSuite and helper functions.

Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
2022-06-17 20:12:08 +08:00
Noel Georgi
2aad3a1e49
chore: bump kernel to 5.15.48
Bump kernel to [5.15.48](https://github.com/siderolabs/pkgs/pull/518)

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-06-17 00:34:58 +05:30
Noel Georgi
a31a858e08
docs: snippets for logging api server audit logs
Add snippets for logging kube-apiserver audit logs from Talos

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-06-16 16:10:35 +05:30
Noel Georgi
89aaaef9f5
chore: bump kernel to 5.15.47
Bump kernel to [5.15.47](https://github.com/siderolabs/pkgs/pull/514)

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-06-15 20:07:00 +05:30
Utku Ozdemir
6759fcd4ae
feat: use discovery service on cluster health checks
Query the discovery service to fetch the node list and use the results in health checks. Closes siderolabs#5554.

Signed-off-by: Utku Ozdemir <utku.ozdemir@siderolabs.com>
2022-06-15 16:01:38 +02:00
Philipp Sauter
f54d907871
fix: enable orderly poweroff in hyper-v on Azure
Previously Talos would not shutdown gracefully if hyper-v issued the
'perform_shutdown' call. Said call would execute '/sbin/poweroff' which
did not exist in Talos. We hardlink machined to '/sbin/poweroff' and
make it send a shutdown API call to PID 1 machined.

Fixes #5641

Signed-off-by: Philipp Sauter <philipp.sauter@siderolabs.com>
2022-06-15 12:49:17 +02:00
Noel Georgi
35475ce45b
docs: openebs jiva example with iscsi-tools extension
Add docs on using OpenEBS Jiva that works well with local storage and
`iscsi-tools` extension.

Signed-off-by: Noel Georgi <git@frezbo.dev>
Signed-off-by: Spencer Smith <spencer.smith@talos-systems.com>
2022-06-13 19:56:28 -04:00
Utku Ozdemir
8d2be5e315
feat: extend node definition used in health checks
Introduce `cluster.NodeInfo` to represent the basic info about a node which can be used in the health checks. This information, where possible, will be populated by the discovery service in following PRs. Part of siderolabs#5554.

Signed-off-by: Utku Ozdemir <utku.ozdemir@siderolabs.com>
2022-06-13 14:13:42 +02:00
Philipp Sauter
7a11b4def7
fix: make talosctl bootstrap accept only single node
Previously talosctl would accept multiple nodes for the bootstrap
command which is a strictly single-node operation. Talosctl will abort
the bootstrap command if more than one node is specified either as a
command-line flag or in talosconfig.

Fixes #5636

Signed-off-by: Philipp Sauter <philipp.sauter@siderolabs.com>
2022-06-10 22:27:15 +02:00
Andrey Smirnov
217fba288f
test: fix csi tests
With Pod Security, we need to allow privileged for rook-ceph.

This fix was lost when reverting day-two.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-06-10 23:00:47 +04:00
Andrey Smirnov
90bf34fed9
docs: fork docs for Talos 1.2
Now master generates docs for the future v1.2.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-06-10 22:21:39 +04:00
Tim Jones
a0dd010a87
docs: add link to discovery service in kubespan
Add more contextual description of the discovery service
to the KubeSpan docs, and a link to the repo.

Signed-off-by: Tim Jones <tim.jones@siderolabs.com>
2022-06-10 19:38:15 +02:00
Andrey Smirnov
c0371410ee
fix: support SideroLink "secure" gRPC connection
Keep using old defaults: if the scheme is not specified, assume
"insecure" gRPC.

If `https://` scheme is specified, use gRPC with default TLS config
(which assumes default trusted CAs, no client cert).

Also fixes a bug when gRPC endpoint was passed in raw form, this won't
work with actual scheme.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-06-10 19:28:08 +04:00
Andrey Smirnov
b037096202
feat: build Talos images with system extensions included
This allows to build a custom Talos image which comes with some system
extension bundled in. Sometimes we might need to have an extension in
the initial image, e.g. `vmtoolsd` for VMWare Talos image.

Syntax:

```
make image-aws \
  IMAGER_SYSTEM_EXTENSIONS="ghcr.io/siderolabs/amd-ucode:..."
```

System extensions are not supported for now for ISO images, as they
don't go through the common installer flow (#5725).

Also it might be nice to add a simple way to generate just
`initramfs.xz` with system extensions bundled in (e.g. for PXE booting).
(#5726)

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-06-10 00:10:22 +04:00
Noel Georgi
43def7490f
chore: bump kernel and runc
Bump kernel to [5.15.46](https://github.com/siderolabs/pkgs/pull/511)
Bump runc to [v1.1.3](https://github.com/siderolabs/pkgs/pull/513)

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-06-09 21:08:26 +05:30
Dmitriy Matrenichev
4dbbf4ac50
chore: add generic methods and use them part #2
Use things from #5702.

Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
2022-06-09 23:10:02 +08:00