Uploaded image for project: 'Couchbase Kubernetes'
  1. Couchbase Kubernetes
  2. K8S-3299

FluentBit package validation: permission problem when enabling logging in 2.6.0

    XMLWordPrintable

Details

    • Page
    • Resolution: Done
    • Major
    • 2.6.0
    • 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 

       

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            yusuf.ramzan Yusuf Ramzan
            gilad.kalchheim Gilad Kalchheim
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty