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

Support minikube #5

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ The current DaemonSet points to this specific Docker Hub image:

1. Make sure your Elasticsearch backend is running and can be reach through the hostname _elasticsearch-logging_. This value can be changed in the Yaml file

```
wget https://github.com/kubernetes/kubernetes/raw/master/cluster/addons/fluentd-elasticsearch/es-controller.yaml
wget https://github.com/kubernetes/kubernetes/raw/master/cluster/addons/fluentd-elasticsearch/es-service.yaml
kubectl create -f es-controller.yaml
kubectl create -f es-service.yaml
```

2. Deploy the daemonset file from this repository:

```bash
Expand Down
6 changes: 6 additions & 0 deletions fluent-bit-daemonset-elasticsearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ spec:
- name: varlibdockercontainers
mountPath: /var/lib/docker/containers
readOnly: true
- name: minikube
mountPath: /mnt/sda1/var/lib/docker/containers
readOnly: true
terminationGracePeriodSeconds: 10
volumes:
- name: varlog
Expand All @@ -43,3 +46,6 @@ spec:
- name: varlibdockercontainers
hostPath:
path: /var/lib/docker/containers
- name: minikube
hostPath:
path: /mnt/sda1/var/lib/docker/containers