From 610f234b5b0b44828e1dfe9ffffc751e0c33201b Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 12 Nov 2024 16:16:24 +0100 Subject: [PATCH 1/3] docs: fix typo Signed-off-by: Natanael Copa --- docs/support-dump.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/support-dump.md b/docs/support-dump.md index dc9fda12d135..6908d7d8c139 100644 --- a/docs/support-dump.md +++ b/docs/support-dump.md @@ -35,7 +35,7 @@ To get a support bundle, after setting up the [tooling](#setting-up), you simply support-bundle --kubeconfig /var/lib/k0s/pki/admin.conf https://docs.k0sproject.io/stable/support-bundle-.yaml ``` -Above `` refers to either `controller`or `worker`. For different roles we collect different things. If you are running a controller with `--enable-worker` or `--single`, where it becomes also a worker, you can also get a comobined dump: +Above `` refers to either `controller`or `worker`. For different roles we collect different things. If you are running a controller with `--enable-worker` or `--single`, where it becomes also a worker, you can also get a combined dump: ```shell support-bundle --kubeconfig /var/lib/k0s/pki/admin.conf https://docs.k0sproject.io/stable/support-bundle-controller.yaml https://docs.k0sproject.io/stable/support-bundle-worker.yaml From 46327fbb66fa8044af82ec7a519495327f5fefb2 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 12 Nov 2024 16:18:18 +0100 Subject: [PATCH 2/3] Add note that --single can not be extended Signed-off-by: Natanael Copa --- docs/install.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/install.md b/docs/install.md index 3db0e081dd05..a78321fa19ab 100644 --- a/docs/install.md +++ b/docs/install.md @@ -30,6 +30,12 @@ Though the Quick Start material is written for Debian/Ubuntu, you can use it for sudo k0s install controller --single ``` + NOTE: + The `--single` option will disable features needed for multi-node clusters so you will not be able to extend this cluster. If you want be able to extend the cluster in the future you should instead use: + ``` shell + sudo k0s install controller --enable-worker --no-taints + ``` + The `k0s install controller` sub-command accepts the same flags and parameters as the `k0s controller`. Refer to [manual install](k0s-multi-node.md#install-k0s) for a custom config file example. It is possible to set environment variables with the install command: From 20f3764eaf658cb0ca5cb7c1668d4090f878573c Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 13 Nov 2024 16:36:36 +0100 Subject: [PATCH 3/3] Update docs/install.md Co-authored-by: Tom Wieczorek Signed-off-by: Natanael Copa --- docs/install.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/install.md b/docs/install.md index a78321fa19ab..50f1785dd899 100644 --- a/docs/install.md +++ b/docs/install.md @@ -31,7 +31,8 @@ Though the Quick Start material is written for Debian/Ubuntu, you can use it for ``` NOTE: - The `--single` option will disable features needed for multi-node clusters so you will not be able to extend this cluster. If you want be able to extend the cluster in the future you should instead use: + The `--single` option will disable features needed for multi-node clusters, so you will not be able to extend this cluster. If you want to be able to extend the cluster in the future, you should use: + ``` shell sudo k0s install controller --enable-worker --no-taints ```