418 Commits

Author SHA1 Message Date
Andrey Smirnov
7283efd568
chore: update the talosctl CNI download url
There was hardcoded org/username.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-03-24 15:08:05 +03:00
Noel Georgi
73966f51e8
docs: fix extensions
Fix extensions

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-03-24 16:12:29 +05:30
Steve Francis
f9766edb52
docs: remove empty doc file
Removes empty doc file

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-03-24 12:57:07 +05:30
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
Spencer Smith
e3fda049fe
docs: overhaul all the docs
This moves our docs to a hugo-based doc setup with docsy theme.

Signed-off-by: Spencer Smith <spencer.smith@talos-systems.com>
2022-03-22 13:05:21 -04: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
Jori Huisman
cf85b3f07c
docs: update cilium inline install
Reduce duplication.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
Signed-off-by: Jori Huisman <jori@huisman.io>
2022-03-16 16:25:37 +03:00
Tomasz Zurkowski
cc7719c9d0
docs: improve comments in security proto
The existing comments did not match the service definition (they look
like copy paste from another service). I also added a little bit more
comments for the fields in the request and response.

Signed-off-by: Tomasz Zurkowski <zurkowski@google.com>
Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-03-16 14:18:48 +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
Spencer Smith
c5fb209305
docs: add loki note
This PR adds a simple note about forwarding to loki from fluentbit.

Signed-off-by: Spencer Smith <spencer.smith@talos-systems.com>
2022-03-10 11:21:38 -05:00
Noel Georgi
dc8e9ed4a5
feat: bond interfaces from kernel cmdline
Support bond interfaces from kernel cmdline using `bond=` format

Fixes: #4765

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-03-03 23:54:53 +05:30
Noel Georgi
947c77b60c
docs: update cilium inline install
Update cilium inline install

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-03-03 21:37:56 +05:30
Andrey Smirnov
77158a61fd
chore: rename v0.15 to v1.0
Next release of Talos will be v1.0 🎉

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-03-03 00:25:43 +03:00
Artem Chernyshev
a50747a64a
fix: align list and diskusage command flags with their Linux analogs
Fixes: https://github.com/talos-systems/talos/issues/3018

Signed-off-by: Artem Chernyshev <artem.chernyshev@talos-systems.com>
2022-03-02 22:27:56 +03:00
Andrey Smirnov
09efa62f68
chore: re-enable kexec and default to UEFI booting in tests
Fixes #4947

It turns out there's something related to boot process in BIOS mode
which leads to initramfs corruption on later `kexec`.

Booting via GRUB is always successful.

Problem with kexec was confirmed with:

* direct boot via QEMU
* QEMU boot via iPXE (bundled with QEMU)

The root cause is not known, but the only visible difference is the
placement of RAMDISK with UEFI and BIOS boots:

```
[    0.005508] RAMDISK: [mem 0x312dd000-0x34965fff]
```

or:

```
[    0.003821] RAMDISK: [mem 0x711aa000-0x747a7fff]
```

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-03-02 21:52:18 +03:00
Andrey Smirnov
7ddc7f6053
feat: support specifying env vars for control plane pods
Fixes #5055

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-03-01 22:51:57 +03:00
Noel Georgi
7c1924a3ae
docs: update cilium docs
Update cilium docs to reflect using K8s IPAM mode

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-03-02 00:41:13 +05:30
Andrey Smirnov
f81fb9f7cf
feat: implement sysfs
Fixes: https://github.com/talos-systems/talos/issues/4703

Co-authored-by: Dmitriy Matrenichev <lepage+gh@protonmail.com>
Co-authored-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
Signed-off-by: Artem Chernyshev <artem.chernyshev@talos-systems.com>
2022-02-28 17:51:02 +03:00
Andrey Smirnov
eb40b9254f
feat: add a way to override kubelet configuration via machine config
Fixes #4629

Note: some fields are enforced by Talos and are not overridable.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-02-25 17:39:01 +03:00
Noel Georgi
dc23715478
chore: update packet to equinix
Update `packet` to `equinix` for `talos.platform` kernel argument

Fixes: #5010

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-02-25 00:50:02 +05:30
Andrey Smirnov
7917b1aca0
feat: support admission control configuration and Pod Security admission
Fixes #5003

This implements a way to configure API server admission plugins via
Talos machine configuration.

If Pod Security admission is enabled, default cluster-wide policy is
generated which enforces baseline policy.

Policy can be overridden per-namespace.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-02-24 16:18:15 +03:00
Serge Logvinov
45feb72a47
feat: fluent-bit example
Second way to collect talos and pod logs in the cluster.

Signed-off-by: Serge Logvinov <serge.logvinov@sinextra.dev>
Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-02-24 15:48:35 +03:00
Spencer Smith
9b0b5501dd
docs: add katacoda link
This PR adds the katacoda tutorial to our quickstart

Signed-off-by: Spencer Smith <spencer.smith@talos-systems.com>
2022-02-23 20:18:40 -05:00
Andrey Smirnov
b2bf3117ff
feat: implement extension services
Fixes #4694

User services run alongside with Talos system services.
Every user service container root filesystem should be already present
in the Talos root filesystem.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-02-22 23:11:20 +03:00
Noel Georgi
1800b4c707
chore: fix kernel reference errata
Fix kernel `ip=` errata

Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-02-22 18:48:53 +05:30
Seán C McCord
28c3b495da
docs: updates to troubleshooting doc
Updated wording, added some cross references, and generally updated the
controlplane troubleshooting document.

Signed-off-by: Seán C McCord <ulexus@gmail.com>
2022-02-21 12:04:29 -05:00
Jori Huisman
f40b480bdd
chore: expand Cilium deployment docs
Expanded Cilium deployment documentation

Co-authored-by: Noel Georgi <git@frezbo.dev>
Signed-off-by: Noel Georgi <git@frezbo.dev>
2022-02-19 10:34:36 +05:30
Seán C McCord
3ba8eb00d3
docs: design concepts page
Added some commonly-misunderstood concepts about Talos Linux and the operation
thereof.

Signed-off-by: Seán C McCord <ulexus@gmail.com>
2022-02-18 20:56:21 -05:00
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
00ccaf13fb
feat: update CoreDNS to 1.9.0
See https://github.com/coredns/coredns/blob/master/notes/coredns-1.9.0.md

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-02-16 18:12:33 +03:00
Steve Francis
961067e8b3
docs: update getting-started.md
Small fixes for getting started guide.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-02-16 14:52:48 +03:00
Andrey Smirnov
f1a93d28fb
release(v0.15.0-alpha.2): prepare release
This is the official v0.15.0-alpha.2 release.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-02-11 18:18:31 +03:00
Charlie Haley
fef99892d5
chore: pin kubernetes version to talosctl gen config
Pin talos default k8s version to `talosctl gen config`

Signed-off-by: Charlie Haley <charlie.haley@hotmail.com>
Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-02-11 16:47:49 +03:00
Andrey Smirnov
47619f8320
docs: update system extensions guide with grammar fixes
Incorporate fixes from Steve: https://github.com/smira/talos/pull/1

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-02-10 23:38:59 +03:00
Andrey Smirnov
c6bca1b33b
docs: add guide on system extensions
This is very first guide, we can expand it as we get more details.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-02-10 22:04:36 +03:00
Andrey Smirnov
492b156dab
feat: implement static pods via machine configuration
Fixes #4727

On worker nodes, static pods are injected, but status can't be monitored
by Talos. On control plane nodes full status is available via
`StaticPodStatus`.

Pod definition is left as `Unstructured` in the machine configuration,
and no specific validation is performed to avoid pulling in Kubernetes
libraries into Talos machinery package.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-02-10 18:37:19 +03:00
Andrey Smirnov
6fadfa8dbc
fix: parse properly IPv6 address in the cmdline ip= arg
Fixes #4953

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-02-10 16:57:39 +03:00
Andrey Smirnov
54632b1be7
docs: fix developing Talos docs
Port update and replace fish-specific for loop with bash one.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-02-10 15:12:31 +03:00
Andrey Smirnov
5462f5ed18
feat: update etcd to 3.5.2
See https://github.com/etcd-io/etcd/blob/main/CHANGELOG/CHANGELOG-3.5.md

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-02-03 17:25:08 +03:00
Steve Francis
f6fa12e536
docs: update upgrading Talos, Kubernetes, and Docker guides
Variety of clarifications.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-02-03 16:45:18 +03:00
Andrey Smirnov
5484579c1a
feat: allow link scope routes in the machine config
They were supported internally, but never properly exposed in the
machine configuration.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-02-03 15:08:26 +03:00
Tim Jones
fe40e7b1b3
feat: drain node on shutdown
Cordon & drain a node when the Shutdown message is received.
Also adds a '--force' option to the shutdown command in case the control
plane is unresponsive.

Signed-off-by: Tim Jones <timniverse@gmail.com>
Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-02-01 00:06:32 +03:00
Bernard Sébastien
7f0b3aae0a
feat: add multiple config patches, patches from files, YAML support
Include filename content if value begins with @ (see curl for example).

Add multiple config-path option on cmdline to apply them in order.

ex:

```
talosctl-linux-amd64 gen config talos1 https://127.0.0.1:6443 --config-patch-control-plan @cidrs.json --config-patch-worker @sysctls-workders.json --config-path @cluster-name.json
```

Load JSON patch from YAML.

This applies to all commands handling config patches.

Closes: https://github.com/talos-systems/talos/issues/4764

Signed-off-by: Sébastien Bernard <sbernard@nerim.net>
Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-01-31 22:50:46 +03:00
Andrey Smirnov
202290be7b
docs: update Kubernetes upgrade video
Refreshed video with new content.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-01-31 21:25:43 +03:00
nebulait
1c949335cc
docs: add documentation for Hyper-V
docs: add documentation for creating cluster on Hyper-V
Signed-off-by: nebulait <40148908+nebula-it@users.noreply.github.com>
Signed-off-by: Spencer Smith <spencer.smith@talos-systems.com>
2022-01-28 13:46:28 -05:00
Florian Klink
8b98d8eb39
docs: clarify Filebeat example
As explained in https://github.com/talos-systems/talos/issues/4880#issuecomment-1022656510,
right now the recommended way to push logs to log collectors is by
running a configuring Filebeat in the local cluster, with a DaemonSet
using the host network, and pointing Talos to push logs to an UDP port
on 127.0.0.1.

I updated both v0.14 and v0.15 docs, as it should be more clear for both
versions.

Signed-off-by: Florian Klink <flokli@flokli.de>
Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-01-28 16:19:49 +03:00
Andrey Smirnov
74c03120cf
docs: replace Talos upgrades video
This enables new updated video for Talos upgrades.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-01-27 21:14:44 +03:00
Florian Klink
4245f72d3f
feat: add --extra-uefi-search-paths option
This allows specifying additional paths to look for UEFI firmware.

Signed-off-by: Florian Klink <flokli@flokli.de>
Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-01-27 19:55:36 +03:00
Serge Logvinov
7ffeb6c2e2
docs: update oracle cloud example
Simple way to run Talos on Oracle Cloud:
* create network and disable security list
* create tcp load balancer for kube-apiserver and talos-api
* launch the contolplane
* add the workers

Signed-off-by: Serge Logvinov <serge.logvinov@sinextra.dev>
Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-01-27 19:16:31 +03:00
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