Skip to content

Commit 7d2987a

Browse files
author
Jonathan Chauncey
committed
Merge pull request #173 from jchauncey/update-logging
chore(logging): Update to reflect logger being in mainline workflow
2 parents e2a883b + e67be75 commit 7d2987a

1 file changed

Lines changed: 3 additions & 13 deletions

File tree

src/managing-workflow/platform-logging.md

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,7 @@ The logging platform is made up of 2 components - [Fluentd](https://github.com/d
1010
Logger acts like a syslog server and receives all log messages that are occurring on the cluster. It then filters this data to only Deis deploy applications and stores those log messages in a ring buffer where they can be fetched via the Deis CLI.
1111

1212
## Installation
13-
Installation of the logging components is separate from the installation of the Deis platform because of the requirement of Daemon Sets. You will need to follow these steps to get the logging components running on your kubernetes cluster.
14-
15-
```
16-
$ helm fetch deis/deis-logger-beta1-test
17-
$ helm install deis-logger-beta1-test
18-
```
19-
20-
You will then need to watch the components come up and verify they are in a running state by executing the following command:
13+
With the release of workflow-beta2 chart the logging system is part of the main installation of Workflow. You will then need to watch the components come up and verify they are in a running state by executing the following command:
2114

2215
```
2316
$ kubectl get pods --namespace=deis
@@ -53,11 +46,8 @@ Once the pod has restarted, you can verify the logging system is working by goin
5346
```
5447
Error: There are currently no log messages. Please check the following things:
5548
1) Logger and fluentd pods are running.
56-
2) If you just installed the logger components via the chart, please make sure you restarted the controller pod.
57-
3) The application is writing logs to the logger component.
58-
You can verify that logs are appearing in the logger component by issuing the following command:
59-
curl http://<log service ip>:8088/logs/myapp on a kubernetes host.
60-
To get the service ip you can do the following: kubectl get svc deis-logger --namespace=deis
49+
2) The application is writing logs to the logger component by checking that an entry in the ring buffer was created: kubectl logs <logger pod> --namespace=deis
50+
3) Making sure that the container logs were mounted properly into the fluentd pod: kubectl exec <fluentd pod> --namespace=deis ls /var/log/containers
6151
```
6252

6353
## Architecture Diagram

0 commit comments

Comments
 (0)