I have installed Dgraph on our development EKS cluster using this manifest as recommended for the setup -
The only change I did is expose each service as separate internal ELBs via Kustomize
For Ratel -
---
apiVersion: v1
kind: Service
metadata:
name: dgraph-ratel-public
annotations:
external-dns.alpha.kubernetes.io/hostname: dev-eks-dgraph-ratel-mt-c01.domain.example.com
service.beta.kubernetes.io/aws-load-balancer-internal: 0.0.0.0/0
service.beta.kubernetes.io/aws-load-balancer-ssl-cert: <cert-arn>
service.beta.kubernetes.io/aws-load-balancer-additional-resource-tags: "Environment=dev,EKS=true"
spec:
type: LoadBalancer
loadBalancerSourceRanges:
- <dev-private-subnet> # dev
ports:
- port: 8000
targetPort: 8000
name: ratel-default
- port: 80
targetPort: 8000
name: ratel-http
- port: 443
targetPort: 8000
name: ratel-https
The problem is Ratel UI fails to connect to the dgraph cluster.
I have tried using the alpha endpoint as well as the ratel endpoint. Where am I going wrong?