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
Issue Links
Activity
Field | Original Value | New Value |
---|---|---|
Attachment | test.yaml [ 149125 ] | |
Description |
The data service only pods are not exposing NodePorts for the index/view service on 8092.
_apiVersion: couchbase.com/v2_ _kind: CouchbaseBucket_ _metadata:_ _name: default_ _---_ _apiVersion: couchbase.com/v2_ _kind: CouchbaseCluster_ _metadata:_ _name: cb-example_ _spec:_ _image: couchbase/server:6.6.2_ _security:_ _adminSecret: cb-example-auth_ _rbac:_ _managed: true_ _networking:_ _exposeAdminConsole: true_ _adminConsoleServiceTemplate:_ _spec:_ _type: NodePort_ _exposedFeatures:_ _- xdcr_ _exposedFeatureServiceTemplate:_ _spec:_ _type: NodePort_ _buckets:_ _managed: true_ _servers:_ _- size: 1_ _name: data_ _services:_ _- data_ _- size: 1_ _name: index_ _services:_ _- index_ 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,8*092: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*_ |
The data service only pods are not exposing NodePorts for the index/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,8*092: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*_ |
Affects Version/s | 2.2.0 [ 17035 ] |
Description |
The data service only pods are not exposing NodePorts for the index/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,8*092: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*_ |
The data service only pods are not exposing NodePorts for the index/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*_ |
Description |
The data service only pods are not exposing NodePorts for the index/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*_ |
The data service only pods are not exposing NodePorts for the index/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*_ |
Link | This issue causes CBSE-10397 [ CBSE-10397 ] |
Link | This issue blocks CBSE-10397 [ CBSE-10397 ] |
Description |
The data service only pods are not exposing NodePorts for the index/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*_ |
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*_ |
Link | This issue causes CBSE-10397 [ CBSE-10397 ] |
Assignee | Simon Murray [ simon.murray ] | Prateek Kumar [ prateek.kumar ] |
Comment |
[ Do we need to pass this 9102 port to the REST API for CB Server like we have to for the others as an alternate address? On the `/node/controller/setupAlternateAddresses/external`
It looks like we do here: [https://docs.couchbase.com/server/current/rest-api/rest-set-up-alternate-address.html#list-alternate-addresses-and-port-numbers] ] |
Comment | [ Index only service pods should not expose 8092 ] |
Comment |
[ Hi [~prateek.kumar]
Will this fixed be included in 2.2.1 release? Or a different release? Thank you Patrick. ] |
Fix Version/s | 2.2.1 [ 17700 ] |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |
Comment | [ 9102 is a completely new port to expose by the looks of it. It's not available at all on NodePort services (affects Istio too) although it is on the pods and cluster IP ones. ] |
Link | This issue blocks K8S-2276 [ K8S-2276 ] |
Attachment | ViewsSDK.py [ 151573 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |