From 030ce6bf9b4cda377ecbfe13a52c17fca2ae7bb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20Gei=C3=9Fler?= Date: Fri, 24 Jan 2020 16:43:20 +0100 Subject: [PATCH] Update k3s advanced Docker documentation The docker service in the example compose file that runs the kubernetes node uses the same name as the k3s terminology and is actually called agent. --- content/k3s/latest/en/advanced/_index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/k3s/latest/en/advanced/_index.md b/content/k3s/latest/en/advanced/_index.md index 8b2c5f76e68..00c486a28c1 100644 --- a/content/k3s/latest/en/advanced/_index.md +++ b/content/k3s/latest/en/advanced/_index.md @@ -277,7 +277,7 @@ brew install k3d A `docker-compose.yml` is in the root of the K3s repo that serves as an example of how to run K3s from Docker. To run from `docker-compose` from this repo, run: - docker-compose up --scale node=3 + docker-compose up --scale agent=3 # kubeconfig is written to current dir kubectl --kubeconfig kubeconfig.yaml get node @@ -287,7 +287,7 @@ A `docker-compose.yml` is in the root of the K3s repo that serves as an example d54c8b17c055 Ready 11s v1.13.2-k3s2 db7a5a5a5bdd Ready 12s v1.13.2-k3s2 -To run the agent only in Docker, use `docker-compose up node`. +To run the agent only in Docker, use `docker-compose up agent`. Alternatively the `docker run` command can also be used: