Skip to content

Commit

Permalink
Use daemonset for fluentbit (cse-labs#58)
Browse files Browse the repository at this point in the history
* Updating fluent bit to use daemonset

* Minor updates
  • Loading branch information
aflinchb authored Aug 26, 2022
1 parent ca10c24 commit 55bea2e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Cory Wilkerson, Senior Director of Engineering at GitHub, recorded a podcast whe
kube-system local-path-provisioner-5ff76fc89d-wfpjx 1/1 Running 0 48s
kube-system coredns-7448499f4d-dnjzl 1/1 Running 0 48s
kube-system metrics-server-86cbb8457f-qlp8v 1/1 Running 0 48s
logging fluentbit-f6c6d757b-mjh7r 1/1 Running 0 32s
logging fluentbit-cq45s 1/1 Running 0 32s
kube-system helm-install-traefik-crd-zk5gr 0/1 Completed 0 48s
kube-system helm-install-traefik-mbr2l 0/1 Completed 1 48s
heartbeat heartbeat-65978f8f88-dw9fn 1/1 Running 0 32s
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
apiVersion: apps/v1
kind: Deployment
kind: DaemonSet
metadata:
name: fluentbit
namespace: logging
labels:
app.kubernetes.io/name: fluentbit

spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: fluentbit
Expand All @@ -28,11 +27,21 @@ spec:
image: fluent/fluent-bit:1.9
imagePullPolicy: Always
ports:
- containerPort: 2020
- name: http
containerPort: 2020
protocol: TCP
resources:
limits:
cpu: 200m
memory: 256Mi
livenessProbe:
httpGet:
path: /
port: http
readinessProbe:
httpGet:
path: /api/v1/health
port: http
env:
# - name: WorkspaceId
# valueFrom:
Expand Down

0 comments on commit 55bea2e

Please sign in to comment.