-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Fluent-bit supports the hostNetwork configuration of pod #369
Conversation
Signed-off-by: tl <tonyzaizai@kubesphere.io>
host: <cloud-prometheus-service-host> | ||
port: <cloud-prometheus-service-port> | ||
uri: /api/v1/write | ||
addLabels : |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The labels you added are for fluent bit plugin example, should be changed to a more meaningful one
addLabels :
app: fluentbit
job: kubeedge
apiVersion: fluentbit.fluent.io/v1alpha2 | ||
kind: FluentBit | ||
metadata: | ||
name: fluent-bit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
name: fluent-bit | |
name: fluentbit-edge |
kind: Kustomization | ||
|
||
resources: | ||
- fluentbit-fluentBit.yaml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the filenames should be separated by -
with no upper case
- fluentbit-fluentbit-edge.yaml
- fluentbitconfig-fluentbitconfig-edge.yaml
- input-prometheus-scrape.yaml
- output-stdout.yaml
- output-prometheus-remote-write.yaml
apiVersion: fluentbit.fluent.io/v1alpha2 | ||
kind: ClusterInput | ||
metadata: | ||
name: node-exporter-metrics |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
name: node-exporter-metrics | |
name: node-exporter-metrics-edge |
apiVersion: fluentbit.fluent.io/v1alpha2 | ||
kind: ClusterInput | ||
metadata: | ||
name: prometheus-scrape |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
name: prometheus-scrape | |
name: prometheus-scrape-metrics-edge |
apiVersion: fluentbit.fluent.io/v1alpha2 | ||
kind: ClusterOutput | ||
metadata: | ||
name: prometheus-remote-write |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
name: prometheus-remote-write | |
name: prometheus-remote-write-edge |
apiVersion: fluentbit.fluent.io/v1alpha2 | ||
kind: ClusterOutput | ||
metadata: | ||
name: stdout |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
name: stdout | |
name: stdout-edge |
Signed-off-by: tl <tonyzaizai@kubesphere.io>
Signed-off-by: tl <tonyzaizai@kubesphere.io>
Signed-off-by: tl tonyzaizai@kubesphere.io
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #355
Does this PR introduced a user-facing change?
Additional documentation, usage docs, etc.: