summaryrefslogtreecommitdiffstats
path: root/docs/development/design
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2018-05-09 15:01:53 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2018-05-31 09:34:24 +0800
commit44086aee87fd06ca03bac19c4b002e05777d3db0 (patch)
treed9f135bd344a9b5b31b878a555a25862d5013f02 /docs/development/design
parent2a5e275ce089f9c359035c53e45814622fff458a (diff)
Add support for node level logging
Change-Id: Ib5b2240de3276164fe9e272bf36f0d1f89f409c0 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'docs/development/design')
-rw-r--r--docs/development/design/logging.rst18
1 files changed, 11 insertions, 7 deletions
diff --git a/docs/development/design/logging.rst b/docs/development/design/logging.rst
index 5fbaeb9..2c2dfe6 100644
--- a/docs/development/design/logging.rst
+++ b/docs/development/design/logging.rst
@@ -14,19 +14,23 @@ First, install logging stack Elasticsearch, Fluentd and Kibana::
kubectl apply -f install/logging-stack.yaml
-Then configure fluentd for istio::
-
- kubectl apply -f install/fluentd-istio.yaml
-
-Note that, it must be done in two steps. If you run ``kubectl apply -f install``
-instead, the mixer adapter may fail to intialize because the target service can
-not be found. You may find an error message from mixer container::
+Note that, it must be done in separated steps. If you run ``kubectl apply -f
+install`` instead, the mixer adapter may fail to intialize because the target
+service can not be found. You may find an error message from mixer container::
2018-05-09T02:43:14.435156Z error Unable to initialize adapter:
snapshot='6', handler='handler.fluentd.istio-system', adapter='fluentd',
err='adapter instantiation error: dial tcp: lookup fluentd-es.logging on
10.96.0.10:53: no such host'.
+Then configure fluentd for istio::
+
+ kubectl apply -f install/fluentd-istio.yaml
+
+Configure fluentd for node level logging::
+
+ kubectl apply -f install/fluentd-daemonset-elasticsearch-rbac.yaml
+
.. _sample configuration: https://istio.io/docs/tasks/telemetry/fluentd.html
********