Skip to content
This repository was archived by the owner on Sep 22, 2024. It is now read-only.

Use daemonset for fluentbit #58

Merged
merged 2 commits into from
Aug 26, 2022
Merged
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
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