167 Commits

Author SHA1 Message Date
Spencer Smith
7bc3fcf77d feat: support metric values for DHCP
This PR adds a "DHCPOptions" field to the config. This field contains a
single subfield currently, "RouteMetric". Setting this well ensure that
any routes provided from the DHCP server are given this metric upon
injection into the routing table.

Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2020-10-16 08:29:04 -07:00
Andrew Rynhard
17b6ce0a83 docs: fix latest tag
Latest release was tagged as "pre-release". It should be "latest".

Signed-off-by: Andrew Rynhard <andrew@rynhard.io>
2020-10-12 15:10:10 -07:00
Andrew Rynhard
c3d6f60d36 docs: add link to latest docs
We need a way for users to get to the latest stable docs easily.

Signed-off-by: Andrew Rynhard <andrew@rynhard.io>
2020-10-12 14:21:38 -07:00
Artem Chernyshev
9c969a4be5 feat: allow disabling NoSchedule on master nodes
Add talosconfig parameter that allows to disable NoSchedule taint on
master nodes.

Signed-off-by: Artem Chernyshev <artem.0xD2@gmail.com>
2020-10-06 10:52:37 -07:00
Andrey Smirnov
26aaf6af2c feat: support --registry-insecure-skip-verify for cluster create
Also fixes loading for CA certificate for the registry TLS auth.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-10-02 11:07:39 -07:00
Andrey Smirnov
c730378269 docs: small fixes for the config docs and air-gapped
Just small misprints.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-10-01 13:11:08 -07:00
Niklas Wik
eb9ee06dbc feat: add support for disabling time
Adds the capability to diasable NTP when it cannot be provided in the deployed network

Signed-off-by: Niklas Wik <niklas.wik@nokia.com>

add document update.

Signed-off-by: Niklas Wik <niklas.wik@nokia.com>
2020-09-30 06:58:33 -07:00
Andrey Smirnov
21f1bc6853 docs: add guide on setting up air-gapped environment with images
Fixes #2544

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-09-29 21:00:22 -07:00
Andrew Rynhard
5c97482731 docs: add note on settings endpoints on MacOS
This adds an extra step to the getting started guide that applies to
MacOS users.

Signed-off-by: Andrew Rynhard <andrew@rynhard.io>
2020-09-28 11:33:23 -07:00
Spencer Smith
8c40848e79 docs: fix cluster name in docker docs
This PR fixes a docs bug where we were still referencing `talos_default`
as the cluster name. It should be `talos-default` instead.

Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2020-09-28 11:07:52 -07:00
Andrey Smirnov
3d9a174fae fix: update the docs to fix the lint-markdown
Just one-liner.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-09-25 09:13:42 -07:00
Spencer Smith
25a65efb2e docs: add note around link-local addressing
This PR adds a small note to the config docs to detail how to do link
local networking like SLAAC.

Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2020-09-25 08:37:16 -07:00
Andrey Smirnov
c2ad9be9ba docs: add ghcr.io to the registry cache docs
Fixed some small nits on the way, replaced firecracker with qemu.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-09-25 06:00:08 -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
Spencer Smith
fe1a4e4810 docs: add v0.7 docs
This PR adds the 0.7 docs into the mix so we can start creating docs for
things specific to that version.

Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2020-09-22 07:10:14 -07:00
Andrew Rynhard
4df21e2c35 fix: address node package update
This updates packages to address security issues.

Signed-off-by: Andrew Rynhard <andrew@rynhard.io>
2020-09-17 16:43:54 -07:00
Patatman
85ddb123be docs: add recommneded settings in overview
Every infrastructure is different, and we can't enforce DNS endpoints
but we can recommend it.

Signed-off-by: Patatman <git@jeursen.nl>
2020-09-17 06:48:37 -07:00
Andrey Smirnov
30be180ab7 docs: update upgrade guide with talosctl upgrade-k8s
This offers automated upgrades for Kubernetes control plane.

Fixes #2520

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-09-16 08:40:46 -07:00
Spencer Smith
36a935821b docs: update 0.6 links
This PR fixes a few small links that were still pointing to 0.5
resources.

Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2020-09-04 11:47:04 -07:00
Andrey Smirnov
2085e9220c fix: change apid container image name to expected value
This is what happens when massive find-replace goes wrong...

Change should be cosmetic though, it doesn't affect operations.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-09-02 14:40:55 -07:00
Andrew Rynhard
60bd78422b docs: graduate v0.6 docs
This promotes the v0.6 docs from pre-release status to stable, and make v0.6
the default docs.

Signed-off-by: Andrew Rynhard <andrew@rynhard.io>
2020-09-02 13:30:03 -07:00
Andrew Rynhard
1bb8fdf1c1 docs: add Kubernetes upgrade guide
This adds docs on how to upgrade Kubernetes.

Signed-off-by: Andrew Rynhard <andrew@rynhard.io>
2020-09-02 11:30:04 -07:00
Spencer Smith
9e6eb90203 docs: add reset doc
This PR adds a simple doc on how to do a talos machine reset. This
command was introduced all the way back on v0.4 so the docs are added
everywhere.

Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2020-08-31 11:53:47 -07:00
Andrey Smirnov
40c49c4c62 docs: add QEMU provisioner documentation
Mostly copy-paste from Firecracker docs with small fixes.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-08-24 12:17:47 -07:00
Andrey Smirnov
7fac9d33d7 chore: update node.js dependencies
This fixes all the deps which have the fix ready, but two deps don't
have updated version yet.

See https://www.npmjs.com/advisories/1548

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-08-18 13:18:27 -07:00
Andrey Smirnov
bddd4f1bf6 refactor: move external API packages into machinery/
This moves `pkg/config`, `pkg/client` and `pkg/constants`
under `pkg/machinery` umbrella.

And `pkg/machinery` is published as Go module inside Talos repository.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-08-17 09:56:14 -07:00
Andrew Rynhard
c76237bfb3 docs: fix download link
Fixes a bad link.

Signed-off-by: Andrew Rynhard <andrew@rynhard.io>
2020-08-16 08:13:58 -07:00
Andrey Smirnov
f755fc2e98 chore: update node dependencies
See https://github.com/advisories/GHSA-wvhm-4hhf-97x9

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-08-10 16:25:23 -07:00
Andrew Rynhard
92523bc422 refactor: remove structs from config provider
This make the config provider a pure interface definition by removing
all concrete internal types, and making them an interface.

Signed-off-by: Andrew Rynhard <andrew@rynhard.io>
2020-08-06 13:21:41 -07:00
Steve Francis
97c90b259e fix: update AMI link to latest
Update download example to reference latest release
Signed-off-by: Steve Francis <steverfancis@gmail.com>
2020-08-03 11:41:56 -07:00
dependabot[bot]
1b574a0a99 chore: bump elliptic from 6.5.2 to 6.5.3 in /docs/website
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-07-31 06:43:28 -07:00
Andrey Smirnov
f23c9111d1 feat: upgrade etcd to 3.3.22 version
Latest version in 3.3 branch is 3.3.23, but it's broken, so we use previous
stable version.

Switch to official etcd gcr.io registry, early support for arm64.

Move `etcd` service to run in system containerd.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-07-21 09:44:43 -07:00
Andrey Smirnov
70a65cbb01 feat: make partitions on additional disk without size occupy full disk
Fixes #2214

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-07-21 07:33:07 -07:00
dependabot[bot]
0aae950518 chore: bump lodash from 4.17.15 to 4.17.19 in /docs/website
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-07-20 11:17:18 -07:00
steverfrancis
8dd81b0693 docs: use latest talosctl download link
Update download example to reference latest release.

Signed-off-by: Andrew Rynhard <andrew@rynhard.io>
2020-07-18 14:45:52 -07:00
Spencer Smith
7d10677ee8 docs: update worker creation flags for azure docs
This PR updates the worker flags for azure. Fixes an issue where, if you
have multiple subnets and the talos one isn't default, the workers and
control plane nodes came up on different subnets. Requires updating the
firewalls if they don't come up in the same subnet, so this is better
UX.

Also added a note that azure support is broken in v0.5.

Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2020-07-15 12:03:33 -07:00
Andrey Smirnov
cbb7ca8390 refactor: merge osd into machined
This merges `osd` API into `machined`. API was copied from `osd` into
`machined`, and `osd` API was deprecated.

For backwards compatibility, `machined` still implements `osd` API, so
older Talos API clients can still talk to the node without changes.

Docs were updated. No functional changes.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-07-13 12:50:00 -07:00
Andrey Smirnov
50db9b6073 docs: update firecracker for new home of tc-redirect-tap plugin
See https://github.com/firecracker-microvm/firecracker-go-sdk/issues/174#issuecomment-655798205

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-07-09 11:47:28 -07:00
Patatman
90acb01a4e docs: digital rebar docs
Digital rebar docs in the guide section.

Signed-off-by: Patatman <git@jeursen.nl>
2020-06-30 18:52:39 -07:00
Andrey Smirnov
51112a1d86 fix: use kubernetes version in config generator
Update all k8s image references to point to the version specified by the user.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-06-26 17:05:19 -07:00
Andrey Smirnov
dacbac35c4 docs: add local registry cache documentation
This can be expanded one day to air-gapped solution, but gives good
starting point for those who run clusters locally.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-06-26 11:07:56 -04:00
Andrey Smirnov
470fc51c0a docs: update firecracker with one more CNI plugin
Plugin `static` is used for IPAM on interfaces.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-06-25 20:44:54 +03:00
Patatman
3369c0822c docs: specs added
specs added to the quickstart, to fix #2200

Signed-off-by: Patatman <git@jeursen.nl>
2020-06-18 08:20:53 -04:00
Patatman
69cb8a02f1 docs: specs added
specs added to the quickstart, to fix #2200

Signed-off-by: Patatman <git@jeursen.nl>
2020-06-18 08:20:53 -04:00
Spencer Smith
d57c97fdb6 feat: allow ability to create dummy nics
This PR will introduce a new field to v1alpha1 configs that allows users
to set `dummy: true` when specifying interfaces. If present, we will
create a dummy interface with the CIDR information given. This is useful
for users that don't want to use loopback for things like ECMP (or want
more than one dummy interface).

The created dummy interface looked like this with `ip a`:

```
3: dummy0: <BROADCAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN qlen 1000
    link/ether 66:4a:e3:5f:38:10 brd ff:ff:ff:ff:ff:ff
    inet 10.254.0.5/32 brd 10.254.0.5 scope global dummy0
       valid_lft forever preferred_lft forever
```

Will close #2186.

Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2020-06-17 17:15:07 -04:00
Andrey Smirnov
3d8f20732a chore: use neutral terminology
Replace blacklist with denylist, it was only used internally.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-06-15 14:00:55 -07:00
Spencer Smith
90115bb3ef feat: update kubernetes to 1.19.0-beta.1
This PR brings in all changes necessary to deploy kubernetes 1.19.x.

It relies on an update to our bootkube-plugin project, as well as
implementation of some Image() functions for our various control plane
components, since they are all distinct images and not just hyperkube.

Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2020-06-10 15:01:11 -04:00
Andrew Rynhard
336f983c21 docs: add v0.6 docs
This adds the documentation for v0.6 and removes v0.3 since
it is no longer supported.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2020-06-10 10:39:38 -07:00
Spencer Smith
e03a68f8eb feat: update k8s and sonobuoy versions
This PR will update k8s to the latest 1.18 release and bump sonobuoy to
help resolve some e2e flakes. Also adds some retry logic around the
sonobuoy run.

Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2020-06-10 06:47:36 -07:00
Andrew Rynhard
8f472675ee docs: add kernel options to firecracker reqs
This adds a note on a few more requirements on the host kernel for
running Talos with firecracker.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2020-06-09 11:26:30 -07:00