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

Expose index/view NodePort service on data pods

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.2.1
    • 2.2.0
    • operator, testing
    • None
    • 1

    Description

      The data service only pods are not exposing NodePorts for the view service on 8092.
      test.yaml

      This creates two pods, one for data and one for index. Only the index pod exposes a NodePort service for 8092.
       
      kubectl get svc
      cb-example-0000                       NodePort    10.96.83.144    <none>  8091:31447/TCP,18091:31343/TCP,11210:31937/TCP,11207:32437/TCP
      cb-example-0001                       NodePort    10.96.208.44    <none>  8091:32601/TCP,18091:32422/TCP,11210:32747/TCP,11207:31558/TCP,8092:30492/TCP,18092:32543/TCP

      kubectl describe pod cb-example-0000  

      Name:         cb-example-0000

      ...

      Labels:       app=couchbase

                    couchbase_cluster=cb-example

                    couchbase_node=cb-example-0000

                    couchbase_node_conf=data

                    couchbase_server=true

                    couchbase_service_data=enabled

       

      Attachments

        1. ViewsSDK.py
          1 kB
        2. test.yaml
          0.8 kB

        Issue Links

          Activity

            People

              prateek.kumar Prateek Kumar (Inactive)
              patrick.stephens Patrick Stephens (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty