/xxxxx/node_modules/couchbase/lib/bucket.js:206
this._cb = new CBpp(bucketDsn, bucketUser, bucketPass);
^
Waiting for the debugger to disconnect...
CouchbaseError
The nodejs sdk code
var couchbase = require('couchbase');
var cluster = new couchbase.Cluster('https://console.wayship.io:18091', {
// expiry: 30000,
});
// For Couchbase > 4.5 with RBAC Auth
cluster.authenticate('wayship', 'wayship');
var bucket = cluster.openBucket('wayshipdev');
let n1ql = couchbase.N1qlQuery;
// let req = bucket.query(n1ql.fromString(`INSERT INTO wayship (KEY, VALUE) VALUES ($1, $2)`, ['test', 'asdfa']));
// req.on('data', function() {
// debugger;
// })
// req.on('error', function() {
// debugger;
// })
// bucket.insert('shd', 'asdf', function(err, data) {
// console.log(data);
// })
bucket.upsert('testdoc', {name:'Frank'}, function(err, result) {
if (err) throw err;
bucket.get('testdoc', function(err, result) {
if (err) throw err;
console.log(result.value);
// {name: Frank}
});
});
For context, when you expose the admin console (spec.networking.exposeAdminConsole, with spec.networking.adminConsoleType: LoadBalancer) the Operator should annotate the service couchbasecluster-ui in the deployment namespace with a DNS name label. Ensure the service is up, has an IP address allocated and that whatever you are using to push that address into DDNS is picking it up.
Yes I observe, Route53 is not pushing console.wayship.io to DDNS.
Neither the couchbasecluster-ui is assigned public ip.
Not Sure where i’m doing wrong.
This is how my cluster yaml looks like
i have a similar issue, did this ever get resolved?
I have adminConsoleServiceTemplate exposed with LoadBalancer, and dns defined, and exposedFeatures set to client, I get the service/-ui service created with external ip address defined (metallb on-prem), but only the 18091 port expose…