Commit Graph

762 Commits

Author SHA1 Message Date
Flightkick
86eb01cd6c
docs: add missing dev tools
Document missing dev tools.

Signed-off-by: Flightkick <Flightkick@users.noreply.github.com>
Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-08-08 16:27:55 +05:30
Andrey Smirnov
856beb21cc
feat: containerd 1.6.7, Flannel 1.19.1
See

* https://github.com/flannel-io/flannel/releases/tag/v0.19.1
* https://github.com/containerd/containerd/releases/tag/v1.6.7

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-08-05 19:40:32 +04:00
Andrey Smirnov
a6b010a8b4
chore: update Go to 1.19, Linux to 5.15.58
See https://go.dev/doc/go1.19

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-08-03 17:03:58 +04:00
Noel Georgi
0326bac1f9
chore: bump kernel to 5.15.57
Bump kernel to [5.15.57](https://github.com/siderolabs/pkgs/pull/539)

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-07-25 21:16:18 +05:30
Dmitriy Matrenichev
30f7851d2a
chore: bump golangci-lint from 1.45.2 to 1.47.2
Minor linter upgrade.

Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
2022-07-22 17:49:44 +03:00
Dmitriy Matrenichev
2cce9112d1
chore: bump goimports from 0.1.10 to 0.1.11
Minor linter upgrade.

Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
2022-07-22 02:07:39 +03:00
Andrey Smirnov
7c006cabc7
feat: update Kubernetes to 1.24.3
See https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.24.md#changelog-since-v1242

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-07-18 22:10:34 +04:00
Andrey Smirnov
ec74ab38aa
feat: update Go to 1.18.4, Linux to 5.15.54
See https://github.com/golang/go/issues?q=milestone%3AGo1.18.4+label%3ACherryPickApproved

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-07-13 12:28:17 +04:00
Noel Georgi
c170ec0b09
chore: bump kernel to 5.15.53
Bump kernel to [5.15.53](https://github.com/siderolabs/pkgs/pull/532)

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-07-08 16:45:46 +05:30
Noel Georgi
e437445b40
chore: bump kernel to 5.15.52
Bump kernel to [5.15.52](https://github.com/siderolabs/pkgs/pull/529)

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-07-04 23:54:31 +05:30
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
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
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
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
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
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
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
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
Tim Jones
0c91c89f4f
chore: revert day-two tests for csi tests
This reverts commit d1294d014f.

Signed-off-by: Tim Jones <tim.jones@siderolabs.com>
2022-06-08 11:04:00 +02:00
Andrey Smirnov
f3efec4b56
feat: update containerd 1.6.6, Linux 5.15.45, Flannel 0.18.1
See:

* https://github.com/containerd/containerd/releases/tag/v1.6.6
* https://github.com/containerd/containerd/releases/tag/v1.6.5
* https://github.com/flannel-io/flannel/releases/tag/v0.18.1

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-06-06 22:52:41 +04:00
Noel Georgi
c126f2ee85
chore: bump golang to 1.18.3
Bump Golang to 1.18.3

Ref:
  - https://github.com/siderolabs/pkgs/pull/498
  - https://github.com/siderolabs/extras/pull/51

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-06-03 19:07:17 +05:30
Andrey Smirnov
7b9dfcb852
chore: add 'make go-mod-outdated'
This provides an easy target to find outdated `go.mod` dependencies.

Sample output:

```
>>>> pkg/machinery:
+---------------------------------+------------------------------------+------------------------------------+--------+------------------+
|             MODULE              |              VERSION               |            NEW VERSION             | DIRECT | VALID TIMESTAMPS |
+---------------------------------+------------------------------------+------------------------------------+--------+------------------+
| github.com/cosi-project/runtime | v0.0.0-20220426184241-e22a85955e81 | v0.0.0-20220527181155-95d06feaf8b5 | true   | true             |
| google.golang.org/genproto      | v0.0.0-20220505152158-f39f71e6c8f3 | v0.0.0-20220531173845-685668d2de03 | true   | true             |
| gopkg.in/yaml.v3                | v0.0.0-20220527175918-f17b0f05cf2c |                                    | true   | true             |
+---------------------------------+------------------------------------+------------------------------------+--------+------------------+

>>>> .:
+---------------------------------+--------------------------------------+------------------------------------+--------+------------------+
|             MODULE              |               VERSION                |            NEW VERSION             | DIRECT | VALID TIMESTAMPS |
+---------------------------------+--------------------------------------+------------------------------------+--------+------------------+
| github.com/aws/aws-sdk-go       | v1.44.19                             | v1.44.24                           | true   | true             |
| github.com/containerd/cgroups   | v1.0.4-0.20220301195952-2e502f6b9e43 | v1.0.4                             | true   | true             |
| github.com/cosi-project/runtime | v0.0.0-20220426184241-e22a85955e81   | v0.0.0-20220527181155-95d06feaf8b5 | true   | true             |
| github.com/google/nftables      | v0.0.0-20220515211605-06687b6e34eb   | v0.0.0-20220516205333-a9775fb167d2 | true   | true             |
| github.com/safchain/ethtool     | v0.0.0-20210803160452-9aa261dae9b1   | v0.2.0                             | true   | true             |
| golang.org/x/net                | v0.0.0-20220513224357-95641704303c   | v0.0.0-20220526153639-5463443f8c37 | true   | true             |
| golang.org/x/sys                | v0.0.0-20220517195934-5e4e11fc645e   | v0.0.0-20220520151302-bc2c85ada10a | true   | true             |
| golang.org/x/term               | v0.0.0-20220411215600-e5f449aeb171   | v0.0.0-20220526004731-065cf7ba2467 | true   | true             |
| gopkg.in/yaml.v3                | v0.0.0-20220527175918-f17b0f05cf2c   |                                    | true   | true             |
+---------------------------------+--------------------------------------+------------------------------------+--------+------------------+

>>>> hack/cloud-image-uploader:
+---------------------------+------------------------------------+------------------------------------+--------+------------------+
|          MODULE           |              VERSION               |            NEW VERSION             | DIRECT | VALID TIMESTAMPS |
+---------------------------+------------------------------------+------------------------------------+--------+------------------+
| github.com/aws/aws-sdk-go | v1.44.19                           | v1.44.24                           | true   | true             |
| golang.org/x/sync         | v0.0.0-20210220032951-036812b2e83c | v0.0.0-20220513210516-0976fa681c29 | true   | true             |
+---------------------------+------------------------------------+------------------------------------+--------+------------------+
```

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-05-31 23:52:22 +04:00
Noel Georgi
48423a9830
chore: bump kernel to 5.15.44
Bump kernel to [5.15.44](https://github.com/siderolabs/pkgs/pull/494)

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-05-31 18:33:18 +05:30
Andrey Smirnov
3ed254976b
feat: update Kubernetes to 1.24.1
See https://github.com/kubernetes/kubernetes/releases/tag/v1.24.1

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-05-27 19:33:07 +04:00
Andrey Smirnov
ceae420a84
chore: update tools/pkgs/extras to 1.1.0
In preparation for Talos 1.1.0-beta, update all dependencies to release
versions.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-05-27 19:12:57 +04:00
Noel Georgi
0dc4ad58e5
chore: bump kernel to 5.15.43
Bump kernel to [5.15.43](https://github.com/siderolabs/pkgs/pull/490)

Also pulls in:

- [Azure disks udev rules](https://github.com/siderolabs/pkgs/pull/488)
- [pkgs stable build time](https://github.com/siderolabs/pkgs/pull/489)
- [extras stable build time](https://github.com/siderolabs/extras/pull/49)

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-05-26 18:16:28 +05:30
Andrey Smirnov
af5ac30a7b
feat: enable passing custom kernel args to the ISO creator
Instead of hardcoded `grub.cfg`, use common code to generate list of
kernel arguments and allow using `--extra-kernel-arg` as well.

Before the change:

```
linux /boot/vmlinuz init_on_alloc=1 slab_nomerge pti=on panic=0 consoleblank=0 printk.devkmsg=on earlyprintk=ttyS0 console=tty0 console=ttyS0 talos.platform=metal
```

New (default line):

```
linux /boot/vmlinuz talos.platform=metal earlyprintk=ttyS0 console=ttyS0 console=tty0 init_on_alloc=1 slab_nomerge pti=on consoleblank=0 nvme_core.io_timeout=4294967295 random.trust_cpu=on printk.devkmsg=on ima_template=ima-ng ima_appraise=fix ima_hash=sha512
```

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-05-25 18:26:44 +04:00
Noel Georgi
f477eb8820
chore: bump kernel to 5.15.41
Bump kernel to [5.15.41](https://github.com/siderolabs/pkgs/pull/483)

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-05-18 18:55:04 +05:30
Noel Georgi
5ec4e9096e
chore: bump kernel to 5.15.40
Bump kernel to [5.15.40](https://github.com/siderolabs/pkgs/pull/481)

Also bumps u-boot to [v2022.04](https://github.com/siderolabs/pkgs/pull/479)

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-05-16 19:28:09 +05:30
Dmitriy Matrenichev
a6e4365823
feat: implement DeepCopy using code generation
Refactor every typed.Resource except KubeletConfigSpec to use deep-copy tool for generating DeepCopy method.

KubeletConfigSpec is excluded because its DeepCopy method is not trivial.

Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
2022-05-13 04:39:36 +08:00
Noel Georgi
166d2585c6
chore: bump kernel and runc
Bump kernel to [5.15.39](https://github.com/siderolabs/pkgs/pull/476)
Bump runc to [v1.1.2](https://github.com/siderolabs/pkgs/pull/473)

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-05-12 22:32:18 +05:30
Dmitriy Matrenichev
8d9b0cde0a
chore: update deps to go 1.18.2
Update tools, pkgs and extras

Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
2022-05-12 22:11:18 +08:00
Noel Georgi
da7b24ba57
chore: bump kernel to 5.15.38
Bump kernel to 5.15.38 LTS

Ref: https://github.com/siderolabs/pkgs/pull/468

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-05-11 01:00:11 +05:30
Noel Georgi
89cab200b8
chore: bump kubernetes to v1.24.0
Bump kubernetes to v1.24.0

Ref: https://github.com/siderolabs/kubelet/pull/45

Also update coredns [manifests](https://github.com/coredns/deployment/blob/master/kubernetes/coredns.yaml.sed)

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-05-05 00:34:35 +05:30
Noel Georgi
bb932c2970
chore: bump containerd to v1.6.4
Bump containerd to v1.6.4

Ref: https://github.com/siderolabs/pkgs/pull/466

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-05-04 00:41:30 +05:30
Noel Georgi
4eaaa2d597
chore: bump kernel to 5.15.37
Bump kernel to 5.15.37

Ref: https://github.com/siderolabs/pkgs/pull/463

Also bump [pkgs](https://github.com/siderolabs/pkgs/pull/465) and [tools](https://github.com/siderolabs/tools/pull/193)

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-05-03 21:36:59 +05:30
Noel Georgi
f06e6acf2f
chore: bump kernel to 5.15.36
Bump kernel to 5.15.36 LTS

Ref:
 - https://github.com/siderolabs/pkgs/pull/458
 - https://github.com/siderolabs/pkgs/pull/460

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-04-28 01:09:54 +05:30
Andrey Smirnov
1973095d14
feat: update containerd to 1.6.3
This includes a fix for image pull slowness from
https://github.com/containerd/containerd/pull/6702.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-04-26 21:43:28 +03:00
Noel Georgi
1d5c08e74f
chore: bump kernel to 5.15.35
Bump kernel to 5.15.35 LTS

Ref: https://github.com/siderolabs/pkgs/pull/454

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-04-20 20:33:10 +05:30
Andrey Smirnov
9bf23e5162
feat: update Kubernetes to 1.24.0-rc.0
See https://github.com/kubernetes/kubernetes/releases/tag/v1.24.0-rc.0

Go modules are not updated due to missing tags:
https://github.com/kubernetes/kubernetes/issues/109565

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-04-20 16:53:51 +03:00
Noel Georgi
610945774a
chore: bump tools and pkgs
Bump tools and pkgs

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-04-18 20:51:21 +05:30
Noel Georgi
bbdfda2dd2
chore: xfs quota support in kernel
XFS quota support in kernel

Ref: https://github.com/siderolabs/pkgs/pull/451

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-04-15 17:02:04 +05:30
Noel Georgi
8ff8fc77f3
chore: enable rpi4 poe hat fan control
Enable the Rpi4 PoE hat fan control by pulling in the overlay
compatible with the upstream kernel driver.

Ref: https://github.com/siderolabs/pkgs/pull/450

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-04-15 00:17:40 +05:30
Noel Georgi
13f41baddf
chore: bump kernel to 5.15.34
Bump kernel to 5.15.34

Ref: https://github.com/siderolabs/pkgs/pull/448

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-04-14 12:19:05 +05:30
Noel Georgi
a91eb9358d
chore: bump deps
Ref:
- https://github.com/siderolabs/tools/pull/185
- https://github.com/siderolabs/pkgs/pull/447
- https://github.com/siderolabs/extras/pull/44

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-04-13 22:22:11 +05:30
Andrey Smirnov
a4060513c6
feat: build Talos with support for x86-64-v2 microarchitecture
See https://github.com/golang/go/wiki/MinimumRequirements#microarchitecture-support

This relies on new Go 1.18 feature to use more efficient x86-64
instructions.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-04-11 21:12:59 +03:00
Noel Georgi
8faebd410b
chore: bump tools and pkgs
Bump tools and pkgs to get kernel 5.15.33

5.15.33 has a bunch of fixes for some CVE's,
it was too hard to track those and reference

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-04-11 19:56:42 +05:30
Dmitriy Matrenichev
a7ba7ea679
feat: migrate to go 1.18
Increase go.mod version from 1.17 to 1.18 in all projects. Update Makefile
to use latest tooling. Fix golangci by disable nolintlint for now.

Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
2022-04-11 17:17:54 +04:00
Andrey Smirnov
9dace93b59
feat: enable Pod Security Admission by default
As Talos 1.1 supports Kubernetes 1.22-1.24, we can finally enable Pod
Security Admission by default:

```yaml
apiVersion: apiserver.config.k8s.io/v1
kind: AdmissionConfiguration
plugins:
- configuration:
    apiVersion: pod-security.admission.config.k8s.io/v1alpha1
    defaults:
      audit: restricted
      audit-version: latest
      enforce: baseline
      enforce-version: latest
      warn: restricted
      warn-version: latest
    exemptions:
      namespaces:
      - kube-system
      runtimeClasses: []
      usernames: []
    kind: PodSecurityConfiguration
  name: PodSecurity
  path: ""
```

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-04-11 15:36:04 +03:00
Tim Jones
da0e638f04
docs: stableize tools versioning
Ensure that the site generation tools are
up to date and match versions.

Signed-off-by: Tim Jones <tim.jones@siderolabs.com>
2022-04-08 15:25:29 +02:00
Noel Georgi
a6eebee36f
chore: update eudev
Update eudev

Ref: https://github.com/siderolabs/pkgs/pull/443

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-04-08 00:05:48 +05:30
Noel Georgi
1e4320b64e
chore: add support for rockpi 4A and 4B
Add support for RockPi 4A and 4B

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-04-06 23:35:16 +05:30
Andrey Smirnov
1ed1f73e51
test: bump CAPI to 1.1.3
This probably fixes the incompatibility with 1.24.0-beta.0.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-03-31 22:50:16 +03:00
Andrey Smirnov
2ee1d2c720
feat: update Kuberentes to 1.24.0-beta.0
See https://github.com/kubernetes/kubernetes/releases/tag/v1.24.0-beta.0

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-03-31 18:06:56 +03:00
Andrey Smirnov
ca8b9c0a3a
feat: update Kubernetes to 1.24.0-alpha.4
See https://github.com/kubernetes/kubernetes/releases/tag/v1.24.0-alpha.4

Fix some incompatibilities around dropped flags/API versions.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-03-30 22:59:07 +03:00
Andrey Smirnov
d9ec6b2151
chore: drop dirty from abbreviated tag
Otherwise `make generate` updates embeddable data file with `-dirty`
stuffix which we don't want.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-03-30 22:06:41 +03:00
Andrey Smirnov
fc23c7a595
test: bump versions for upgrade tests
Use 0.14 -> 1.0 -> master.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-03-30 18:59:48 +03:00
Andrey Smirnov
4bfe686105
feat: update runc to 1.1.1
Also drop kernel sound/PCMCIA, enable random trust CPU, update
for Jetson Nano u-boot.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-03-30 18:17:26 +03:00
Dmitriy Matrenichev
b315ed9532
chore: use go:embed instead of ldflags
Generate separate file for each variable and assign them during go build using go:embed instead of using ldflags -X.

Resolves #5138

Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
2022-03-30 18:15:48 +04:00
Andrey Smirnov
a5d64fc814
feat: update Flannel to 0.17.0
See https://github.com/flannel-io/flannel/releases/tag/v0.17.0

Flannel image was copied without any changes to `ghcr.io` to avoid
Docker Hub download limits.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-03-30 16:42:44 +03:00
Noel Georgi
bd0035f6a2
docs: add NVIDIA docs
Add NVIDIA docs

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-03-29 00:21:48 +05:30
Noel Georgi
e2666f58f5
chore: bump kernel to 5.15.32
Bump kernel to 5.15.32

Ref: https://github.com/siderolabs/pkgs/pull/432

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-03-28 18:26:31 +05:30
Andrey Smirnov
a254254835
feat: update containerd to 1.6.2, Linux to 5.15.31
See:

* https://github.com/siderolabs/pkgs/pull/426
* https://github.com/siderolabs/pkgs/pull/430

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-03-24 17:36:19 +03:00
Dmitriy Matrenichev
e06e1473b0
feat: update golangci-lint to 1.45.0 and gofumpt to 0.3.0
- Update golangci-lint to 1.45.0
- Update gofumpt to 0.3.0
- Fix gofumpt errors
- Add goimports and format imports since gofumports is removed
- Update Dockerfile
- Fix .golangci.yml configuration
- Fix linting errors

Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
2022-03-24 08:14:04 +04:00
Andrey Smirnov
883d401f9f
chore: rename github organization to siderolabs
Go module import paths still use talos-systems, packages use new
siderolabs name.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-03-23 21:07:46 +03:00
Tim Jones
d1294d014f
chore: add day-two tests for e2e-qemu
Uses Sidero Labs d2ctl to install a small sample of
common cluster services to ensure the Talos cluster
is capable.

Signed-off-by: Tim Jones <tim.jones@siderolabs.com>
2022-03-22 20:53:07 +01:00
Andrey Smirnov
a6240e4b67
feat: update Linux to 5.15.30
Also updates linux-firmware, OpenSSL to 1.1.1n.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-03-22 20:52:32 +03:00
Andrey Smirnov
9d69fb6b40
feat: update Kubernetes to 1.23.5
Note: some Go modules are not tagged yet, see https://github.com/kubernetes/kubernetes/issues/108763

See https://github.com/kubernetes/kubernetes/releases/tag/v1.23.5

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-03-17 14:45:46 +03:00
Caleb Woodbine
d256b5c5e4
docs: fix spelling mistakes
Resolve spelling with `misspell -w .`

Signed-off-by: Caleb Woodbine <calebwoodbine.public@gmail.com>
Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-03-15 15:38:25 +03:00
Noel Georgi
5fdedae208
chore: bump kernel to 5.15.28
Bump kernel to 5.15.28

ref: https://github.com/talos-systems/pkgs/pull/417

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-03-14 23:53:42 +05:30
Andrey Smirnov
0aa23cb327
feat: update pkgs to 1.0 versions, Go 1.17.8
Fixes #5080

This updates all package dependencies to 1.0 versions.

Add a GPL note to README.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-03-04 19:18:59 +03:00
Andrey Smirnov
22a4d6b3e6
feat: update containerd to 1.6.1
Also update Linux to 5.15.26.

See https://github.com/talos-systems/pkgs/pull/410

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-03-02 22:48:30 +03:00
Andrey Smirnov
7b33ffbd85
chore: update pkgs and extras
This brings in the following changes:

* https://github.com/talos-systems/pkgs/pull/404
* https://github.com/talos-systems/pkgs/pull/405
* https://github.com/talos-systems/pkgs/pull/406
* https://github.com/talos-systems/pkgs/pull/407

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-02-28 23:19:24 +03:00
Andrey Smirnov
614adf0ffd
feat: update xfsprogs to 5.14.2, replace LibreSSL with OpenSSL
See #4985

Also a bit more cleanup of the rootfs contents.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-02-21 21:31:41 +03:00
Noel Georgi
8a634d5648
chore: bump tools, pkgs, extras
Bump tools, pkgs and extras

Ref:
- https://github.com/talos-systems/tools/pull/171
- https://github.com/talos-systems/extras/pull/39
- https://github.com/talos-systems/pkgs/pull/403

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-02-21 14:49:57 +05:30
Andrey Smirnov
0fe34b3581
feat: update Kubernetes to 1.23.4
See https://github.com/kubernetes/kubernetes/releases/tag/v1.23.4

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-02-17 23:50:34 +03:00
Andrey Smirnov
a9a47b7559
feat: update containerd to 1.6.0
See https://github.com/talos-systems/pkgs/pull/400

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-02-16 17:42:26 +03:00
Andrey Smirnov
1e9f0ad4c6
feat: update Go to 1.17.7, Linux to 5.15.23
See:

* https://github.com/talos-systems/tools/pull/168
* https://github.com/talos-systems/pkgs/pull/395
* https://github.com/talos-systems/pkgs/pull/397
* https://github.com/talos-systems/extras/pull/37

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-02-11 17:40:12 +03:00
Noel Georgi
2bcceb6e43
chore: disable TIPC and B.A.T.M.A.N
Ref: https://github.com/talos-systems/pkgs/pull/394

Kernel size also reduced by 1Meg

Before:

```bash
❯ du -sh _out/vmlinuz-amd64
16M     _out/vmlinuz-amd64

❯ file _out/vmlinuz-amd64
_out/vmlinuz-amd64: Linux kernel x86 boot executable bzImage, version 5.15.22-talos (@buildkitsandbox) #1 SMP Wed Feb 9 19:19:47 UTC 2022, RO-rootFS, swap_dev 0xF, Normal VGA

❯ du -sh _out/vmlinuz-arm64
57M     _out/vmlinuz-arm64
```

After:

```bash
❯ du -sh _out/vmlinuz-amd64
15M     _out/vmlinuz-amd64

❯ file _out/vmlinuz-amd64
_out/vmlinuz-amd64: Linux kernel x86 boot executable bzImage, version 5.15.22-talos (@buildkitsandbox) #1 SMP Thu Feb 10 18:20:11 UTC 2022, RO-rootFS, swap_dev 0xE, Normal VGA

❯ du -sh _out/vmlinuz-arm64
56M     _out/vmlinuz-arm64
```

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-02-11 01:19:14 +05:30
Andrey Smirnov
d991f3982c
chore: update the kernel with IGC driver enabled
https://linux-hardware.org/?id=pci:8086-15f3-1043-87d2

Also bump tools to the version with zstd compression to match pkgs
build.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-02-10 16:10:47 +03:00
Noel Georgi
4f391cd5c5
chore: bump kernel to 5.15.22
Bump kernel to 5.15.22 stable

Ref: https://github.com/talos-systems/pkgs/pull/391

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-02-09 21:17:50 +05:30
Noel Georgi
9302058319
chore: update kernel to 5.15.21
Ump kernel to 5.15.21 stable

Ref: https://github.com/talos-systems/pkgs/pull/390

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-02-07 20:05:18 +05:30
Andrey Smirnov
e47387e419
chore: bump CAPI to 1.0.4
This release contains cert-manager download fix.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-02-03 18:19:42 +03:00
Noel Georgi
446972f211
chore: bump kernel to 5.15.19
Bump kernel to 5.15.19 stable

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-02-02 02:23:33 +05:30
Noel Georgi
036644f7a0
chore: bump kernel to 5.15.18
Bump kernel to 5.15.18 stable

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-01-31 21:54:22 +05:30
Noel Georgi
65e64d425e
chore: update kernel to stable 5.15.17
Bump kernel to 5.15.17

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-01-27 23:10:27 +05:30
Noel Georgi
151c9df091
chore: add CSI tests for e2e-qemu
Add tests for using rook as CSI for e2e-qemu
Allow specifying cpu/memory for workers

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-01-27 20:06:10 +05:30
Andrey Smirnov
85782faa24
feat: update Kubernetes to 1.23.3
Also bumps some dependencies and updates Talos version we use in the
upgrade tests.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-01-26 17:59:21 +03:00
Andrey Smirnov
a0889600fb
chore: fix golangci-lint install
Version was never passed properly, plus the goreleaser is deprecated
now, switch to golangci-lint equivalent script.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-01-26 16:02:31 +03:00
Andrey Smirnov
b1e61fa5b1
chore: update Linux to 5.15.16
See https://www.openwall.com/lists/oss-security/2022/01/18/7

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-01-20 23:28:59 +03:00
Andrey Smirnov
d4b8445935
feat: support CRI configuration merging and reimplement registry config
Containerd doesn't support merging plugin configuration from multiple
sources, and Talos has several pieces which configure CRI plugin:
(see https://github.com/containerd/containerd/issues/5837)

* base config
* registry mirror config
* system extensions
* ...

So we implement our own simple way of merging config parts (by simply
concatenating text files) to build a final `cri.toml`.

At the same time containerd migrated to a new format to specify registry
mirror configuration, while old way (via CRI config) is going to be
removed in 1.7.0. New way also allows to apply most of registry
configuration (except for auth) on the fly.

Also, containerd was updated to 1.6.0-rc.0 and runc to 1.1.0.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-01-20 23:05:20 +03:00
Andrey Smirnov
f94c8c6e1c
feat: update Kubernetes to 1.23.2
See https://github.com/kubernetes/kubernetes/releases/tag/v1.23.2

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-01-20 22:12:03 +03:00
Noel Georgi
6d8bea5d55
feat: jetson nano SoC
Support Jetson Nano SoC

Depends on https://github.com/talos-systems/pkgs/pull/380

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-01-18 20:12:54 +05:30
Serge Logvinov
2869b5eeac
feat: add oraclecloud.com platform support
* cloud-init for oraclecloud (IMDSv2)
* amd64/arm64 arch
* set DHCPv6 on if IPv6 subnet allocated

Signed-off-by: Serge Logvinov <serge.logvinov@sinextra.dev>
Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-01-14 16:56:37 +03:00
Andrey Smirnov
279a3fda7b
feat: update Go to 1.17.6, containerd to 1.5.9
See:

* https://github.com/talos-systems/tools/pull/166
* https://github.com/talos-systems/pkgs/pull/379
* https://github.com/talos-systems/extras/pull/36
* https://github.com/talos-systems/pkgs/pull/379

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-01-10 20:49:01 +03:00
Andrey Smirnov
d02d944ec7
chore: provide umarshal from YAML methods for network resource specs
This will be required to preserve platform network configuration in a
cache across boots. Network configuration will be marshaled to YAML and
unmarshaled back.

Changes are pretty simple and most of the code is auto-generated:
replace `stringer` codegen with `enumer` which produces also methods
which convert from string back to enum values.

Added tests to verify YAML marshaling/unmarshaling.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-01-10 17:00:53 +03:00
Noel Georgi
35bc2940e3
fix: kexec on RPI4
Fixes kexec on RPI4

Since BL31 is now enabled `talosctl shutdown` puts the Pi in a low power state instead of rebooting

Ref: https://github.com/talos-systems/pkgs/pull/375

Signed-off-by: Noel Georgi <git@frezbo.dev>
2021-12-27 23:51:08 +05:30
Andrey Smirnov
b3fbb2f312
test: don't build all images in the default CI pipeline
Instead, build all images for a release and in the integration pipeline
which is triggered `nightly` and can be promoted to with
`/promote integration-images`.

This saves time and resources on regular builds.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-12-24 22:56:34 +03:00
Andrey Smirnov
83e8bec6b9
feat: update Linux to 5.15.11
Cleanup release.toml in preparation for 0.15-alpha.0 release.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-12-24 21:21:58 +03:00
Andrey Smirnov
80350861a2
feat: update Kubernetes to 1.23.1
See https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.23.md#changelog-since-v1230

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-12-16 22:13:24 +03:00
Spencer Smith
3af56bd2e7
test: update capi templates to v1beta1
This PR uplifts our E2E tests to use the latest CAPI templates and
providers

Signed-off-by: Spencer Smith <spencer.smith@talos-systems.com>
2021-12-14 15:41:23 -05:00
Andrey Smirnov
2dd0b5b68a
chore: update Go to 1.17.5
See:

* https://github.com/talos-systems/tools/pull/163
* https://github.com/talos-systems/pkgs/pull/370
* https://github.com/talos-systems/extras/pull/34

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-12-09 23:48:31 +03:00
Andrey Smirnov
8e1d0bfb5f
feat: update Kubernetes to 1.23.0
See https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.23.md#changelog-since-v1220

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-12-08 18:51:11 +03:00
Andrey Smirnov
a5a6c720e9
chore: remove boot-{arch}.tar.gz artifact
Fixes #3311

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-12-07 17:21:00 +03:00
Andrey Smirnov
b4b3e21333
chore: bump tools/pkgs/extra to final released versions
In preparation for beta release, use final released versions.

There should be no actual package updates, just bumped versions.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-12-06 23:01:51 +03:00
Andrey Smirnov
36c9a65ac0
feat: update deps and Kubernetes to 1.23.0-rc.1
Update Go modules to the latest versions including talos-systems/
released modules.

In preparation for 0.14-beta release.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-12-06 18:43:26 +03:00
Andrey Smirnov
64a4f6e77c
test: bump Talos versions in upgrade tests
In preparation for going 0.14-beta.0, bump versions in upgrade tests.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-12-06 18:07:24 +03:00
Andrey Smirnov
d2ebda78cc
feat: update runc to 1.0.3
Fixes #4648

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-12-06 17:46:11 +03:00
Andrey Smirnov
961d1567d9
chore: update Go to 1.17.4
This also pulls in RPi hw support.

Fixes #4491

See:

* https://github.com/talos-systems/tools/pull/161
* https://github.com/talos-systems/pkgs/pull/365
* https://github.com/talos-systems/pkgs/pull/366
* https://github.com/talos-systems/extras/pull/32

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-12-06 16:27:44 +03:00
Andrey Smirnov
2a0da06247
feat: split installer and imager images
The `installer` image is used for initial install and upgrades, so it
contains only Talos artifacts for the same arch as the image

The `imager` image is used to produce Talos images, so it contains artifacts
for all arhitectures, so that it's possible e.g. to build Raspberry PI
Talos image on amd64 machine

Unpacked size comparison for amd64 (before this change, size of
`installer` was same as `imager` size):

```
REPOSITORY                               TAG                                      IMAGE ID       CREATED         SIZE
ghcr.io/smira/installer                  v0.14.0-alpha.2-8-g73293bc2-dirty        264995cf56df   4 minutes ago   176MB
ghcr.io/smira/imager                     v0.14.0-alpha.2-8-g73293bc2-dirty        3ba8e0176565   6 minutes ago   616MB
```

As the `installer` image is pulled into `tmpfs` on upgrade, it's important
to have it as small as possible to avoid putting too much pressure on
node memory.

Both images are generated anyways for both `amd64` and `arm64` target
architectures.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-12-03 14:37:45 +03:00
Andrey Smirnov
1a13aaa239
feat: update Linux to 5.15.6
See https://github.com/talos-systems/pkgs/pull/364

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-12-03 13:56:36 +03:00
Andrey Smirnov
99338e5ffd
feat: update Flannel to 0.15.1
https://github.com/flannel-io/flannel/releases/tag/v0.15.1

Also updates CNI plugins to 1.0.1.

See:

* https://github.com/talos-systems/pkgs/pull/363
* https://github.com/talos-systems/extras/pull/31

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-12-02 17:48:41 +03:00
Andrey Smirnov
e9f4b7b204
feat: update Linux to 5.15.5
See https://github.com/talos-systems/pkgs/pull/362

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-11-30 18:58:08 +03:00
Alexey Palazhchenko
8d1cbeef9f
chore: add API breaking changes detector
Closes #4576.

Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@talos-systems.com>
2021-11-30 15:06:05 +00:00
Andrey Smirnov
f3149780e6
feat: update Kubernetes to 1.23.0-rc.0
Still no proper tags for Kubernetes modules (known issue upstream).

Also bump dependencies.

Closes #4605 closes #4606

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-11-29 16:22:46 +03:00
Andrey Smirnov
e6d007418e
feat: update pkgs - Linux 5.15.4, LibreSSL 3.2.7
PRs:

* https://github.com/talos-systems/pkgs/pull/360
* https://github.com/talos-systems/pkgs/pull/361

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-11-25 21:03:32 +03:00
Alexey Palazhchenko
20d39c0b48
chore: format .proto files
Refs #2722.

Co-authored-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@talos-systems.com>
2021-11-23 15:05:25 +00:00
Andrey Smirnov
6487b21feb
feat: update pkgs for u-boot, containerd, etc
PRs:

* https://github.com/talos-systems/pkgs/pull/356
* https://github.com/talos-systems/pkgs/pull/357
* https://github.com/talos-systems/pkgs/pull/359

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-11-22 22:44:42 +03:00
Andrey Smirnov
7c9b082f74
feat: update Kubernetes to 1.23.0-beta.0
Go modules were not tagged this time: https://github.com/kubernetes/kubernetes/issues/106529

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-11-18 16:50:46 +03:00
Alexey Palazhchenko
7462733bcb
chore: update golangci-lint
Fix context propagation.

Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@talos-systems.com>
2021-11-15 14:55:25 +00:00
Nico Berlee
4a5cff45f3
perf: raspberry PIs clockspeed as fast as firmware allows
The recent PI OS came with a default turbo-mode clock increase for newer PI4s. (https://www.raspberrypi.com/news/bullseye-bonus-1-8ghz-raspberry-pi-4/)
Check your model with:
`talosctl -n <node> read /sys/firmware/devicetree/base/model`
if it says:
`Raspberry Pi 4 Model B Rev 1.4`
This change will bring your boost clockspeed to `1800000`

To check your increase of this feature execute:
`talosctl -n <node> read /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq`

Please merge first PR : https://github.com/talos-systems/pkgs/pull/353

Signed-off-by: Nico Berlee <nico.berlee@on2it.net>
2021-11-15 14:18:56 +00:00
Alexey Palazhchenko
189221d589
chore: update dependencies
Closes #4538.
Closes #4539.
Closes #4540.

Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@talos-systems.com>
2021-11-15 12:10:03 +00:00
Andrey Smirnov
a50483dddf
feat: update Linux to 5.15.1
5.15 is the new LTS: https://www.kernel.org/category/releases.html

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-11-11 20:54:43 +03:00
Alexey Palazhchenko
785161d19f
feat: update k8s to 1.23.0-alpha.4
See https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.23.md#v1230-alpha4

Closes #4495.
Closes #4498.
Closes #4499.
Closes #4500.
Closes #4501.

Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@talos-systems.com>
2021-11-08 19:37:25 +00:00
Alexey Palazhchenko
6e16fd2fee
chore: update tools, pkgs, and extras
To use Go 1.17.3.

Closes #4493.
Closes #4496.

Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@talos-systems.com>
2021-11-08 16:00:00 +00:00
Andrey Smirnov
dd196d3006
refactor: prepare for move of pkg/resources to machinery
Start enforcing importvet rules, the very first cleanup is breaking
dependency of `pkg/resources` on `pkg/kernel` (only machinery imports
are allowed).

Follow-up PRs will address other problematic imports.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-10-29 12:09:40 +03:00
Andrey Smirnov
ae5af9d3fa
feat: update Kubernetes to 1.23.0-alpha.3
See https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.23.md#v1230-alpha3

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-10-22 14:59:41 +03:00
Andrey Smirnov
36b6ace253
feat: update Linux to 5.10.75
This also brings many drivers added recently via pkgs PRs:

* QLogic QED 25/40/100Gb Ethernet NIC driver
* SuperMicro raid controller
* Intel VMD driver
* smarpqi driver

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-10-21 20:33:51 +03:00
Andrey Smirnov
38516a5499
test: update Talos versions in upgrade tests
Now 0.13.0 is the past release and 0.12.3 is the one before it.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-10-21 17:36:30 +03:00
Andrey Smirnov
9bd4838ac1
chore: stop using sonobuoy CLI
We already have (better) way to run short conformance tests via
`talosctl`.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-10-15 12:34:53 +03:00
Alexey Palazhchenko
8cf442daa6
chore: bump tools, pkgs, extras
To use Go 1.17.2.

Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@talos-systems.com>
2021-10-14 09:19:00 +00:00
Andrey Smirnov
e44b11c595
feat: update containerd to 1.5.7, bump Go dependencies
containerd: https://github.com/containerd/containerd/releases/tag/v1.5.7

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-10-12 20:59:13 +03:00
Artem Chernyshev
877a2b6fc0
test: bump CAPI components to v1alpha4
Alpha versions of talos providers for now.

Signed-off-by: Artem Chernyshev <artem.chernyshev@talos-systems.com>
2021-10-12 12:48:15 +03:00
Andrey Smirnov
5f277713f0
chore: prepare for 0.13-beta release
Update component versions, Go module versions.

Add platform tiers to the support matrix.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-10-01 17:15:31 +03:00
Andrey Smirnov
44a63e9a4d
feat: update containerd to 1.5.6
This also updates runc to 1.0.2, libseccomp to 2.5.2.

See also https://github.com/containerd/containerd/releases/tag/v1.5.6

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-09-30 16:17:42 +03:00
Serge Logvinov
353d632ae5
feat: add nocloud platform support
* fetch cdrom/net nocloud config
* apply simple network configuration

Signed-off-by: Serge Logvinov <serge.logvinov@sinextra.dev>
Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-09-28 16:32:12 +03:00
Andrey Smirnov
628fbf9b48
chore: update Linux to 5.10.69
See https://github.com/talos-systems/pkgs/pull/336

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-09-28 15:44:08 +03:00
Andrey Smirnov
d943bb0e28
feat: update Kubernetes to 1.22.2
See https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.22.md

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-09-16 13:59:51 +03:00
Serge Logvinov
19a8ae97c6
feat: add vultr.com cloud support
* cloud-init for vultr.com
* ipv4/v6 support
* set static IPs for private interface

Signed-off-by: Serge Logvinov <serge.logvinov@sinextra.dev>
Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-09-14 22:58:30 +03:00
Andrey Smirnov
a059454045
chore: build using Go 1.17
`initramfs` size for amd64 shrinks by 1.3 MiB.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-09-13 22:33:47 +03:00
Serge Logvinov
b1bd642508
fix: build platform images
forgot to add platforms
* scaleway
* upcloud

Signed-off-by: Serge Logvinov <serge.logvinov@sinextra.dev>
Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-09-09 23:56:45 +03:00
Serge Logvinov
812d59c700
feat: add hetzner.com cloud support
* cloud-init for hcloud
* set ipv6 to the interface

Signed-off-by: Serge Logvinov <serge.logvinov@sinextra.dev>
Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-09-07 21:33:15 +03:00
Andrey Smirnov
2dfe7f1fc6
chore: bump tools to the latest version
In the PR #4186 tools were bumped to the wrong version.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-09-06 21:47:22 +03:00
Andrey Smirnov
d69bd2af3e
chore: enable GPG identity check for Talos
This check enforces that commit should not only be signed by GPG
signature, but also signature identity should be one of the
`talos-systems` organization members.

Talos welcomes all external contributions, this check just means that
the commit will be signed with one of the org members before merge.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-09-02 17:04:02 +03:00
Andrey Smirnov
8dbd851fde
chore: update tools/pkgs/extras to the new version
This pulls in latest master versions of tools/pkgs/extras:

* new reproducible toolchain with GCC 11.2
* fix for the `strip` to be multi-arch
* new reproducible tools
* updated pkgs with fixes for GCC 11.2
* updated extras

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-09-01 23:41:09 +03:00
Andrey Smirnov
950f122c95
chore: update versions in upgrade tests
In preparation for 0.13, start testing upgrades to 0.12.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-08-25 18:02:47 +03:00
Andrey Smirnov
57a77696ef
feat: update Kubernetes to 1.22.1
See https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.22.md#changelog-since-v1220

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@talos-systems.com>
2021-08-23 09:58:02 +00:00
Andrey Smirnov
c601dc73f6
chore: update versions to final release tags
No real functional changes, just updating to the final versions before
Talos 0.12 release.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-08-17 18:06:07 +03:00
Andrey Smirnov
82731124b2
chore: run e2e-qemu test against Talos with race-detector enabled
Race-detector enabled image is pushed with a tag next to normal image,
regular integration test is ran against the image.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-08-16 20:13:46 +03:00
Andrey Smirnov
0ef8f83acf
chore: bump dependencies via dependabot
PRs #4079 #4080 #4081 #4082 #4083 #4084 #4085

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-08-16 16:33:52 +03:00
Andrey Smirnov
2108fd7b6c
feat: update Linux to 5.10.58 and many pkgs updates
* util-linux: 2.37
* LibreSSL: 3.2.5
* linux-firmware: 20210716
* eudev: 3.2.10
* u-boot: 2021.07
* raspberrypi-firmware: 1.20210805

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-08-16 16:02:22 +03:00
Andrey Smirnov
5b57a98008
chore: update Go to 1.16.7, Linux to 5.10.57
See:

* https://github.com/talos-systems/tools/pull/144
* https://github.com/talos-systems/pkgs/pull/319
* https://github.com/talos-systems/extras/pull/24

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-08-12 18:31:03 +03:00
Andrey Smirnov
faecae44fd feat: make ISO builds reproducible
This relies on changes in GRUB and other utilities to respect
`SOURCE_DATE_EPOCH`.

Variable `SOURCE_DATE_EPOCH` is set to the timestamp of the last git
commit which makes it deterministic, but still changes for each
release/commit.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-08-11 09:20:07 -07:00
Alexey Palazhchenko
4dae9ea55c chore: use vtprotobuf compiled marshaling in Talos API
Use `vtprobuf` optimized Marshal/Unmarshal methods which do not depend
on reflection to reduce memory and CPU usage while using Talos API.

See https://github.com/planetscale/vtprotobuf and
https://vitess.io/blog/2021-06-03-a-new-protobuf-generator-for-go/

Co-authored-by: Andrey Smirnov <smirnov.andrey@gmail.com>
Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@talos-systems.com>
2021-08-09 08:42:13 -07:00
Andrey Smirnov
1f7dad234b chore: update PKGS version (512 cpus, new ca-certficates)
This pulls in a change to bump number of max CPUs in the kernel to 512
and update ca-certificates.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-08-09 06:54:14 -07:00
Alexey Palazhchenko
09d70b7eaf feat: update Kubernetes to v1.22.0
Closes #3967.
Closes #3997.

Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@talos-systems.com>
2021-08-06 09:06:32 -07:00
Andrey Smirnov
628902297d feat: update GRUB to 2.06
See https://github.com/talos-systems/pkgs/pull/310

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-08-04 10:07:21 -07:00
Andrey Smirnov
79b8fa64b9 feat: update containerd to 1.5.5
* https://github.com/containerd/containerd/releases/tag/v1.5.5

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-08-03 10:26:21 -07:00
Alexey Palazhchenko
585152a0be chore: bump dependencies
Closes #3983.
Closes #3984.
Closes #3985.

Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@gmail.com>
2021-07-26 04:37:25 -07:00
Spencer Smith
7332d63695 fix: bump pkgs for new kernel 5.10.52
This PR pulls in new pkgs to ensure we're patched against CVE-2021-33909

Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2021-07-22 13:18:42 -07:00
Alexey Palazhchenko
0953b19985 chore: update extras to bring a new CNI bundle
https://github.com/containernetworking/plugins/releases/tag/v0.9.1

Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@gmail.com>
2021-07-20 07:27:13 -07:00
Alexey Palazhchenko
c780821d0b feat: update containerd to 1.5.3, runc to 1.0.1
Update pkgs and constants.

Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@gmail.com>
2021-07-19 08:56:32 -07:00
Artem Chernyshev
55e17ccdd1 chore: bump dependencies
Fixes: https://github.com/talos-systems/talos/pull/3954 https://github.com/talos-systems/talos/pull/3955 https://github.com/talos-systems/talos/pull/3956 https://github.com/talos-systems/talos/pull/3957 https://github.com/talos-systems/talos/pull/3958 https://github.com/talos-systems/talos/pull/3959 https://github.com/talos-systems/talos/pull/3960 https://github.com/talos-systems/talos/pull/3961 https://github.com/talos-systems/talos/pull/3962 https://github.com/talos-systems/talos/pull/3963 https://github.com/talos-systems/talos/pull/3964

And update kubelet to 1.21.3.

Signed-off-by: Artem Chernyshev <artem.0xD2@gmail.com>
2021-07-19 06:06:01 -07:00
Andrey Smirnov
9c73257cb1 feat: update Go to 1.16.6
See:

* https://github.com/talos-systems/tools/pull/140
* https://github.com/talos-systems/pkgs/pull/300
* https://github.com/talos-systems/extras/pull/21

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-07-14 06:44:22 -07:00
Andrey Smirnov
d930a26502 chore: implement DeepCopy for machine configuration
Resources code extensively uses DeepCopy to prevent in-memory copy of
the resource to be mutated outside of the resource model.

Previous implementation relied on YAML serialization to copy the
machine configuration which was slow, potentially might lead to panics
and it generates pressure on garbage collection.

This implementation uses k8s code generator to generate DeepCopy methods
with some manual helpers when code generator can't handle it.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-07-08 07:21:24 -07:00
Andrey Smirnov
fe4ed3c734 chore: ignore tags which don't look like semantic version
This allows us to use tags for Go submodules `pkg/machinery/v0.11.0` and
still keeps Talos tag follow semantic version `v0.11.0`.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-07-08 07:20:04 -07:00
Spencer Smith
444d72b4d7 feat: update pkgs version
This PR bumps pkgs to v0.7.0-alpha.0, so that we gain a fix for
hotplugging of nvme drives.

Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2021-07-01 07:55:00 -07:00
Andrey Smirnov
84817f7334 chore: bump Talos version in upgrade tests
Preparing for 0.11 to be stable release soon.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-06-29 07:24:48 -07:00
Alexey Palazhchenko
ad047a7dee chore: small RBAC improvements
* `talosctl config new` now sets endpoints in the generated config.
* Avoid duplication of roles in metadata.
* Remove method name prefix handling. All methods should be set explicitly.
* Add tests.

Closes #3421.

Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@gmail.com>
2021-06-25 05:50:38 -07:00
Andrey Smirnov
8d60abff7a chore: use tagged versions of bldr dependencies for 0.11
No actual changes, just tag updates.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-06-24 07:17:16 -07:00
Andrew Rynhard
0fd9ea2d63 feat: enable MACVTAP support
Brings in the latest version of `pkgs` with a kernel that has MACVTAP
support.

Signed-off-by: Andrew Rynhard <andrew@rynhard.io>
2021-06-23 05:17:33 -07:00
Spencer Smith
898673e8d3 chore: update e2e tests to use latest capi releases
This PR version bumps cacppt, cabpt, capa, capg, and cluster api itself

Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2021-06-22 12:37:22 -07:00
Andrey Smirnov
004885a379 feat: update Linux kernel to 5.10.45, etcd to 3.4.16
This also pulls in HP ILO driver, dmesg restrict mode by default and
dm-crypt options.

See talos-systems/pkgs#289, talos-systems/pkgs#290,
talos-systems/pkgs#287

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-06-22 02:42:09 -07:00
Alexey Palazhchenko
42c16f67f4 chore: bump dependencies
Update k8s to 1.21.2.

See #3787 #3788 #3789 #3790 #3791 #3792 #3793 #3794 #3795 #3796 #3798.

Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@gmail.com>
2021-06-21 07:05:41 -07:00
Jorik Jonker
973069b611 feat: support NFS 4.1
Talos lacked NFS 4.1 support, which is enabled through this patch.

Signed-off-by: Jorik Jonker <jorik.jonker@eu.equinix.com>
2021-06-16 08:10:26 -07:00
Alexey Palazhchenko
c031be8139 chore: use Go 1.16.5
Bump tools, pkgs, extras.

Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@gmail.com>
2021-06-07 09:02:43 -07:00
Andrey Smirnov
046b229b13 chore: skip building multi-arch installer for race-enabled build
Go cross-compilation is not quite compatible with Go race detector, as C
toolchain is not cross-compilation ready.

Workaround is really simple: for race-enabled builds, don't build
multi-arch installer image (that is installer image which contains both
amd64 and arm64 Talos artifacts), but build installer artifacts only for
the target arch (skipping cross-compilation).

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-05-31 11:04:55 -07:00
Andrey Smirnov
c096294663 chore: prepare for 0.11 release series
Remove `parsebool.sh` script as it's causing issues when the
release-tool is running `Makefile` commands to extract variable values.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-05-26 08:49:22 -07:00
Andrey Smirnov
04ddda962f feat: update containerd to 1.5.2, runc to 1.0.0-rc95
This also updates libseccomp and add support for `netxen` networkd card.

This addresses[CVE-2021-30465](https://github.com/opencontainers/runc/security/advisories/GHSA-c3xm-pvg7-gh7r).

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-05-19 15:24:28 -07:00
Andrey Smirnov
6bc6658b51 feat: update containerd to 1.5.1
See https://github.com/containerd/containerd/releases/tag/v1.5.1

Also brings Talos kernel with Geneve encapsulation for Openvswitch (see
talos-systems/pkgs#278).

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-05-17 10:33:49 -07:00
Alexey Palazhchenko
61ccbb3f5a chore: keep debug symbols in debug builds
Makes debugging easier.

Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@gmail.com>
2021-05-17 04:58:46 -07:00
Andrey Smirnov
76e38b7b82 feat: update Kubernetes to 1.21.1
See https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.21.md

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-05-13 08:05:08 -07:00
Alexey Palazhchenko
9b1338d989 chore: parse "boolean" variables
Makes `make WITH_DEBUG=1` work.

Refs #3534.

Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@gmail.com>
2021-05-13 03:54:33 -07:00
Alexey Palazhchenko
c81cfb2167 chore: allow building with debug handlers
Refs #3534.

Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@gmail.com>
2021-05-13 02:20:15 -07:00
Andrey Smirnov
95c656fb72 feat: update containerd to 1.5.0, runc to 1.0.0-rc94
Fixes #3538

See also talos-systems/pkgs#276

As new containerd is now Go module-based, it pulls many more
dependencies if simply imported in `go.mod`, so I had to replace the
reference to the constant in `pkg/machinery/` to `containerd` volume
with simple value to avoid pulling Kubernetes dependencies into
`pkg/machinery`.

Also updates the kernel to include PR talos-systems/pkgs#275 for AES-NI
support.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-05-11 14:43:27 -07:00
Jorik Jonker
5de8dbc06c fix: repair pine64 support
Apparently, I submitted non working board support earlier. This commit
fixes that and also adds the boards to both `sbcs` target and drone CI.

Signed-off-by: Jorik Jonker <jorik@kippendief.biz>
2021-05-05 11:11:53 -07:00
Jorik Jonker
e480fedff0 feat: add USB serial drivers
This commit adds support for:
- PL2303
- CP210x
- CH341
- FTDI SIO

Signed-off-by: Jorik Jonker <jorik.jonker@eu.equinix.com>
2021-04-29 09:36:45 -07:00
Jorik Jonker
1092c3a506 feat: add Pine64 SBC support
This add support for the Pine64 and Pine64+ ARM64 SBCs.

Signed-off-by: Jorik Jonker <jorik@kippendief.biz>
2021-04-29 07:16:11 -07:00
Artem Chernyshev
63e0175437 feat: pull kernel with VMware balloon module enabled
Enable memory overcommit for VMware setup.

Signed-off-by: Artem Chernyshev <artem.0xD2@gmail.com>
2021-04-28 13:14:28 -07:00
Andrey Smirnov
5fb38d3e5f chore: refactor Dockerfile for cross-compilation
This has two big visible changes:

* `installer` image now contains assets for both `amd64` and `arm64`, so
it can be used to generate any Talos image (including RPi on amd64 host)
* Talos is using cross-compilation instead of emulation to build
non-native architectures: on amd64, Go amd64 compiler produces binaries
for both arm64 and amd64
(before this change: Go arm64 compiler via QEMU produces arm64 binaries on amd64)

CI implications: we no longer require arm64 nodes.

Changes walkthrough:

* `installer` container now keeps assets under `/usr/install/<arch>`
* Dockerfile build starts forcing toolchain/base image to use the build
host native architecture, not target architecture
* lots of duplication for amd64/arm64 as we want to combine assets for
both arches in a single image (e.g. we have multi-arch amd64/arm64
installer image, each arch has native installer binary, but both arches
contain full set of amd64/arm64 assets)
* fixed a small bug preventing arm64 on amd64 talosctl cluster create

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-04-20 13:11:38 -07:00
Spencer Smith
bb40d6dd06 feat: update pkgs version
This updates the pkgs version to pull in a fix for CPU scaling on
raspberry pi. It will be backported to release-0.10 upon merge.

Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2021-04-16 09:50:30 -07:00
Andrey Smirnov
f98185408d chore: fix conform with scopes
In recent versions of conform, scope is regexp so `*` is not a valid
regexp.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-04-13 15:00:36 -07:00
Andrey Smirnov
04dbafca72 feat: update Linux to 5.10.29
Also brings tools/pkgs/extras re-tagged from a stable branch for Talos
0.10 release.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-04-12 14:09:45 -07:00
Alexey Palazhchenko
cae25909f3 chore: use Go 1.16 global install command
Plus add stringer tool.

Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@gmail.com>
2021-04-12 07:40:29 -07:00
Andrey Smirnov
e3585f24bc chore: update Linux to 5.10.28, u-boot to final 2021.04 release
See talos-systems/pkgs#261 talos-systems/pkgs#262

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-04-10 07:30:10 -07:00
Andrey Smirnov
daf2208749 test: update upgrade tests to 0.10 release
In preparation for going 0.10 beta, start testing upgrades to 0.10, drop
0.8 and self-hosted control plane handling in the tests.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-04-09 12:57:04 -07:00
Alexey Palazhchenko
37a5edf04a feat: update Kubernetes to 1.21.0 release
See CHANGELOG:
https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.21.md

Closes #3329.

Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@gmail.com>
2021-04-09 20:08:20 +03:00
Alexey Palazhchenko
aca63b8829 docs: fix "DigitalOcean" spelling
Refs #3427.

Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@gmail.com>
2021-04-07 09:13:24 -07:00
Alexey Palazhchenko
8737ea716a feat: allow external cloud provides configration
Closes #3312.

Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@gmail.com>
2021-04-06 22:54:24 -07:00
Andrey Smirnov
3909e2d011 chore: update Go to 1.16.3
See talos-systems/tools#134 talos-systems/pkgs#260
talos-systems/extras#16

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-04-06 13:53:53 -07:00
Andrey Smirnov
abc2e17ebb test: update 0.9.x version in upgrade tests to 0.9.1
Version 0.9.1 contains a fix for concurrent map write on unmount which
was frequently breaking our upgrade tests.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-04-02 03:59:36 -07:00
Andrey Smirnov
a43acb2150 feat: bring in Linux 5.10.27, support for 32-bit time syscalls
This provides binary compatibility for really old binaries using 32-bit
time.

See also: talos-systems/pkgs#259

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-04-01 08:21:37 -07:00
Andrey Smirnov
8309312a3d chore: build components with race detector enabled in dev mode
This provides a variable to build core Talos components with race
detector enabled: `make initramfs WITH_RACE=yes`.

Also refactored and DRYed up the build code exposing common build/link
flags via the Makefile.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-03-31 10:55:50 -07:00
Andrey Smirnov
204caf8eb9 test: fix apply-config integration test, bump clusterctl version
Tests for ApplyConfig API were relying on not really supported behavior
of modifying config via the `Provider` interface (and it was "fixed" in
another PR which cleans up such access to the configuration).

Cluster version bumped to try to workaround strange CAPI bootstrap
failures in e2e-capi.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-03-31 09:55:53 -07:00
Alexey Palazhchenko
a9451f5712 feat: update Kubernetes to 1.21.0-beta.1
See CHANGELOG:
https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.21.md

Refs #3329.

Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@gmail.com>
2021-03-30 03:07:03 -07:00
Alexey Palazhchenko
ed272e604e feat: update Kubernetes to 1.21.0-beta.0
See CHANGELOG:
https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.21.md

Refs #3329.

Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@gmail.com>
2021-03-24 07:36:54 -07:00
Alexey Palazhchenko
f4a6a19cd1 chore: update sonobuoy
To stay current.

Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@gmail.com>
2021-03-23 04:49:44 -07:00
Andrey Smirnov
dc294db16c chore: bump dependencies via dependabot
PRs #3336 #3337 #3338 #3339

Also bump proto tools via talos-systems/tools#133

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-03-22 13:58:08 -07:00
Artem Chernyshev
fc9c416a3c fix: build rockpi4 metal image as part of CI build
Added rockpi_4 to the list of sbcs targets in the Makefile.

Signed-off-by: Artem Chernyshev <artem.0xD2@gmail.com>
2021-03-19 21:30:36 -07:00
Alexey Palazhchenko
5b14d6f2b8 chore: fix make help output
`e2e-%` was missing due to bad regex.

Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@gmail.com>
2021-03-19 06:08:43 -07:00
Andrey Smirnov
f0512dfce9 feat: update Kubernetes to 1.20.5
See CHANGELOG:
https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.20.md#changelog-since-v1204

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-03-19 03:14:46 -07:00
bzub
24cd0a2067 feat: publish talosctl container image
Creates a new container image and corresponding Makefile target.

Signed-off-by: bzub <Bryan.Zubrod@target.com>
2021-03-18 13:25:32 -07:00
Alexey Palazhchenko
ecf034496e chore: bump Go to 1.16.2
Bump tools, pkgs, and extras.

Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@gmail.com>
2021-03-17 10:35:37 -07:00
Alexey Palazhchenko
0dbaeb9e65 chore: update tools, use new generators
To stay current.

Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@gmail.com>
2021-03-16 11:17:15 -07:00
Alexey Palazhchenko
891f90fee9 chore: update Linux to 5.10.23
Update pkgs.

Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@gmail.com>
2021-03-15 09:52:02 -07:00
Andrey Smirnov
ca8a5596c7 chore: fix provision tests after changes to build-container
CNI was removed from build-container which works fine for
`talosctl cluster create` clusters as it installs its own CNI, but fails
for upgrade tests as they were never updated for the CNI bundle.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-03-12 09:59:15 -08:00
Artem Chernyshev
83b4e7f744 feat: add Rock pi 4 support
Another nice addition to the list of supported SBCs.

Signed-off-by: Artem Chernyshev <artem.0xD2@gmail.com>
2021-03-12 05:08:29 -08:00
Andrey Smirnov
ee5d9ffac6 chore: bump Go to 1.16.1
This is major Go update to 1.16.x branch.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-03-11 12:52:01 -08:00
Andrey Smirnov
f4ca6e9a6e feat: update containerd to version 1.4.4
See https://github.com/containerd/containerd/releases/tag/v1.4.4

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-03-05 11:00:21 -08:00
Andrey Smirnov
3084a3f35b chore: update tools/pkgs/extras tags
No actual changes, just referencing tagged releases for 0.9.0.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-03-05 07:29:36 -08:00
Andrey Smirnov
7e8f13652c chore: fix upgrade tests by bumping 0.9 to alpha.5
Resources/types were renamed after alpha.4, so we need Talos API to
match expectations of the upgrade test built against master.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-03-03 13:53:06 -08:00
Spencer Smith
a241e9ee47 feat: update linux kernel to 5.10.19
This PR pulls in a new version of pkgs which includes a linux kernel
bump.

Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2021-03-02 11:08:40 -08:00
Andrey Smirnov
1d8ed9b5cd chore: update provision/upgrade tests to 0.9.0-alpha.3
This drops support for 0.7.x in upgrade tests, and bumps tests to use
version 0.9.0-alpha.3 as the next stable (it will eventually graduate to
0.9.0).

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-03-02 07:11:16 -08:00
Andrey Smirnov
84ad6cbb1a chore: switch CI to stop embedding local registry into the builds
This adds new `IMAGE_REGISTRY` variable (similar to `IMAGE_TAG`) which
affects only the registry image gets pushed to, but it's not built into
the binaries and images as a default registry.

This fixes a problem when release builds reference our CI local
registry.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-02-24 18:05:37 +03:00
Andrey Smirnov
3b672d342d feat: u-boot 2021.01, ca-certificates update, Linux file ACLs
This brings in following PRs from pkgs:

* talos-systems/pkgs#243
* talos-systems/pkgs#244
* talos-systems/pkgs#245

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-02-20 12:44:26 -08:00
Andrey Smirnov
e9fc54f6e3 feat: update Kubernetes to 1.20.3
https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.20.md#changelog-since-v1202

Also updater pkgs for:

* talos-systems/pkgs#238 (raspberrypi-firmware update)
* talos-systems/pkgs#242 (Linux 5.10.17 + init_on_free=0)

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-02-19 05:22:34 -08:00
Andrey Smirnov
7751920dba feat: add a tool and package to convert self-hosted CP to static pods
This is required to upgrade from Talos 0.8.x to 0.9.x. After the cluster
is fully upgraded, control plane is still self-hosted (as it was
bootstrapped with bootkube).

Tool `talosctl convert-k8s` (and library behind it) performs the upgrade
to self-hosted version.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-02-17 23:26:57 -08:00
Spencer Smith
f1d1f72b58 chore(ci): update gcp templates
This PR moves to using the official CAPG provider release, as well as
making use of our snazzy new capi templates.

Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2021-02-17 10:33:41 -05:00
Andrey Smirnov
b315a7e1f8 chore: rework Drone pipelines
Collapse builds steps, split integration tests into multiple pipelines,
save and load build artifacts.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-02-17 17:16:02 +03:00
Andrey Smirnov
aa9bef2785 feat: bump Go to 1.15.8
See talos-systems/tools#126, talos-systems/pkgs#241,
talos-systems/extras#10

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-02-16 11:24:44 -08:00
Andrey Smirnov
f9896777fc feat: update Linux to 5.10.14
See talos-systems/pkgs#240

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-02-10 09:41:59 -08:00
Andrey Smirnov
7f3dca8e4c test: add support for IPv6 in talosctl cluster create
Modify provision library to support multiple IPs, CIDRs, gateways, which
can be IPv4/IPv6. Based on IP types, enable services in the cluster to
run DHCPv4/DHCPv6 in the test environment.

There's outstanding bug left with routes not being properly set up in
the cluster so, IPs are not properly routable, but DHCPv6 works and IPs
are allocated (validates DHCPv6 client).

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-02-09 13:28:53 -08:00
Andrew Rynhard
6eafca037d feat: update kernel
Brings in:

- hyperv_utils
- NVMe over TCP

Signed-off-by: Andrew Rynhard <andrew@rynhard.io>
2021-02-01 15:56:58 -08:00
Andrey Smirnov
e9aa494775 feat: update Linux to 5.10.7, musl-libc to 1.2.2
Musl update fixes CVE-2020-28928.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-01-18 04:58:14 -08:00
Artem Chernyshev
9883d0af19 feat: support Wireguard networking
This the first iteration of Wireguard network support.
What was done:
- kernel was updated to enable Wireguard kernel module.
- changed networkd to support creating Wireguard device type.
- used wgctrl to configure wireguard.
- updated `talosctl cluster create` to support generating Wireguard
network configuration automatically by just specifying the network cidr.
- added docs about Wireguard support/how to use it.

Signed-off-by: Artem Chernyshev <artem.0xD2@gmail.com>
2021-01-14 15:51:14 +03:00
Alexey Palazhchenko
275ca76c5b chore: update protobuf, grpc-go, prototool
To stay current.

Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@gmail.com>
2021-01-11 08:52:58 -08:00
Artem Chernyshev
f9ff4848e0 feat: bump pkgs for kernel with CONFIG_IPV6_MULTIPLE_TABLES
This pulls in:

https://github.com/talos-systems/pkgs/pull/227

Signed-off-by: Artem Chernyshev <artem.0xD2@gmail.com>
2020-12-28 08:18:28 -08:00
Andrey Smirnov
f2c029a07d chore: update upgrade test version used
Now with official 0.8.0 release.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-12-24 18:49:29 +03:00
Andrey Smirnov
b1d4814308 feat: update Kubernetes to 1.20.1
See https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.20.md

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-12-21 23:52:29 +03:00
Andrey Smirnov
e115de60e6 feat: bump pkgs for kernel with HZ=250 on amd64
This pulls in:

* https://github.com/talos-systems/pkgs/pull/222
* https://github.com/talos-systems/pkgs/pull/226

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-12-18 09:42:11 -08:00
Andrey Smirnov
803d566b85 chore: add drone pipeline to upload cloud images
At the moment only AMIs for AWS, and upload results should be pushed
back to the docs as separate PR.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-12-16 20:50:35 +03:00
Andrey Smirnov
4e99fa83cb feat: bump Linux kernel to 5.10.1, add CONFIG_USB_ACM
This pulls in following PRs:

* https://github.com/talos-systems/pkgs/pull/219
* https://github.com/talos-systems/pkgs/pull/220

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-12-16 08:59:29 -08:00
Andrey Smirnov
4bc2440834 feat: bump pkgs for kernel with CONFIG_USB_XHCI_PLATFORM
See talos-systems/pkgs#218

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-12-11 15:09:00 -08:00
Andrey Smirnov
3dae6df27b test: stabilize upgrade test by running health check several times
For single node clusters, control plane is unstable after reboot, run
health check several times to let it settle down to avoid failures in
subsequent checks.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-12-11 08:31:01 -08:00
Andrey Smirnov
80184393bc feat: update kernel to 5.9.13, new KSPP requirements
Pulls in following changes:

* https://github.com/talos-systems/toolchain/pull/20
* https://github.com/talos-systems/tools/pull/116
* https://github.com/talos-systems/pkgs/pull/214
* https://github.com/talos-systems/pkgs/pull/215
* https://github.com/talos-systems/pkgs/pull/216
* https://github.com/talos-systems/pkgs/pull/217
* https://github.com/talos-systems/go-procfs/pull/4

New empty amd64 images for u-boot & rpi-firmware reduce the size of
amd64 installer image.

For backwards compatibility QEMU provisioner still injects "legacy" KSPP
kernel args into initial boot environment.

Installer correctly upgrades KSPP options when moving from one version
of Talos to another.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-12-10 12:41:58 -08:00
Andrey Smirnov
872e792dbc feat: update Kubernetes to 1.20.0
Official K8s release matching Talos 0.8.0.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-12-09 06:11:48 -08:00
Andrey Smirnov
1cf6b98fb8 test: bump Talos release version for upgrade test to 0.7.1
We should always use latest releases.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-12-08 18:41:28 +03:00
Andrey Smirnov
f948b0f1f8 chore: bump Go to 1.15.6
See: talos-systems/tools#115,
talos-systems/pkgs#213, talos-systems/extras#7.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-12-07 09:02:12 -08:00
Andrew Rynhard
6f845ae00e release(v0.8.0-alpha.2): prepare release
This is the official v0.8.0-alpha.2 release.

Signed-off-by: Andrew Rynhard <andrew@rynhard.io>
2020-12-04 15:34:00 -08:00
Andrew Rynhard
c30374f129 chore: publish Rock64 image
This publishes the Pine64 Rock64 image.

Signed-off-by: Andrew Rynhard <andrew@rynhard.io>
2020-12-04 12:53:33 -08:00
Andrew Rynhard
0c254e79d6 feat: add support for the Pine64 Rock64
This adds support for the Rock64.

Signed-off-by: Andrew Rynhard <andrew@rynhard.io>
2020-12-04 09:44:20 -08:00
Andrey Smirnov
621968977e feat: update kubernetes to 1.20.0-rc.0
Talos 0.8 is going to ship with K8s 1.20.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-12-02 10:50:58 -08:00
Andrew Rynhard
db905c6f74 chore: build SBC images
This will build SBC images and output them to the artifacts directory. These images
will be published on releases.

Signed-off-by: Andrew Rynhard <andrew@rynhard.io>
2020-12-01 12:33:53 -08:00
Andrew Rynhard
88f15b1254 fix: use the dtb from kernel pkg for libretech_all_h3_cc_h5
This adds sun50i-h5-libretech-all-h3-cc.dtb to the EFI partition.

Signed-off-by: Andrew Rynhard <andrew@rynhard.io>
2020-11-30 17:54:07 -08:00
Andrew Rynhard
98976602f7 fix(security): update Containerd to v1.4.3
This brings in the the latest Containerd to address a CVE.

Signed-off-by: Andrew Rynhard <andrew@rynhard.io>
2020-11-30 17:40:01 -08:00
Andrew Rynhard
99aa3cdba5 feat: add support for the Raspberry Pi 4 Model B
This adds support for the Raspberry Pi 4 Model B.

Signed-off-by: Andrew Rynhard <andrew@rynhard.io>
2020-11-30 09:29:48 -08:00
Andrey Smirnov
f67795748b chore: drop support for docker load
This was preferred way to push images before multi-arch was introduced.
This way doesn't work with multi-platform images, so we had two paths.

Changes:

* `PUSH=true` works now always for `make installer`, `make talos`
* for `image-aws` and friends make sure to push the installer image
before doing that (either local registry or different username)
* `talosctl cluster create` for docker - make sure image is pushed and
`talosctl` knows about the image reference.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-11-30 08:19:40 -08:00
Andrey Smirnov
1c0114b21d feat: bump package for kernel with CIFS support
See https://github.com/talos-systems/pkgs/pull/199

Also serializes push/push-latest.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-11-26 13:30:32 -08:00
Andrey Smirnov
9ccb5f34fc chore: use IMAGE_TAG instead of TAG for :latest pushes
The variable $(TAG) was used both during linking phase to set the
version of Talos built into binaries and as an image reference for
pushing. This leads to to `:latest` image being built with version
`latest`.

Separate image push reference and Talos version by introducing
`$(IMAGE_TAG)` which defaults to `$(TAG)`, but can be overridden.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-11-26 11:52:22 -08:00
Andrew Rynhard
8a8c93fac8 feat: update Containerd and Linux
This brings in Containerd v1.4.2 and Linux v5.9.11

Signed-off-by: Andrew Rynhard <andrew@rynhard.io>
2020-11-26 07:44:36 -08:00
Andrey Smirnov
1eac88e470 feat: add support for installing to SBCs
This introduces the notion of a "board" in Talos. A board is an interface that is capable
of modifying the installation in specific ways for a given SBC. This also adds support for the
libretech_all_h3_cc_h5.

Signed-off-by: Andrew Rynhard <andrew@rynhard.io>
2020-11-26 07:18:25 -08:00
Spencer Smith
79057f93c5 feat: support openstack platform
This PR adds the ability for us to deploy Talos in openstack. Tested in
local devstack with a supplied userdata file. It also adds support to
the Makefile for building the openstack image so it'll be published with
next release.

Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2020-11-25 07:12:57 -08:00
Andrey Smirnov
28ba6e416e feat: update Kubernetes to v1.20.0-beta.2
Talos 0.8 is going to ship with K8s 1.20.x.

Changes to support new `control-plane` label,
upgrade-k8s supports automated fixups for 1.20.

See also: https://github.com/talos-systems/bootkube-plugin/pull/22

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-11-25 06:39:14 -08:00
Andrey Smirnov
07cbf4be3f test: update integration test versions, clean up names
Bump to 0.7.0 as we have a new release.

Clean up the tests we do: 0.6.3 is a previous release, 0.7.0 is a stable
release, current version (0.8.x) is the "next" release.

We test the following:

* 0.6.3 -> 0.7.0
* 0.7.0 -> 0.8-current
* 0.7.0 -> 0.8-current (single node)

This tests upgrades always between two releases.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-11-18 16:39:40 +03:00
Andrey Smirnov
61facf700a chore: build arm64 images in CI
This changes installer image/iso output to be tar via stdout
(optionally), so that we can copy back artifacts back from remote docker
daemon.

Fixes #2776

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-11-13 12:34:48 -08:00
Andrey Smirnov
32d231debd feat: update Go to 1.15.5
Release contains important security fixes:

https://groups.google.com/g/golang-announce/c/NpBGTTmKzpM/m/fLguyiM2CAAJ

Fixes #2775

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-11-13 09:20:56 -08:00
Andrey Smirnov
df6ad3fa80 feat: upgrade Kubernetes default version to 1.19.4
k8s.io modules don't have 1.19.4 tag yet :(

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-11-12 08:51:04 -08:00
Andrey Smirnov
5fca20e137 chore: bump Go to 1.15.4
See:

* https://github.com/talos-systems/pkgs/pull/185
* https://github.com/talos-systems/tools/pull/111
* https://github.com/talos-systems/extras/pull/3

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-11-09 08:49:37 -08:00
Andrew Rynhard
4d9555a3ac fix: update packages
Brings in the R8169 driver.

Signed-off-by: Andrew Rynhard <andrew@rynhard.io>
2020-11-07 15:22:53 -08:00
Spencer Smith
5fee81bb11 feat: upgrade kernel to v5.9.3
This PR brings in an upgraded pkgs version that contains fe414af3b4

Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2020-11-03 08:52:22 -08:00
Andrew Rynhard
06227639f8 feat: upgrade packages
Brings in latest stable packages.

Signed-off-by: Andrew Rynhard <andrew@rynhard.io>
2020-11-02 12:08:54 -08:00
Andrew Rynhard
1ca61ddce7 feat: add ISO support
This reverts commit 3515f4e0f8.

Signed-off-by: Andrew Rynhard <andrew@rynhard.io>
2020-11-02 10:21:40 -08:00
Andrey Smirnov
350d75eb46 feat: build talosctl-cni-bundle, use it in talosctl for QEMU
This builds a bundle with CNI plugins for talosctl which is
automatically downloaded by `talosctl` if CNI plugins are missing.

CNI directories are moved by default to the `~/.talos/cni` path.

Also add a bunch of pre-flight checks to the QEMU provisioner to make it
easier to bootstrap the Talos QEMU cluster.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-10-30 16:30:37 -07:00
Andrey Smirnov
66829b14d5 test: bump Talos version for upgrade tests, bump Cilium version
Use 0.6.3 as upgrade source version, use latest Cilium release.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-10-29 22:22:21 +03:00
Andrey Smirnov
f5cef16bc5 feat: bump Linux to 5.8.16, enable mpt3sas driver
See https://github.com/talos-systems/pkgs/pull/181

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-10-28 08:47:16 -07:00
Andrey Smirnov
bc9e0c0dba fix: re-implement upgrade (install) with preserve
For 0.6 -> 0.7 upgrade, in any case config.yaml is preserved and moved
from `/boot` to `/system/state`.

For single node upgrade, `EPHEMERAL` partition is not touched and other
partitions are re-created as needed.

Bump provision tests to 0.6/0.7 upgrades as we get closer to the new
release.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-10-28 07:25:26 -07:00
Artem Chernyshev
d0ed6d7cc6 feat: encode comments as part of talosctl generated configs
Comments encoding works, defaults encoding works.
Docgen was revamped: now it generates go files.
While markdown files are all handled by
`pkg/machinery/config/encoder/markdown.go`.

Changed scheme for docs. Now it no longer relies on a single `doc.go` in
the root of a package. Instead it can generate separate `*_doc.go` files
for each file in the package. `docgen` now expects to get 3 params
instead of 2. 3rd parameter is used to define a unique method name for
getting the list of structs in the file.

Backward compatibility is supported if we define package name as the 3rd
parameter.

1st parameter no longer scans whole current directory, instead it points
to the particular file that should be processed by docgen.

`talosctl docs` command now supports two flags: `--config` and `--cli`.
They allow generating only docs for v1alpha1 configs or for talosctl. If
no flags are defined, all docs are generated.

Additionally made field types clickable in the output markdown file.

Signed-off-by: Artem Chernyshev <artem.0xD2@gmail.com>
2020-10-26 13:05:23 -07:00
Andrey Smirnov
aef7933a6a chore: fix the check-dirty command to abort on untracked files
`git describe` ignores untracked files in `-dirty`

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-10-20 14:33:48 -07:00
Andrey Smirnov
56f1ee37fd feat: upgrade Kubernetes to 1.19.3
Just minor release bump.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-10-20 05:12:32 -07:00
Andrey Smirnov
af6388c755 feat: bump packages for Linux 5.8.15 and containerd 1.4.1
See:

* https://github.com/talos-systems/pkgs/pull/179
* https://github.com/talos-systems/pkgs/pull/178

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-10-16 14:39:17 -07:00
Andrey Smirnov
4701a5d40f chore: bump Go to 1.15.3
See https://github.com/talos-systems/tools/pull/110

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-10-15 09:23:28 -07:00
Andrey Smirnov
8cf1b4089b feat: bump packages version for the kernel with BBR TCP congestion algo
Fixes #2638

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-10-14 15:25:05 -07:00
Andrey Smirnov
1572966686 feat: bring in install-cni & pod-checkpointer from extras packages
This introduces newly built multi-arch images from
`talos-systems/extras`.

Also fixed default installer image if config is missing.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-10-08 14:45:00 -07:00
Andrey Smirnov
8dfddd2ef9 chore: bump pkgs version
This brings in new kernel configs which includes the following PRs:

* https://github.com/talos-systems/pkgs/pull/174
* https://github.com/talos-systems/pkgs/pull/171

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-10-07 13:50:44 -07:00
Andrey Smirnov
7474f96d2d chore: publish list of images to release notes
This uses `talosctl images`. This way it's easy to find installer image
or talos image for any release.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-10-07 09:59:35 -07:00
Andrey Smirnov
ff0d4b305a feat: build Talos images/artifacts for amd64/arm64
By default, build outside of Drone works the same and builds only amd64
version, loads images back into dockerd, etc.

If multiple platforms are used, multi-arch images are built which can't
be exported to docker or to `.tar` image, they're always pushed to the
registry (even for PR builds to our internal CI registry).

Artifacts as files (initramfs, kernel) now have `-arch` suffix:
`vmlinuz-amd64`, `initramfs-amd64.xz`. "Magic" script normalizes output
paths depending on whether single platform or multiple platforms were
given.

VM provisioners accept magic `${ARCH}` in initramfs/kernel paths which
gets replaced by cluster architecture.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-09-27 10:32:07 -07:00
Andrew Rynhard
d8c494e1a8 chore: fix docker login
Updates the drone config to setup the GHCR credentials.

Signed-off-by: Andrew Rynhard <andrew@rynhard.io>
2020-09-23 16:22:55 -07:00
Andrew Rynhard
d7dc60d1f9 chore: fix docker login
We need to specify the registry when running `docker login`.

Signed-off-by: Andrew Rynhard <andrew@rynhard.io>
2020-09-23 15:59:19 -07:00
Andrew Rynhard
7d2741fc4b chore: migrate to ghcr.io
Move to GHCR.

Signed-off-by: Andrew Rynhard <andrew@rynhard.io>
2020-09-23 15:06:30 -07:00
Andrey Smirnov
551ab70847 feat: ugrade Linux kernel to 5.8.10
This addresses CVE-2020-14386.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-09-17 14:35:40 -07:00
Andrey Smirnov
b4341d8780 feat: upgrade kubernetes to 1.19.1
Release notes: https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.19.md#v1191

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-09-11 06:58:12 -07:00
Andrey Smirnov
788cd15c29 test: add e2e test to the provision (upgrade) tests
Add sonobuoy runner code with log fetching on failure. Use hand-picked
set of e2e tests to run: verify basic pod functionality, verify service
connectivity.

Add option `--run-e2e` to the `talosctl health` to run quick e2e test to
verify cluster health.

Add option to run provision tests with custom CNI, run one track of
provision tests with Cilium.

Bump Cilium to 1.8.2.

Talos 0.6 won't uncordon node automatically after upgrade from 0.5, as
0.5 doesn't put annotation. Workaround that in upgrade tests.

Bump upgrade test version to 0.6.0 release.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-09-08 13:26:31 -07:00
Andrey Smirnov
6b98ab729e refactor: deduplicate packages version in Dockerfile
There's no way to use variable substitution in `COPY --from=`, but we
can use that in `FROM`.

Also bump TOOLS version to finish bump from #2497.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-09-07 07:42:06 -07:00
Andrew Rynhard
3515f4e0f8 feat: remove ISO support
This feature has long been broken. It is time to remove it.

Signed-off-by: Andrew Rynhard <andrew@rynhard.io>
2020-09-04 01:00:40 -07:00
Andrey Smirnov
8ad43d4b1f chore: upgrade Go to 1.15.1
See:

* https://github.com/talos-systems/pkgs/pull/161
* https://github.com/talos-systems/tools/pull/104

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-09-03 15:36:53 -07:00
Andrey Smirnov
e7dc34e8b8 chore: upgrade Go to 1.14.8
See also:

* https://github.com/talos-systems/pkgs/pull/158
* https://github.com/talos-systems/tools/pull/102

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-09-01 13:40:27 -07:00
Andrew Rynhard
1a4059a553 feat: add grub bootloader
This moves to using grub instead of syslinux.

BREAKING CHANGE: Single node upgrades will fail in this change. This
will also break the A/B fallback setup since this version introduces
an entirely new partition scheme, that any fallback will not know about.
We plan on addressing these issues in a follow up change.

Signed-off-by: Andrew Rynhard <andrew@rynhard.io>
2020-09-01 12:06:43 -07:00
Andrey Smirnov
2f99f551e7 chore: drop vmlinux from assets
`vmlinux` (uncompressed kernel) shouldn't be much useful to the people
as it can't be booted directly with most of the boot tools (it's too
huge). We had it enabled for firecracker, but now firecracker has
support for decompressing `vmlinuz` on the fly.

So, to reduce confusion, make assets smaller, remove `vmlinux`.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-09-01 07:57:56 -07:00
Spencer Smith
4238d4428b feat: update kubernetes to v1.19.0
This PR version bumps all of the kubnernetes version defaults to the
v1.19.0 release.

Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2020-08-26 15:30:36 -07:00