summaryrefslogtreecommitdiffstats
path: root/recipes-containers/k3s/README.md
diff options
context:
space:
mode:
authorJoakim Roubert <joakim.roubert@axis.com>2020-10-20 13:14:34 +0200
committerBruce Ashfield <bruce.ashfield@gmail.com>2021-03-15 23:15:42 -0400
commita876a2d487b2c29a650d6cf1acb5238a0be43548 (patch)
tree6fd49872170f28ec001662b9e9414252801322e7 /recipes-containers/k3s/README.md
parent7daf37f06da1a34b31cc4630bf3a68ea13857c1a (diff)
downloadmeta-virtualization-a876a2d487b2c29a650d6cf1acb5238a0be43548.tar.gz
containers: introduce k3s recipe
See recipes-containers/k3s/README.md for basic usage and testing instructions. Signed-off-by: Joakim Roubert <joakimr@axis.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-containers/k3s/README.md')
-rw-r--r--recipes-containers/k3s/README.md30
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes-containers/k3s/README.md b/recipes-containers/k3s/README.md
new file mode 100644
index 00000000..3fe5ccd1
--- /dev/null
+++ b/recipes-containers/k3s/README.md
@@ -0,0 +1,30 @@
1# k3s: Lightweight Kubernetes
2
3Rancher's [k3s](https://k3s.io/), available under
4[Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0), provides
5lightweight Kubernetes suitable for small/edge devices. There are use cases
6where the
7[installation procedures provided by Rancher](https://rancher.com/docs/k3s/latest/en/installation/)
8are not ideal but a bitbake-built version is what is needed. And only a few
9mods to the [k3s source code](https://github.com/rancher/k3s) is needed to
10accomplish that.
11
12## CNI
13
14By default, K3s will run with flannel as the CNI, using VXLAN as the default
15backend. It is both possible to change the flannel backend and to change from
16flannel to another CNI.
17
18Please see <https://rancher.com/docs/k3s/latest/en/installation/network-options/>
19for further k3s networking details.
20
21## Configure and run a k3s agent
22
23The convenience script `k3s-agent` can be used to set up a k3s agent (service):
24
25```shell
26k3s-agent -t <token> -s https://<master>:6443
27```
28
29(Here `<token>` is found in `/var/lib/rancher/k3s/server/node-token` at the
30k3s master.)