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

Update the FluentBit documentation basic code snippet

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.4.1
    • None
    • None
    • None
    • 10 - Krackeverlasting
    • 0

    Description

      It could be useful to give a slightly more working code snippet for the "Enabling Log Forwarding" section in the "Configure Log Forwarding"  document.

       

      The current snippet is:

       

      apiVersion: couchbase.com/v2
      kind: CouchbaseCluster
      spec:
        logging:
          server:
            enabled: true 
            sidecar:
              image: "couchbase/fluent-bit:1.2.0" 
          audit:
            enabled: false 
            garbageCollection:
              sidecar:
                enabled: false 

      What's worked for me:

       

       apiVersion: couchbase.com/v2
      kind: CouchbaseCluster
      metadata:
        name: cb-example
      spec:
        image: couchbase/server:7.1.3
        volumeClaimTemplates:
          - metadata:
              name: couchbase
            spec:
              storageClassName: "standard"
              resources:
                requests:
                  storage: 1Gi
       
       
      ...
       
      servers:
        - size: 3
          name: all_services
          volumeMounts:
            default: couchbase

      The link to the docs:

       

      https://docs-staging.couchbase.com/operator/2.4/howto-couchbase-log-forwarding.html

      Attachments

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

        Activity

          People

            justin.ashworth Justin Ashworth
            gilad.kalchheim Gilad Kalchheim
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty