We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
i have deployed fluentbit using the operator following the official guide https://github.com/kubesphere-sigs/fluent-operator-walkthrough. however i don't see the fluent bit daemonsets.
below is my resource definition as seen from the official guide
apiVersion: fluentbit.fluent.io/v1alpha2 kind: FluentBit metadata: name: fluent-bit namespace: fluent labels: app.kubernetes.io/name: fluent-bit spec: image: kubesphere/fluent-bit:v1.8.11 positionDB: hostPath: path: /var/lib/fluent-bit/ resources: requests: cpu: 10m memory: 25Mi limits: cpu: 500m memory: 200Mi fluentBitConfigName: fluent-bit-only-config tolerations:
with the above custom resource, fluent bits daemonsets should be created but they are not.
- Fluent Operator version: v1.8.11 - Container Runtime: crio - Operating system: linux - Kernel version:
fluent was installed using the manifest => https://raw.githubusercontent.com/fluent/fluent-operator/release-2.5/manifests/setup/setup.yaml
No response
The text was updated successfully, but these errors were encountered:
You need a ClusterFluentBitConfig manifest too to create a daemonset. Quoted from the original workthrough
The FluentBit CR works together with ClusterFluentBitConfig and they should be created together.
Sorry, something went wrong.
@cw-Guo thanks for your response. i did have the ClusterFluentBitConfig created as well.
apiVersion: fluentbit.fluent.io/v1alpha2 kind: ClusterFluentBitConfig metadata: name: fluent-bit-config labels: app.kubernetes.io/name: fluent-bit spec: service: parsersFile: parsers.conf inputSelector: matchLabels: fluentbit.fluent.io/enabled: "true" fluentbit.fluent.io/mode: "k8s" filterSelector: matchLabels: fluentbit.fluent.io/enabled: "true" fluentbit.fluent.io/mode: "k8s" outputSelector: matchLabels: fluentbit.fluent.io/enabled: "true" fluentbit.fluent.io/mode: "k8s"
I created every resources quoted in the docs
this is resolved it was due to the fluentBitConfigName field in the fluentbit resource not matching with the name of the ClusterFluentBitConfig name
No branches or pull requests
Describe the issue
i have deployed fluentbit using the operator following the official guide https://github.com/kubesphere-sigs/fluent-operator-walkthrough. however i don't see the fluent bit daemonsets.
To Reproduce
below is my resource definition as seen from the official guide
apiVersion: fluentbit.fluent.io/v1alpha2
kind: FluentBit
metadata:
name: fluent-bit
namespace: fluent
labels:
app.kubernetes.io/name: fluent-bit
spec:
image: kubesphere/fluent-bit:v1.8.11
positionDB:
hostPath:
path: /var/lib/fluent-bit/
resources:
requests:
cpu: 10m
memory: 25Mi
limits:
cpu: 500m
memory: 200Mi
fluentBitConfigName: fluent-bit-only-config
tolerations:
Expected behavior
with the above custom resource, fluent bits daemonsets should be created but they are not.
Your Environment
How did you install fluent operator?
fluent was installed using the manifest => https://raw.githubusercontent.com/fluent/fluent-operator/release-2.5/manifests/setup/setup.yaml
Additional context
No response
The text was updated successfully, but these errors were encountered: