You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/managing-workflow/platform-logging.md
+16-14Lines changed: 16 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,8 +13,8 @@ Logger acts like a syslog server and receives all log messages that are occurrin
13
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
14
15
15
```
16
-
$ helm fetch deis/deis-logger
17
-
$ helm install deis-logger
16
+
$ helm fetch deis/deis-logger-beta1-test
17
+
$ helm install deis-logger-beta1-test
18
18
```
19
19
20
20
You will then need to watch the components come up and verify they are in a running state by executing the following command:
@@ -25,23 +25,25 @@ $ kubectl get pods --namespace=deis
25
25
26
26
You should see output similar to this:
27
27
```
28
-
NAME READY STATUS RESTARTS AGE
29
-
deis-builder-m68z9 1/1 Running 0 18h
30
-
deis-database-y765n 1/1 Running 0 1d
31
-
deis-logger-fluentd-pcndf 1/1 Running 0 20h
32
-
deis-logger-iwos5 1/1 Running 0 20h
33
-
deis-minio-zlmk8 1/1 Running 0 1d
34
-
deis-registry-bys9n 1/1 Running 0 1d
35
-
deis-router-h5f0i 1/1 Running 0 1d
36
-
deis-workflow-2v84b 1/1 Running 0 20h
28
+
NAME READY STATUS RESTARTS AGE
29
+
deis-builder-2qgil 1/1 Running 2 17h
30
+
deis-controller-6rivh 1/1 Running 3 17h
31
+
deis-database-iou5f 1/1 Running 0 17h
32
+
deis-logger-6er1f 1/1 Running 0 1h
33
+
deis-logger-fluentd-4asyw 1/1 Running 0 1h
34
+
deis-logger-fluentd-tbhvf 1/1 Running 0 1h
35
+
deis-minio-2jnr7 1/1 Running 0 17h
36
+
deis-registry-terrk 1/1 Running 4 17h
37
+
deis-router-jakw6 1/1 Running 0 17h
38
+
deis-workflow-manager-f1ige 1/1 Running 0 33m
37
39
```
38
40
39
41
There should be a fluentd pod per worker node of your Kubernetes cluster. So if you are running a 3 node cluster with 1 master and 2 workers you will have 2 fluentd pods running.
40
42
41
-
Once you have verified that the pods have started correctly you will need to restart your workflow pod so that it can capture the correct information about how to talk to the logger pod.
43
+
Once you have verified that the pods have started correctly you will need to restart your controller pod so that it can capture the correct information about how to talk to the logger pod.
42
44
43
45
```
44
-
kubectl delete pod <deis-workflow-pod>
46
+
kubectl delete pod <deis-controller-pod>
45
47
```
46
48
47
49
The replication controller will restart a new pod with all of the correct information.
@@ -51,7 +53,7 @@ Once the pod has restarted, you can verify the logging system is working by goin
51
53
```
52
54
Error: There are currently no log messages. Please check the following things:
53
55
1) Logger and fluentd pods are running.
54
-
2) If you just installed the logger components via the chart, please make sure you restarted the workflow pod.
56
+
2) If you just installed the logger components via the chart, please make sure you restarted the controller pod.
55
57
3) The application is writing logs to the logger component.
56
58
You can verify that logs are appearing in the logger component by issuing the following command:
57
59
curl http://<log service ip>:8088/logs/myapp on a kubernetes host.
0 commit comments