118 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
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
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
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
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
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
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
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
Patatman
f648f555b6 docs: add talosctl docs document
Initial version of the talosctl docs.

Signed-off-by: Patatman <git@jeursen.nl>
2020-05-29 08:45:44 -07:00
Patatman
cbc0ab9e58 docs: add metal overview diagram
This adds a diagram to the metal overview that illustrates the PXE boot and
installation process. Fixes #2130.

Signed-off-by: Patatman <git@jeursen.nl>
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2020-05-25 10:10:35 -07:00
Timothy Gerla
e70b7e3073 docs: fix broken links in components pages (fixes #2117)
- Intra-site docs links need to be relative
- Add nuxt-interpolation to rewrite <a> tags to <nuxt-link> tags
which improves the single-page-app behavior when clicking on internal links.

Signed-off-by: Timothy Gerla <tim@gerla.net>
2020-05-18 08:06:23 -07:00
Timothy Gerla
0b6b371bca docs: add some information about Arges and expand the bare metal section a bit
- Add links to Arges in 0.4 and 0.5 docs
- Add an Arges architecture diagram
- Add margins around images in docs

Signed-off-by: Timothy Gerla <tim@gerla.net>
2020-05-18 08:00:53 -07:00
nold
fa6ae016a9 docs: overview of talos components
This should fix issue #1933

Signed-off-by: Gerrit Pannek <nold@gnu.one>
2020-05-16 09:10:37 -07:00
Timothy Gerla
18f830f85f docs: backport intro text to 0.3 and 0.4 docs
- Replaced the basic intro text for 0.3 and 0.4 on the docs home page with
more useful information and links to next steps.

Signed-off-by: Timothy Gerla <tim@gerla.net>
2020-05-05 10:02:05 -07:00
Timothy Gerla
f59620473e docs: add 0.5 pre-release docs, add linkable anchors, other fixes
- add 0.5 docs branched from 0.4
- add intro page and "get help" pages
- moved Docker and Firecracker into a "Local Clusters" category
- switch to markdown-it from markd for consistency between corp site and docs site
- use markdown-it-anchor to create linkable anchors to sections within a page
- improve urls to use / instead of # for docs pages (WARNING: this breaks old links)
- continue to simplify handling in the Content.vue component
- update JS deps

Signed-off-by: Timothy Gerla <tim@gerla.net>
2020-05-04 16:04:53 -07:00
Seán C McCord
c1299d3ff0 feat: allow dual-stack support with bootkube wrapper
Handle dual-stack configurations with the bootkube wrapper.  This uses
the new PodCIDRs and ServiceCIDRs `asset.Config` parameters in bootkube.
It also relies on the bootkube-plugin features for manipulating
kube-proxy config and installing the dual-stack DNS service.

Fixes #2055

Signed-off-by: Seán C McCord <ulexus@gmail.com>
2020-04-28 20:10:58 -07:00