Skip to content

Commit d9d28f7

Browse files
author
Jonathan Chauncey
committed
Merge pull request #118 from jchauncey/workflow-to-controller
chore(platform loggging): Change workflow to controller
2 parents 9742b08 + 5c3a27e commit d9d28f7

1 file changed

Lines changed: 16 additions & 14 deletions

File tree

src/managing-workflow/platform-logging.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ Logger acts like a syslog server and receives all log messages that are occurrin
1313
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.
1414

1515
```
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
1818
```
1919

2020
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
2525

2626
You should see output similar to this:
2727
```
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
3739
```
3840

3941
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.
4042

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.
4244

4345
```
44-
kubectl delete pod <deis-workflow-pod>
46+
kubectl delete pod <deis-controller-pod>
4547
```
4648

4749
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
5153
```
5254
Error: There are currently no log messages. Please check the following things:
5355
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.
5557
3) The application is writing logs to the logger component.
5658
You can verify that logs are appearing in the logger component by issuing the following command:
5759
curl http://<log service ip>:8088/logs/myapp on a kubernetes host.

0 commit comments

Comments
 (0)