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

Default log forwarding example code not working

    XMLWordPrintable

Details

    • Page
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.3.2
    • documentation
    • None
    • 30: Maintenance, CMOS, ARM
    • 1

    Description

      In the forward logging documentation:

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

      in the  Custom Log Forwarding section, some fields are invalid:

      image: couchbase/fluent-bit:1.2.0” (missing opening ")

      configurationMountPath: “/fluent-bit/config/” (it doesn't work with quotes for me).

       

      This is what's worked for me:       

       

      logging: 
          server:
            enabled: true
            manageConfiguration: true 
            configurationName: "fluent-bit-config"
            sidecar:
              image: "couchbase/fluent-bit:1.2.0"
              configurationMountPath: /fluent-bit/config/
              resources:
                requests:
                  cpu: 100m
                  memory: 500Mi

       

       

      Attachments

        For Gerrit Dashboard: K8S-2790
        # Subject Branch Project Status CR V

        Activity

          ingenthr Matt Ingenthron added a comment - - edited

          Putting this on 2.3, but do we need to fix in 2.2 and earlier? Maybe move out of 2.3.2.

          ingenthr Matt Ingenthron added a comment - - edited Putting this on 2.3, but do we need to fix in 2.2 and earlier? Maybe move out of 2.3.2.

          Build couchbase-operator-2.3.3-101 contains couchbase-operator commit b4007b3 with commit message:
          K8S-2790: Fix quotes in log forwarding example

          build-team Couchbase Build Team added a comment - Build couchbase-operator-2.3.3-101 contains couchbase-operator commit b4007b3 with commit message: K8S-2790 : Fix quotes in log forwarding example

          People

            tommie Tommie McAfee
            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