Can anyone help me with configuring External-DNS for my Kubernetes deployment on Azure AKS ? I’m still new to many aspects of k8s.
My requirement is to give clients access to Sync Gateway and use Couchbase Connector from outside the Azure k8s cluster.
Has anyone actually accomplished this or is there a better way?
I am able to deploy a Couchbase Operator and server cluster with LoadBalancer but it gets stuck after adding the pods/members- probably waiting for the DNS names to be available, which never happens, so the operator never finishes configuring buckets and adding nodes to the cluster.
After it times out I get this error:
time="2020-04-06T17:25:06Z" level=error msg="failed to reconcile: context deadline exceeded: Connection error - dial tcp: lookup cb-cluster-eus2-0002.cb-cluster-eus2.xx-couchbase.com on 188.8.131.52:53: no such host" cluster-name=cb-cluster-eus2 module=cluster
Seemingly a DNS issue and hinting at my failed External-DNS deplyment? (no clue). “xx-couchbase.com” is a made up domain at the moment as I only need internal Vnet access from the connector initially.
I found a tiny mention in the docs that the user is responsible for setting up External-dns but doesnt give any example of an applicable deployment that works with couchbase and all of its ports and services.
I tried following the generic docs on Github here for deploying external-dns and, uselessly, nginx ingress on port 80. The external-dns deployment failed to create the service with this error:
Warning FailedCreate 9m39s (x618 over 6d19h) replicaset-controller Error creating: pods "external-dns-6c84ccc6bf-" is forbidden: error looking up service account default/external-dns: serviceaccount "external-dns" not found
Any ideas? Can anyone share a YAML and maybe some steps?
My setup - Couchbase 6.5, Autonomous Operator 1.2, Azure AKS on 1.15.10