Details
-
Page
-
Resolution: Done
-
Major
-
2.6.0
-
None
-
None
-
Pre-Christmas Completions
-
1
Description
I followed the steps of the Operator FluentBit documentation and got an error (see attached logs).
The steps:
1) Create couchbase-cluster-log-forwarding.yaml as follows:
apiVersion: v1
|
kind: Secret
|
metadata:
|
name: cb-example-auth
|
type: Opaque
|
data:
|
username: QWRtaW5pc3RyYXRvcg== # Administrator
|
password: cGFzc3dvcmQ= # password
|
---
|
apiVersion: couchbase.com/v2
|
kind: CouchbaseBucket
|
metadata:
|
name: default |
---
|
apiVersion: couchbase.com/v2
|
kind: CouchbaseCluster
|
metadata:
|
name: cb-example
|
spec:
|
logging:
|
server:
|
enabled: true |
manageConfiguration: true |
configurationName: "fluent-bit-config" |
sidecar:
|
image: "couchbase/fluent-bit:1.2.3" |
audit:
|
enabled: true |
garbageCollection:
|
sidecar:
|
enabled: true |
image: couchbase/server:7.1.3 |
security:
|
adminSecret: cb-example-auth
|
buckets:
|
managed: true |
servers:
|
- size: 3 |
name: all_services
|
services:
|
- data
|
- index
|
- query
|
- search
|
- eventing
|
- analytics
|
volumeMounts:
|
default: couchbase |
volumeClaimTemplates:
|
- metadata:
|
name: couchbase
|
spec:
|
resources:
|
requests:
|
storage: 1Gi
|
2.
kubectl apply -f couchbase-cluster-log-forwarding.yaml
|
3.
kubectl logs cb-example-0000 logging |