aboutsummaryrefslogtreecommitdiff
path: root/logging/README.md
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2019-07-28 06:58:17 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2019-07-28 06:58:17 +0200
commitd0104a31198e542b81e540a3abe1ad34d2272873 (patch)
treedc67b6ce92a093c6939bcc3d78d5d37f2e642ec3 /logging/README.md
parentf3e7c542cd87a91ee07c703e5bea23887d6c5569 (diff)
downloadk8s-sandbox-d0104a31198e542b81e540a3abe1ad34d2272873.tar.gz
k8s-sandbox-d0104a31198e542b81e540a3abe1ad34d2272873.tar.bz2
k8s-sandbox-d0104a31198e542b81e540a3abe1ad34d2272873.tar.xz
k8s-sandbox-d0104a31198e542b81e540a3abe1ad34d2272873.zip
wip
Diffstat (limited to 'logging/README.md')
-rw-r--r--logging/README.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/logging/README.md b/logging/README.md
new file mode 100644
index 0000000..4cd2e6c
--- /dev/null
+++ b/logging/README.md
@@ -0,0 +1,21 @@
+First, install *local-path-provisioner*.
+
+Then:
+
+ kubectl create -f kube-logging.yaml
+ kubectl create -f elasticsearch-service.yaml
+ kubectl create -f elasticsearch-statefulset.yaml
+ kubectl create -f kibana.yaml
+ kubectl create -f fluentd.yaml
+
+To get some logging output:
+
+ kubectl create -f counter.yaml
+
+To fix broken config:
+
+ kubectl -n kube-system create configmap fluentd-config \
+ --from-file fluentd/kubernetes.conf \
+ --from-file fluentd/fluent.conf \
+ --from-file fluentd/systemd.conf
+