From f2ef25c67ffc115e9cd421e7f1942933e4ca5298 Mon Sep 17 00:00:00 2001 From: "wangyongchao.bj" Date: Tue, 20 Jul 2021 10:22:40 +0800 Subject: [PATCH] docs: fixed kata-deploy path for kata logs with fluentd doc The kata-deploy project path has changed from kata v2. fixed kata-deploy path in the document how-to-import-kata-logs-with-fluentd.md. The correct path is `$GOPATH/src/github.com/kata-containers/kata-containers/tools/packaging/kata-deploy` Fixes: #2273 Signed-off-by: wangyongchao.bj --- docs/how-to/how-to-import-kata-logs-with-fluentd.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/how-to/how-to-import-kata-logs-with-fluentd.md b/docs/how-to/how-to-import-kata-logs-with-fluentd.md index 5c8c8c0f8a..4db5c4feca 100644 --- a/docs/how-to/how-to-import-kata-logs-with-fluentd.md +++ b/docs/how-to/how-to-import-kata-logs-with-fluentd.md @@ -161,7 +161,7 @@ generate some Kata specific log entries: ```bash $ minikube addons open efk -$ cd $GOPATH/src/github.com/kata-containers/packaging/kata-deploy +$ cd $GOPATH/src/github.com/kata-containers/kata-containers/tools/packaging/kata-deploy $ kubectl apply -f examples/nginx-deployment-qemu.yaml ``` @@ -272,9 +272,9 @@ go directly to a full Kata specific JSON format logfile test. Kata runtime has the ability to generate JSON logs directly, rather than its default `logfmt` format. Passing the `--log-format=json` argument to the Kata runtime enables this. The easiest way to pass in this extra -parameter from a [Kata deploy](https://github.com/kata-containers/packaging/tree/master/kata-deploy) installation +parameter from a [Kata deploy](https://github.com/kata-containers/kata-containers/tree/main/tools/packaging/kata-deploy) installation is to edit the `/opt/kata/bin/kata-qemu` shell script (generated by the -[Kata packaging release scripts](https://github.com/kata-containers/packaging/blob/master/release/kata-deploy-binaries.sh)). +[Kata packaging release scripts](https://github.com/kata-containers/kata-containers/blob/main/tools/packaging/release/kata-deploy-binaries.sh)). At the same time, we will add the `--log=/var/log/kata-runtime.log` argument to store the Kata logs in their own file (rather than into the system journal).