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

exposedFeatures field missing from examples on CouchbaseCluster reference page

    XMLWordPrintable

Details

    • Page
    • Resolution: Fixed
    • Major
    • not-targeted
    • None
    • documentation
    • None
    • 1

    Description

      We have the following section in our doc:

      https://docs-staging.couchbase.com/operator/2.1/reference-couchbasecluster.html#spec-networking-exposedfeatures

      spec.networking.exposedFeatures
      This field specified a list of per-pod features to expose on the cluster network (as opposed to the pod network). These define sets of ports which are required to support the specified features. The supported values are as follows:
       
      admin
      Exposes the admin API and UI
       
      xdcr
      Exposes the ports necessary to support XDCR via L3 connectivity at the cluster network layer.
       
      client
      Exposes all client services. These include data, views, query, full text search, analytics.
       
      Field rules: The exposedFeatures list is optional, no feature sets are exposed to the cluster network if unset.
      

      But we don't show the example of this in the config, namely

      spec:
        networking:
          exposeAdminConsole: true
          adminConsoleServiceTemplate:
            metadata:
              labels:
                key: value
            spec:
              type: LoadBalancer
          adminConsoleServices: # DEPRECATED
          - data
          adminConsoleServiceType: LoadBalancer # DEPRECATED
          exposedFeatureServiceTemplate:
            metadata:
              labels:
                key: value
            spec:
              type: LoadBalancer
          exposedFeatureServiceType: LoadBalancer # DEPRECATED
          exposedFeatureTrafficPolicy: Local # DEPRECATED
          serviceAnnotations: # DEPRECATED
            my-annotation: my-value
          loadBalancerSourceRanges: # DEPRECATED
          - "10.0.0.0/8"
          networkPlatform: Istio
          dns:
            domain: couchbase-0.us-east-1.example.com
          tls:
            static:
              serverSecret: couchbase-server-tls
              operatorSecret: couchbase-operator-tls
            clientCertificatePolicy: mandatory
            clientCertificatePaths:
            - path: san.email
              prefix: ""
              delimiter: "@"
            nodeToNodeEncryption: All
      

      The previous doc has the following:

        networking:
          exposeAdminConsole: true
          adminConsoleServices:
          - data
          adminConsoleServiceType: LoadBalancer
          exposedFeatures:
          - xdcr
      

      Attachments

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

        Activity

          People

            justin.ashworth Justin Ashworth
            tin.tran Tin Tran (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty