Skip to content
This repository was archived by the owner on Apr 24, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
a6ec71d
Update README.md
DrMavenRebe Dec 28, 2018
d326f8e
fix: nginx parser regex
edsiper Mar 25, 2019
f711675
Merge branch 'master' of https://github.com/fluent/fluent-bit-kuberne…
julienvincent Apr 12, 2019
531a6a7
fix: typo in readme
Oct 19, 2018
36b3ab5
Update labels to Kubernetes recommended naming scheme
karlskewes Nov 3, 2018
d3fd620
Update README.md
davidkarlsen Sep 24, 2019
a8d9bd6
Updating api endpoint and selector
rjshrjndrn Jan 10, 2020
105fa63
Fix duplication of 'Fluent Bit to Elasticsearch on Minikube' section …
iyankovsky Oct 20, 2020
46d321e
Merge #34 into kustomize-base
solsson Aug 10, 2021
fa55a41
Merge #37 into kustomize-base
solsson Aug 10, 2021
4252f35
Merge fluent/fluent-bit-kubernetes-logging#45 into kustomize-base
solsson Aug 10, 2021
ad4f7a2
Merge fluent/fluent-bit-kubernetes-logging#51 into kustomize-base
solsson Aug 10, 2021
b344a3a
Merge fluent/fluent-bit-kubernetes-logging#57 into kustomize-base
solsson Aug 10, 2021
95e12dd
Merge fluent/fluent-bit-kubernetes-logging#66 into kustomize-base
solsson Aug 10, 2021
3a18cdc
Revert "Update README.md"
solsson Aug 10, 2021
92f6d35
Merge fluent/fluent-bit-kubernetes-logging#84 into kustomize-base
solsson Aug 10, 2021
6f7b856
Starts the Kustomize base from the elasticsearch example
solsson Aug 10, 2021
fcd5622
Fixes label inconsistencies
solsson Aug 10, 2021
6fa4824
Removes deprecated label, kubernetes/kubernetes#72757
solsson Aug 10, 2021
072a479
I think the yaml ordering aimed to keep volumes and volumeMounts
solsson Aug 10, 2021
e69e738
The limit for graceful node shutdown
solsson Aug 10, 2021
1c2091d
There's no indication that the duplication is needed
solsson Aug 10, 2021
d5186b9
Removes stuff that is better handled with Kustomize
solsson Aug 10, 2021
38b56e8
Ports current elasticsearch config to Kustomize
solsson Aug 10, 2021
e0e0289
Removes redundant suffix and prefix
solsson Aug 10, 2021
2095951
Migrates RBAC to Kustomize
solsson Aug 10, 2021
9d649e0
With image digests we don't depend on a particular imagePullPolicy
solsson Aug 10, 2021
f99ebff
Probes from the helm chart
solsson Aug 10, 2021
3dd95af
A decent devloop
solsson Aug 11, 2021
724c616
The docker parser has no effect, but cri has
solsson Aug 11, 2021
4b0736e
Allows custom parsers without duplication of the cri conf
solsson Aug 11, 2021
1786335
Uses the same key for log content as with unparsed logs
solsson Aug 11, 2021
d529507
Merge branch 'base-output-stdout' into kustomize-base
solsson Aug 11, 2021
9b714d4
Seems like something you need to tweak
solsson Aug 11, 2021
cbb9dae
Adapts tag regex to path /var/log/pods
solsson Aug 11, 2021
70562dd
Msgpack format is more useful for devloops because it includes tags
solsson Aug 11, 2021
a5c7b19
Loki with ephemeral storage
solsson Aug 11, 2021
d99ccdb
Easier to follow with the constant length UUID first
solsson Aug 11, 2021
0da56f8
Now includes container metadata and pod labels
solsson Aug 11, 2021
efb12ac
Current from the helm chart
solsson Aug 12, 2021
6d3e74a
Ephemeral loki setup
solsson Aug 13, 2021
0ace3c1
Dropping the dash because it's used as separator everywhere else
solsson Aug 13, 2021
24fb8c4
A dev stack with loki, minimal parsing upfront
solsson Aug 13, 2021
c0b209e
Extracts debug behavior to a patch that can be commented out
solsson Aug 13, 2021
e801dbe
Merge branch 'loki-config' into kustomize-base
solsson Aug 13, 2021
63b006d
Fix indentation
solsson Aug 13, 2021
cae23c9
Restores the official image's config path
solsson Aug 14, 2021
05dbf8d
Using the go plugin we can send the .log record as log line
solsson Aug 14, 2021
f130d8d
Grafana's build is also based on the fluent-bit 1.8.3 image
solsson Aug 14, 2021
de8c0b2
A loki test/examples job that can be applied with -k or -f
solsson Aug 14, 2021
614ea0a
Was meant for the kustomize-base-loki-distributed branch
solsson Aug 14, 2021
d7805fb
Use the exclusion annotation for anything but promtail itself
solsson Aug 15, 2021
79771fb
Tests can fail explicitly with exit 1 where desired
solsson Aug 15, 2021
a81086c
Adds metrics and exec example for the test job
solsson Aug 15, 2021
3426a37
Getting error "TCPTransport: unknown message type" msgType=G
solsson Aug 15, 2021
a77aa02
I can't see any effect of the "wildcard" toleration
solsson Aug 15, 2021
3f7e32b
Removes the old Kafka REST example
solsson Aug 15, 2021
adab693
We could add more base folders to restore Elasticsearch and Kafka
solsson Aug 15, 2021
c1a93cb
When distribution works there's no need for a wait before query
solsson Aug 15, 2021
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
Prev Previous commit
Next Next commit
Migrates RBAC to Kustomize
  • Loading branch information
solsson committed Aug 10, 2021
commit 209595111de88358541ac0a222752a2f3a97076c
3 changes: 3 additions & 0 deletions base/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

namespace: logging

commonLabels:
app.kubernetes.io/name: fluent-bit

resources:
- ../rbac
- fluent-bit-daemonset.yaml

configMapGenerator:
Expand Down
2 changes: 1 addition & 1 deletion fluent-bit-role.yaml → rbac/fluent-bit-role.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: fluent-bit-read
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: fluent-bit-read
Expand All @@ -9,4 +9,4 @@ roleRef:
subjects:
- kind: ServiceAccount
name: fluent-bit
namespace: logging
# set by Kustomize: namespace:
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: fluent-bit
namespace: logging
7 changes: 7 additions & 0 deletions rbac/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- fluent-bit-serviceaccount.yaml
- fluent-bit-role.yaml
- fluent-bit-rolebinding.yaml