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

Added Daemonset yaml for Kubernetes cluster v1.16+ and updated README. #71

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
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
11 changes: 4 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@ Fluent Bit DaemonSet ready to be used with Elasticsearch on a normal Kubernetes
```
$ kubectl create -f https://raw.githubusercontent.com/fluent/fluent-bit-kubernetes-logging/master/output/elasticsearch/fluent-bit-ds.yaml
```
Fluent Bit DaemonSet ready to be used with Elasticsearch on a normal Kubernetes Cluster v1.16 and above:

```
$ kubectl create -f https://raw.githubusercontent.com/AATHITH/fluent-bit-kubernetes-logging/master/output/elasticsearch/fluent-bit-ds(v1.16%2B).yaml
```
#### Fluent Bit to Elasticsearch on Minikube

If you are using Minikube for testing purposes, use the following alternative DaemonSet manifest:
Expand All @@ -57,13 +61,6 @@ Fluent Bit DaemonSet ready to be used with Kafka on a normal Kubernetes Cluster:
$ kubectl create -f https://raw.githubusercontent.com/fluent/fluent-bit-kubernetes-logging/master/output/kafka/fluent-bit-ds.yaml
```

#### Fluent Bit to Elasticsearch on Minikube

If you are using Minikube for testing purposes, use the following alternative DaemonSet manifest:

```
$ kubectl create -f https://raw.githubusercontent.com/fluent/fluent-bit-kubernetes-logging/master/output/elasticsearch/fluent-bit-ds-minikube.yaml
```

## Details

Expand Down
7 changes: 6 additions & 1 deletion output/elasticsearch/fluent-bit-ds.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: fluent-bit
Expand All @@ -8,6 +8,11 @@ metadata:
version: v1
kubernetes.io/cluster-service: "true"
spec:
selector:
matchLabels:
k8s-app: fluent-bit-logging
version: v1
kubernetes.io/cluster-service: "true"
template:
metadata:
labels:
Expand Down