Commit Graph

20 Commits

Author SHA1 Message Date
Spencer Smith
1a7e9f0b7c docs: add virtualbox deployment guide
This PR adds instructions on running Talos on virtualbox.

Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2020-11-10 11:38:28 -08:00
Seán C McCord
05c7cbd67b docs: add high-level orientation docs for talosctl
Adds some high-level meta documentation for the function and usage of
talosctl.

Fixes #2743

Signed-off-by: Seán C McCord <ulexus@gmail.com>
2020-11-10 11:38:06 -08:00
Andrey Smirnov
b2b86a622e fix: remove 'token creds' from maintenance service
This fixes the reverse Go dependency from `pkg/machinery` to `talos`
package.

Add a check to `Dockerfile` to prevent `pkg/machinery/go.mod` getting
out of sync, this should prevent problems in the future.

Fix potential security issue in `token` authorizer to deny requests
without grpc metadata.

In provisioner, add support for launching nodes without the config
(config is not delivered to the provisioned nodes).

Breaking change in `pkg/provision`: now `NodeRequest.Type` should be set
to the node type (as config can be missing now).

In `talosctl cluster create` add a flag to skip providing config to the
nodes so that they enter maintenance mode, while the generated configs
are written down to disk (so they can be tweaked and applied easily).

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-11-09 14:10:32 -08:00
Seán C McCord
f9a32ff386 docs: add a description of endpoints and nodes
Adds a description of the roles of endpoints and nodes in the talosctl
config.

Fixes #2731

Signed-off-by: Seán C McCord <ulexus@gmail.com>
2020-11-06 17:42:33 -08:00
Seán C McCord
6c09aacb1c docs: describe talos upgrade
Describe the Talos upgrade procedure and provide answers to common
questions about it.

Fixes issue #2626

Signed-off-by: Seán C McCord <ulexus@gmail.com>
2020-11-06 09:28:53 -08:00
Andrew Rynhard
25a950f1d4 chore: fix markdown-lint
Updates the `lint-markdown` target.

Signed-off-by: Andrew Rynhard <andrew@rynhard.io>
2020-11-04 09:25:16 -08:00
Andrew Rynhard
562f816526 refactor: use gRPC for interactive installation
Instead of hosting a web service, we decided to implement a gRPC service
that exposes APIs that can be used in a client-side interactive installer.

Signed-off-by: Andrew Rynhard <andrew@rynhard.io>
2020-11-03 08:36:44 -08:00
Rick Richardson
0c48c3d447 docs: fix AWS guides
Clarifies that a user should use the instance's private IPs in the creation of the NLB

Signed-off-by: Rick Richardson <rick@letter.co>
2020-11-02 20:19:21 -08:00
Andrew Rynhard
221b0fcf5b docs: address small nits
Small fixes to configuration comments, and docs website.

Signed-off-by: Andrew Rynhard <andrew@rynhard.io>
2020-10-30 17:13:28 -07: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
a741509ca5 docs: update config reference docs
Mostly some nits, small examples, distributing docs better,
splitting examples, etc.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-10-30 23:52:21 +03:00
Artem Chernyshev
764300a48b fix: read/write human readable representations for bytes and octals
Use octal representation to dump FileMode to yaml.
Use 100MB/1GB/1.5TB representations for partitions size, but only if
that doesn't lead to losing precision. Decoding of them should work as
well.

Signed-off-by: Artem Chernyshev <artem.0xD2@gmail.com>
2020-10-30 12:15:43 -07:00
Artem Chernyshev
061b296530 feat: allow specifying user-disks in talosctl cluster create
User-disks are supported by QEMU and Firecracker providers.
Can be defined by using the following parameters:
```
--user-disk /mount/path:1GB
```

Can get more than 1 user disk.
Same set of user disks will be created for all master and worker nodes.

Additionally enable user-disks in qemu e2e test.

Signed-off-by: Artem Chernyshev <artem.0xD2@gmail.com>
2020-10-30 08:44:08 -07:00
Andrew Rynhard
7e7e371170 docs: fix small CSS issues
Adds a dashed line between struct field sections in generate configuration
markdown. Also improves the padding of the headers in the right sidebar.

Signed-off-by: Andrew Rynhard <andrew@rynhard.io>
2020-10-30 07:32:13 -07:00
Andrey Smirnov
a32c0a78f7 docs: improve the config reference documentation
Lots of small changes, changing layout, adding back references,
propagating examples, etc.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-10-29 18:41:46 -07:00
Andrey Smirnov
18e847fa8b fix: bump type for DiskSize to be 64-bit
Otherwise we're bound with 4GiB partititions.

Discovered by @Unix4ever.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-10-29 22:00:35 +03:00
Andrew Rynhard
964e4405c3 docs: improve search bar
The search bar was taking too much space in the header. This moves it
to the sidebar. The search query now filters based on the current version
of docs.

Signed-off-by: Andrew Rynhard <andrew@rynhard.io>
2020-10-29 07:17:51 -07:00
Andrew Rynhard
55bb1ffc24 fix: remove default time server in time command
This was causing the ntp query to always use pool.ntp.org.

Signed-off-by: Andrew Rynhard <andrew@rynhard.io>
2020-10-28 10:38:01 -07:00
Artem Chernyshev
6f9cd9bee2 docs: fix config reference types links
Looks like gridsome can't handle markdown inside <code> tags.
Completely replaced this thing with html syntax.

Signed-off-by: Artem Chernyshev <artem.0xD2@gmail.com>
2020-10-27 07:53:25 -07:00
Andrew Rynhard
1b0ed13231 docs: move to gridsome
Brings in a new theme, improved content, and restructured layout.

Signed-off-by: Andrew Rynhard <andrew@rynhard.io>
2020-10-26 21:14:14 -07:00