jamiejackson
08/13/2024, 7:08 PMjamiejackson
08/13/2024, 7:13 PM./deploy-es.sh yields a TLS endpoint that also needs credentials. The prescribed ClusterOutput config doesn't take that into account.
I think that spec.es.tls = true takes care of the TLS part but I don't know how to supply credentials. I don't think the ClusterOutput CR is documented (or if it is, I haven't found it), so I'm left guessing.Pat
08/14/2024, 10:12 AMkubectl explain give you the details for the CRD?
The walkthrough was done a while ago so may need an update - it's all OSS though so can be contributed to via a PR: https://github.com/kubesphere-sigs/fluent-operator-walkthrough
Looks like the CRDs are here: https://github.com/fluent/fluent-operator/blob/master/apis/fluentbit/v1alpha2/clusteroutput_types.go
There definitely used to be docs somewhere for them, it should be autogenerated from kubebuilder... ah here linked from the main readme: https://github.com/fluent/fluent-operator/blob/master/docs/fluentbit.md#ClusterOutput
However looks like the spec link is broken.jamiejackson
08/14/2024, 2:24 PM% kubectl explain ClusterOutput
GROUP: <http://fluentbit.fluent.io|fluentbit.fluent.io>
KIND: ClusterOutput
VERSION: v1alpha2
DESCRIPTION:
ClusterOutput is the Schema for the cluster-level outputs API
FIELDS:
apiVersion <string>
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values. More info:
<https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources>
kind <string>
Kind is a string value representing the REST resource this object
represents. Servers may infer this from the endpoint the client submits
requests to. Cannot be updated. In CamelCase. More info:
<https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds>
metadata <ObjectMeta>
Standard object's metadata. More info:
<https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata>
spec <Object>
OutputSpec defines the desired state of ClusterOutputjamiejackson
08/14/2024, 2:25 PMjamiejackson
08/14/2024, 2:27 PMjamiejackson
08/14/2024, 6:07 PMjamiejackson
08/14/2024, 6:08 PMtls: true / tls: On doesn't pass validation.jamiejackson
08/14/2024, 9:15 PM