Skip to content
This repository was archived by the owner on Dec 5, 2023. It is now read-only.

Commit 21c0d0e

Browse files
added fluentd insutrctions for minikube
1 parent 1fefb89 commit 21c0d0e

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

deployment/kubernetes-minikube.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,34 @@ minikube start
2727

2828
Check if it's running with `minikube status`, and make sure the Kubernetes dashboard is running on http://192.168.99.100:30000.
2929

30+
31+
##### *(Optional)* Run with Fluentd + ELK based logging
32+
33+
If you want to run the application using a more advanced logging setup based on Fluentd + ELK stack, there are 2 requirements:
34+
* assign at least 6 GB of memory to the minikube VM
35+
* increase vm.max_map_count to 262144 or higher (Required because Elasticsearch will not start if it detects a value lower than 262144).
36+
37+
```
38+
minikube delete
39+
minikube config set memory 6144
40+
minikube start
41+
minikube ssh
42+
```
43+
44+
Once logged into the VM:
45+
46+
```
47+
$ sudo sysctl -w vm.max_map_count=262144
48+
```
49+
50+
After these settings are done you can start the logging manifests.
51+
52+
```
53+
kubectl create -f deploy/kubernetes/manifests-logging
54+
```
55+
56+
You should be able to see the Kibana dashboard at http://192.168.99.100:31601.
57+
3058
### Deploy Sock Shop
3159

3260
Deploy the Sock Shop application on Minikube

0 commit comments

Comments
 (0)